Scripts to chart data from tado hardware.
This repo contains scripts to chart data from tado hardware. See this example chart.
NOTE: this software is not official, and makes use of (currently) undocumented APIs.
bin/private.py
frombin/private.py.sample
, ignoring the databasedocker-compose up
By default, data is collected every minute and plots are generated in the
output
folder every five minutes (see crontab
), with default
database settings provided by db.env
.
NOTE: after an update, or when modifying files like private.py
, first run
docker-compose build
to rebuild the image and include the modified files
before starting the container again.
Set-up:
install python3
as well as all required packages as listed in
requirements.txt
. Use a virtual environment for
convenience:
$ virtualenv --python=python3 env
$ . env/bin/activate
$ pip install -r $THIS_REPO/requirements.txt
install and configure MySQL, creating a user and granting it permissions on a database.
create bin/private.py
from
bin/private.py.sample
.
Usage:
. env/bin/activate
or use the python
bin
subfolder of the environment.collect.py
every minute or so to gather information for each zoneplot.py
to generate a chart for today's state of each zone