Skip to content

Davrosx/node-red-contrib-tado-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tado Web API Node with shared config

Note: From v0.9.0 onward this node requires at least nodejs v12 due to using async functions.

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
  • timetableId

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

 
 
 

Languages

  • HTML 77.7%
  • JavaScript 22.3%