This is a Node.js client for the Tado smart thermostat web API. It offers a promise-based API.
Please be aware that this client simply mocks the behaviour of the Tado Web-App. This means that it could stop working due to implemented restrictions by Tado at any time.
Before you can access any API methods, you must perform a login, using your Tado username and password:
;let client = ;client;
This method handles all API calls. Currently, only GET requests without any parameters are supported – hence this client is only useful for querying data, not for adjusting settings or anything like that.
There are a few convenience methods:
.api('/me'). Queries data about the logged in user.
.api('/homes/' + homeId).
.api('/homes/' + homeId + '/zones'). Lists available zones.
.api('/homes/' + homeId + '/weather'). Fetches current weather data for the location of the given home.
.api('/homes/' + homeId + '/zones/' + zoneId + '/state'). Fetches current metrics.