A simple Python script to automatically set a Tado system to Home/Away based on the geolocation of devices connected to the Tado account.
A log file log.txt
will be created to track when a device changes state and when the Tado system is set to Home/Away.
- Poetry >=1.6.1
- Python >=3.8.1
poetry install
docker build -t tado-geolocation .
docker run -d --name tado tado-geolocation -u $TADO_USERNAME -p $TADO_PASSWORD
poetry run python main.py -u $TADO_USERNAME -p $TADO_PASSWORD