Python script in Docker to create a plotly chart from daily electricity meter reads
658
Uses the python_smartmetertx (github.com/cmulk/python_smartmetertx) api and plotly to build a simple electricity usage chart suitable to be embedded in a HomeAssistant iframe.
Required:
Optional:
docker build -t smartmetertx_chartmaker:local .
or
docker build -t smartmetertx_chartmaker:local https://github.com/cmulk/smartmetertx_chartmaker.git
docker run -it --rm -e 'USER=<your_username>' -e 'PASS=<your_password>' -e 'ESIID=<your_esiid>' -v <output_dir>:/out smartmetertx_chartmaker:local
HTML file will be saved as <output_dir>/daily_reads.html by default.
Content type
Image
Digest
Size
82.2 MB
Last updated
almost 6 years ago
docker pull cmulk/smartmetertx_chartmaker