Tado-client input node

Hi, I have a question. How can I know how to pass the correct payload for setting correctly the request?

The node is this:

Thank's

Have you read the README?

If you don’t think that is clear it is probably not just you that didn’t understand it. So it would be worth following a link from the nodes page on flows.nodered.org to the sites github page and open an issue there. This way the author is guaranteed to see it and hopefully the ReadMe can be improved to make it easier to understand.

Thank you.

I solved the problem:
you do not need to use msg.payload, but only msg

{
msg.apiCall: "setZoneOverlay"
msg.homeId: "308708"
msg.zoneId: "1"
msg.power: "on"
msg.temperature: "22"
}

Hi Folgore, do you by chance have an example of this? I'm struggling to get it to work for me.

Hi Brew, this is my configuration...but I have the old version of tado node. In my configuration home I have not set a command for now. But I have tried with a previous message.

[{"id":"4f86b9e6.3d5bf8","type":"debug","z":"c52a24ca.8c7ec8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":810,"y":2680,"wires":[]},{"id":"520a6ab4.c89254","type":"inject","z":"c52a24ca.8c7ec8","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":240,"y":2680,"wires":[["7198479d.c92108"]]},{"id":"86394f37.e4ec1","type":"inject","z":"c52a24ca.8c7ec8","name":"","topic":"","payload":"","payloadType":"date","repeat":"1800","crontab":"","once":false,"onceDelay":0.1,"x":250,"y":2740,"wires":[["af91c877.9dded8"]]},{"id":"fabed45d.2078e8","type":"change","z":"c52a24ca.8c7ec8","name":"SolarIntensity","rules":[{"t":"set","p":"TadoSolarIntensity","pt":"global","to":"payload.solarIntensity.percentage","tot":"msg"},{"t":"set","p":"payload","pt":"msg","to":"payload.solarIntensity.percentage","tot":"msg"},{"t":"set","p":"topic","pt":"msg","to":"TadoSolarIntensity","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":620,"y":2740,"wires":[["4f86b9e6.3d5bf8"]]},{"id":"1148eef3.2b87b1","type":"change","z":"c52a24ca.8c7ec8","name":"outsideTemp","rules":[{"t":"set","p":"TadooutsideTemp","pt":"global","to":"payload.outsideTemperature.celsius","tot":"msg"},{"t":"set","p":"payload","pt":"msg","to":"payload.outsideTemperature.celsius","tot":"msg"},{"t":"set","p":"topic","pt":"msg","to":"TadooutsideTemp","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":2780,"wires":[[]]},{"id":"c8432fde.c1461","type":"change","z":"c52a24ca.8c7ec8","name":"TadoweatherState","rules":[{"t":"set","p":"TadoweatherState","pt":"global","to":"payload.weatherState.value","tot":"msg"},{"t":"set","p":"payload","pt":"msg","to":"payload.weatherState.value","tot":"msg"},{"t":"set","p":"topic","pt":"msg","to":"TadoweatherState","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":630,"y":2820,"wires":[[]]},{"id":"bc691569.b980c8","type":"inject","z":"c52a24ca.8c7ec8","name":"","topic":"","payload":"TadoSolarIntensity","payloadType":"global","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":590,"y":2640,"wires":[["4f86b9e6.3d5bf8"]]},{"id":"a3187fd4.39385","type":"inject","z":"c52a24ca.8c7ec8","name":"","topic":"","payload":"","payloadType":"date","repeat":"60","crontab":"","once":false,"onceDelay":0.1,"x":250,"y":2960,"wires":[["e9a14c6f.67b8"]]},{"id":"621e3cfb.7c9564","type":"debug","z":"c52a24ca.8c7ec8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":770,"y":2960,"wires":[]},{"id":"5aaa3937.fd8ac8","type":"comment","z":"c52a24ca.8c7ec8","name":"Meteo","info":"","x":470,"y":2600,"wires":[]},{"id":"e5af7dba.5118f","type":"comment","z":"c52a24ca.8c7ec8","name":"User","info":"","x":470,"y":2900,"wires":[]},{"id":"7198479d.c92108","type":"tado","z":"c52a24ca.8c7ec8","configName":"47819924.0fb9b8","apiCall":"getMe","homeId":"","deviceId":"","zoneId":"","power":"on","temperature":"18","terminationType":"manual","terminationTimeout":900,"name":"","x":420,"y":2680,"wires":[["4f86b9e6.3d5bf8"]]},{"id":"af91c877.9dded8","type":"tado","z":"c52a24ca.8c7ec8","configName":"47819924.0fb9b8","apiCall":"getWeather","homeId":"","deviceId":"","zoneId":"","power":"on","temperature":"18","terminationType":"manual","terminationTimeout":900,"name":"","reportDate":"","temperatureOffset":"","x":430,"y":2740,"wires":[["fabed45d.2078e8","1148eef3.2b87b1","c8432fde.c1461","4f86b9e6.3d5bf8"]]},{"id":"e9a14c6f.67b8","type":"tado","z":"c52a24ca.8c7ec8","configName":"47819924.0fb9b8","apiCall":"getMobileDevices","homeId":"","deviceId":"","zoneId":"","power":"on","temperature":"18","terminationType":"manual","terminationTimeout":900,"name":"","reportDate":"","temperatureOffset":"","x":430,"y":2960,"wires":[["621e3cfb.7c9564","7ac871.7cf6879","a0a5d599.de3c18","2849f9c4.5d2416","ee5fbfc4.6d297"]]},{"id":"27fc54c4.71eb9c","type":"inject","z":"c52a24ca.8c7ec8","name":"","topic":"","payload":"","payloadType":"date","repeat":"60","crontab":"","once":false,"onceDelay":0.1,"x":250,"y":3360,"wires":[["edb0aeaa.622c9"]]},{"id":"9f6b48a2.cd0308","type":"debug","z":"c52a24ca.8c7ec8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":790,"y":3360,"wires":[]},{"id":"edb0aeaa.622c9","type":"tado","z":"c52a24ca.8c7ec8","configName":"47819924.0fb9b8","apiCall":"getZoneState","homeId":"","deviceId":"","zoneId":"1","power":"on","temperature":"18","terminationType":"manual","terminationTimeout":900,"name":"","reportDate":"","temperatureOffset":"","x":424,"y":3358.7999877929688,"wires":[["9f6b48a2.cd0308","682f8659.c9fa48","1d4cc20b.4fea3e","944d3d5f.c296d","cf20a384.dfad5","2d9d187f.628e08","2f82afed.d6986","9544d299.3911a","323a2aa4.8dabe6","7c90b511.1e519c"]]},{"id":"243b84ae.9c7c5c","type":"comment","z":"c52a24ca.8c7ec8","name":"Soggiorno","info":"","x":480,"y":3300,"wires":[]},{"id":"2849f9c4.5d2416","type":"change","z":"c52a24ca.8c7ec8","name":"Dario_archivio","rules":[{"t":"set","p":"topic","pt":"msg","to":"Dario_home","tot":"str"},{"t":"set","p":"payload","pt":"msg","to":"payload[0].location.atHome","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":620,"y":3000,"wires":[[]]},{"id":"ee5fbfc4.6d297","type":"change","z":"c52a24ca.8c7ec8","name":"Occupancy","rules":[{"t":"set","p":"Dario_home","pt":"global","to":"payload[0].location.atHome","tot":"msg"},{"t":"set","p":"Faby_home","pt":"global","to":"payload[1].location.atHome","tot":"msg"},{"t":"set","p":"Dario_Distance","pt":"global","to":"payload[0].location.relativeDistanceFromHomeFence","tot":"msg"},{"t":"set","p":"Faby_Distance","pt":"global","to":"payload[1].location.relativeDistanceFromHomeFence","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":3180,"wires":[[]]},{"id":"a0a5d599.de3c18","type":"change","z":"c52a24ca.8c7ec8","name":"Dario_archivio","rules":[{"t":"set","p":"topic","pt":"msg","to":"Dario_Distance","tot":"str"},{"t":"set","p":"payload","pt":"msg","to":"payload[0].location.relativeDistanceFromHomeFence","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":620,"y":3040,"wires":[[]]},{"id":"682f8659.c9fa48","type":"change","z":"c52a24ca.8c7ec8","name":"Soggiorno","rules":[{"t":"set","p":"Tado_soggiorno_power","pt":"global","to":"payload.setting.power","tot":"msg"},{"t":"set","p":"Tado_soggiorno_sp","pt":"global","to":"payload.setting.temperature.celsius","tot":"msg"},{"t":"set","p":"Tado_soggiorno_overlaytype","pt":"global","to":"payload.overlayType","tot":"msg"},{"t":"set","p":"Tado_soggiorno_wd","pt":"global","to":"payload.link.state","tot":"msg"},{"t":"set","p":"Tado_soggiorno_outpid","pt":"global","to":"payload.activityDataPoints.heatingPower.percentage","tot":"msg"},{"t":"set","p":"Tado_soggiorno_T","pt":"global","to":"payload.sensorDataPoints.insideTemperature.celsius","tot":"msg"},{"t":"set","p":"Tado_soggiorno_H","pt":"global","to":"payload.sensorDataPoints.humidity.percentage","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":590,"y":3760,"wires":[[]]},{"id":"1d4cc20b.4fea3e","type":"change","z":"c52a24ca.8c7ec8","name":"Soggiorno_archivio","rules":[{"t":"set","p":"topic","pt":"msg","to":"Tado_soggiorno_mode","tot":"str"},{"t":"set","p":"payload","pt":"msg","to":"payload.tadoMode","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":3420,"wires":[[]]},{"id":"944d3d5f.c296d","type":"change","z":"c52a24ca.8c7ec8","name":"Soggiorno_archivio","rules":[{"t":"set","p":"topic","pt":"msg","to":"Tado_soggiorno_pw","tot":"str"},{"t":"set","p":"payload","pt":"msg","to":"payload.setting.power","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":3460,"wires":[[]]},{"id":"cf20a384.dfad5","type":"change","z":"c52a24ca.8c7ec8","name":"Soggiorno_archivio","rules":[{"t":"set","p":"topic","pt":"msg","to":"Tado_soggiorno_setting_sp","tot":"str"},{"t":"set","p":"payload","pt":"msg","to":"payload.setting.temperature.celsius","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":3500,"wires":[[]]},{"id":"2d9d187f.628e08","type":"change","z":"c52a24ca.8c7ec8","name":"Soggiorno_archivio","rules":[{"t":"set","p":"topic","pt":"msg","to":"Tado_soggiorno_overlayType","tot":"str"},{"t":"set","p":"payload","pt":"msg","to":"payload.overlayType","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":3540,"wires":[[]]},{"id":"2f82afed.d6986","type":"change","z":"c52a24ca.8c7ec8","name":"Soggiorno_archivio","rules":[{"t":"set","p":"topic","pt":"msg","to":"Tado_soggiorno_wd","tot":"str"},{"t":"set","p":"payload","pt":"msg","to":"payload.link.state","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":3580,"wires":[[]]},{"id":"9544d299.3911a","type":"change","z":"c52a24ca.8c7ec8","name":"Soggiorno_archivio","rules":[{"t":"set","p":"topic","pt":"msg","to":"Tado_soggiorno_outpid","tot":"str"},{"t":"set","p":"payload","pt":"msg","to":"payload.activityDataPoints.heatingPower.percentage","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":3620,"wires":[[]]},{"id":"323a2aa4.8dabe6","type":"change","z":"c52a24ca.8c7ec8","name":"Soggiorno_archivio","rules":[{"t":"set","p":"topic","pt":"msg","to":"Tado_soggiorno_T","tot":"str"},{"t":"set","p":"payload","pt":"msg","to":"payload.sensorDataPoints.insideTemperature.celsius","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":3660,"wires":[[]]},{"id":"7c90b511.1e519c","type":"change","z":"c52a24ca.8c7ec8","name":"Soggiorno_archivio","rules":[{"t":"set","p":"topic","pt":"msg","to":"Tado_soggiorno_H","tot":"str"},{"t":"set","p":"payload","pt":"msg","to":"payload.sensorDataPoints.humidity.percentage","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":3700,"wires":[[]]},{"id":"7ac871.7cf6879","type":"switch","z":"c52a24ca.8c7ec8","name":"","property":"payload[0].location.atHome","propertyType":"msg","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":410,"y":3040,"wires":[[],[]]},{"id":"47819924.0fb9b8","type":"tado-config","z":"","name":""}]

You must set a user account of tado...and the Home ID.

Excellent thank you I'll give that a go

Where do you find your home ID?

You must set in API Call, "Get the current user", if you put a debug node on the output, you receive the json object with a home Id, the user...etc

1 Like

Folgore you absolute legend, I have been banging my head against this for some time and now I'm away thank you so very much!

Hello Guys, i am struggling hard getting an input to Tado AC controller.

Everything is fine, i can query zone overlay and other.. but i can't get input working! Only input works is turn off the power but then i get http error when trying inputing back on.

Any can support me? How the message should be sent to the Tado node?