Skip to content

586837r/node-red-contrib-tado-client

This branch is 88 commits behind mattdavis90/node-red-contrib-tado-client:master.

Repository files navigation

Tado Web API Node with shared config

A Node-RED node with the shared configuration that lets you connect to the Tado Web API.

Please note: The library used by this node is derived from reverse engineering the Tado Web API and hence may be unstable.

Install

Run the following command in the root directory of your Node-RED install or home directory (usually ~/.node-red) and will also install needed libraries.

npm install node-red-contrib-tado-client

Usage

First, create a Tado Config node and enter your Tado username and password. This node connects to the Tado Web API and gets an OAuth2 token for further transactions.

You can create multiple Tado nodes, each of which interacts with a single end-point on the Tado API.

The node is triggered by each message on the input, regardless of content. This allows creating flows using other Nodes to trigger the API. If the message on the input contains any of the following fields then they will ovewrite the properties on the node.

  • homeId
  • zoneId
  • deviceId
  • power
  • reportDate
  • temperature
  • terminationType
  • terminationTimeout
  • presence

The response from the Tado API is represented in msg.payload and the generating API call is msg.topic.

Credits

This node is based on the work of SCPhillips

About

Tado web API client node for Node Red

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 53.1%
  • HTML 46.9%