LidGroSyncer
Easily integrate your Lidl receipts into Grocy
Install / Use
/learn @vorostamas/LidGroSyncerREADME
This software is unofficial and is not related in any way to Lidl or Grocy. It is using lidl-plus requests and can stop working at anytime!
LidGroSyncer
Easily integrate your Lidl receipts into Grocy
This script will:
- Run through all your receipts and process the starred ones
- Check each item's barcode in Grocy:
- If the product exists in Grocy it will purchase the given quantity of the product
- If the product doesn't exist it will create the product in Grocy and add the barcode for it.
- Run periodically, the interval can be set in the settings.
Usage
-
Install requirements:
pip install -r requirements.txt -
Fill the settings in
settings_example.pyand rename it tosettings.py. More info on obtaining Lidl-Plus refresh token: https://github.com/Andre0512/lidl-plus#commandline-tool. To get the IDs from Grocy, you can go toSettings->REST API browserand query theGET /objects/{entity}withlocationsorquantity_unitsselected as entity. -
Open Lidl-Plus app, find the digital receipts that you want processed and star them. (Make sure they are on the "Starred" tab.)
-
Run
lidgrosyncer.py
Docker
If you want to run it in Docker:
docker-compose up
