skillfed

python-tado

PyTado from chrism0dwk, modified by w.malgadey, diplix, michaelarnauts, LenhartStephan, splifter, syssi, andersonshatch, Yippy, p0thi, Coffee2CodeNL, chiefdragon, FilBr, nikilase, albertomontesg, Moritz-Schmidt, palazzem

python-tado v0.19.2 76.8K downloads/30d#14,588 on PyPI107
Copyleft license GPL-3.0-or-later Active released

What it is and what it does

python-tado is a Python wrapper around the Tado heating system API that lets you read and control your smart thermostat beyond what Tado's official app provides. It handles the OAuth2 device-flow authentication (as of March 2025) and manages token refresh automatically. The package depends only on requests and is designed for developers who want to build custom automation, monitoring, or integration layers on top of their Tado heating setup.

The library exposes methods to check device activation status, retrieve zones, and interact with the heating system. It supports token persistence so you don't have to re-authenticate on every run. The project is actively maintained, supports modern Python versions (3.11 or later), and has no known security vulnerabilities. It's classified as Beta and intended for developers comfortable with experimental software.

Use it for:

  • Build a custom home automation dashboard that pulls live heating data and displays it alongside other smart home metrics
  • Create heating optimization logic that adjusts temperatures based on occupancy, weather, or time-of-day patterns
  • Integrate heating control into a broader home assistant setup or third-party smart home platform
  • Monitor heating system performance over time and generate reports on energy usage and comfort patterns
  • Trigger heating adjustments from external events like door sensors or outdoor temperature changes

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

PyTado provides a Python interface to the Tado web API, allowing you to monitor and control your Tado heating system programmatically beyond the official app's capabilities.

Yes, if you own a Tado system and want programmatic control or integration with custom automation. The package is actively maintained, has low install friction, and carries no security vulnerabilities. The GPL-3.0-or-later license is a blocker only if you need to use it in a proprietary application. The device-flow authentication adds a one-time setup step but is well-documented.

Install

python-tado on PyPI

pip

pip install python-tado

uv

uv add python-tado

poetry

poetry add python-tado

Installing python-tado

Before you install

Low install friction with a single runtime dependency (requests). The project is actively maintained with recent commits and a stable release history since 2017. Requires Python 3.11 or later.

License in practice

Licensed under GPL-3.0-or-later (copyleft). Any application using this package must also be distributed under a compatible open-source license; proprietary or closed-source projects cannot use it without relicensing.

Quickstart

pip install python-tado

from python_tado.interface.interface import Tado

tado = Tado(token_file_path="/var/tado/refresh_token")
if tado.device_activation_status() == "PENDING":
    tado.device_activation()
zones = tado.get_zones()
print(zones)

Tado OAuth2 device-flow authentication requires browser access and manual code entry during initial setup. Requires Python 3.11 or later.

Verify before relying

  • Whether the package supports Tado systems outside specific regions or hardware generations
  • Rate limits or throttling behavior when polling the Tado API
  • Whether token refresh happens transparently or requires manual intervention in long-running applications

Package facts

License GPL-3.0-or-later (copyleft)
Python support supports the current Python release (>=3.11)
Install friction low — pure-Python wheel
Runtime dependencies 1 — requests
Maintenance actively maintained — 498 days since the last release
Last repo commit
First released
Downloads 76,842/month — #14,588 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: python_tado-0.19.2-py3-none-any.whl

Keywords: tado

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: GNU General Public License v3 (GPLv3)License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)Natural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Home Automation

Tags

tado heating api pythonsmart thermostat controlhome heating automationtado device integrationheating system monitoringiot heating controltado api wrapper
home-automationiot-integrationheating-control

More Home Automation packages