Simple python3 script that outputs JSON with energy meter data from Tauron eLicznik service
- Add login info and energy meter ID into script
- Run with
python3 elicznik.py
- Get JSON output with energy meter data from last day
Energy meter ID can be obtained from https://elicznik.tauron-dystrybucja.pl/ website under "Punkt poboru:" field.
Script is currently tested only with G11 tariff.
Optionally you can save JSON as file - just uncomment 2 last lines.
You can change dane[chartDay] to get data from another day (not only the last one).
If JSON should not contain energy produced from solar panels, please comment the "dane[checkOZE]": "on".
Enjoy :)