Tado Heating

Hi,

I am looking to do something with my Tado heating and node red. looking for any suggestions , examples , help.

I would like to remove all schedules from the Tado app and keep everything within HA and Node Red.

Monday to Friday i dont want to heat any rooms with the exception of my office between 8AM and 5PM. I have a input boolean that i toggle to switch my office equipment on before i start work. So maybe if that is on then it heats my office.

My Mrs works from home one day a week and she also has a input boolean to turn her office equipment on and if thats on then it needs to heat her room.

I think i could start on that to begin with.

Can i create a schedule in node red for Tado?

sure, I use this integration

I’m pretty sure you can do everything you described and much more.

Are you able to share an example flow at all? Seeing how it supposed to work really helps.

Thank you. I was hoping to see an example of one end of the flow to the other. I have setup up and if i use inject one side and debug the other i can return info like mobile devices etc. what are you using to the left of the tado node? Is it just inject nodes or something else. just trying to get my head around how this is supposed to work. The online node red documentation i wish gave an example flow.

I bet you won’t like it… It’s irrelevant what’s on the left side of my flow, all you need to know is in that picture. I’m not injecting anything to the node, the Tado node contains all it’s needed.

1 Like

eeeeeek yeah it dont make it any clearer hahah.

Jesus i just want to turn the heating on in rooms when the temp is below x degrees and turn off when its reached. I think if i can work that out i will understand this more

Your turn on and off Tado. Would you mind showing a screen shot of that please?

Of if you could share your flow that would be even better. PM if thats easier and you dont want the world to see it. I think i could learn loads from your flow and parts of it seem to be what i am looking to do

Why not just set the Tado to that temp and let him do the rest? By doing what you want you are turning your smart thermostat into a silly one.

There’s not much documentation, I got information from github’s issues and other peoples examples.

There you go, you must set your own homeID.

image

[{"id":"d1402d33.000d5","type":"tado","z":"3b97c4b3.afa27c","configName":"f99b760a.3e29d8","apiCall":"setZoneOverlay","homeId":"","deviceId":"RU2010126080","zoneId":"2","power":"on","temperature":"","terminationType":"manual","terminationTimeout":900,"fanSpeed":"AUTO","acMode":"AUTO","name":"Tado on","reportDate":"","presence":"HOME","geoTracking":true,"temperatureOffset":0,"windowDetection":true,"windowDetectionTimeout":900,"openWindowMode":true,"timetableId":"","x":2380,"y":420,"wires":[[]]},{"id":"e66b329c.d82b5","type":"tado","z":"3b97c4b3.afa27c","configName":"f99b760a.3e29d8","apiCall":"setZoneOverlay","homeId":"","deviceId":"RU2010126080","zoneId":"2","power":"off","temperature":"","terminationType":"manual","terminationTimeout":900,"fanSpeed":"AUTO","acMode":"AUTO","name":"Tado off","reportDate":"","presence":"HOME","geoTracking":true,"temperatureOffset":0,"windowDetection":true,"windowDetectionTimeout":900,"openWindowMode":true,"timetableId":"","x":2380,"y":480,"wires":[[]]},{"id":"f99b760a.3e29d8","type":"tado-config","name":"Tado"}]

When you manage to get this working, come back if you need help building the flow.

Hi. I am finally getting back to trying to get this NodeRed Client working. I am trying to get my head around how to use it. I can query for my home ID etc

What i was trying to do was query for is anyone home. If i put the debug directly in the tado then it returns true. However i want to do stuff based on it being true or false. I could not see a way to do it and not sure a switch is the right way. However i see nothing no true or false with this method.

Any ideas?

Hi.

Ok I have been making some progress on this. What i am trying to work out is how to get the current room temperature from the. I can get this not using the Tado Client but as i am trying to use it i would like to keep it all together.

Any ideas? Picture of flow and JSON below.

[{"id":"4550de3bc12e6177","type":"tab","label":"Tado Downstairs","disabled":false,"info":"","env":[]},{"id":"d00b40d5a6a49e18","type":"group","z":"4550de3bc12e6177","name":"James Bedroom","style":{"stroke":"#ff0000","label":true},"nodes":["8823252d7482faf7","cbeed50f693067f7","0c48210ca8e6a03c","f0d90c12acfa7c2f","9680f56fdc410443","376437fc62d84e61","9d7b3ddffb498f03","b76a3817213da929","571eaf3b3d053386","43a56a3baad6b0ca","f88dd3a6ca5b9e25","fb525dd5933d035e","3f29de32434f3953","834d96483a3a29f3","2578aa9d64b9d9e2","78b75a0bfa3adc88","07c34f3e872ce71b","1da2d86b64d3e4e2","b200bf81563823cc"],"x":34,"y":19,"w":1392,"h":622},{"id":"8823252d7482faf7","type":"tado","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","configName":"5d86a70.fc3e658","apiCall":"isAnyoneAtHome","homeId":"406632","acMode":"AUTO","childlock":false,"deviceId":"","fanSpeed":"AUTO","geoTracking":true,"name":"","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","endDate":"","tariffId":"","tariffInCents":0,"temperature":"18","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"","x":630,"y":80,"wires":[["cbeed50f693067f7"]]},{"id":"cbeed50f693067f7","type":"switch","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"","property":"payload","propertyType":"msg","rules":[{"t":"false"},{"t":"true"}],"checkall":"true","repair":true,"outputs":2,"x":810,"y":80,"wires":[["f0d90c12acfa7c2f"],["9d7b3ddffb498f03"]]},{"id":"0c48210ca8e6a03c","type":"inject","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"60","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":430,"y":80,"wires":[["8823252d7482faf7"]]},{"id":"f0d90c12acfa7c2f","type":"tado","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","configName":"5d86a70.fc3e658","apiCall":"setZoneOverlay","homeId":"406632","acMode":"AUTO","childlock":false,"deviceId":"","fanSpeed":"AUTO","geoTracking":true,"name":"James Bedroom OFF","openWindowMode":true,"power":"off","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","endDate":"","tariffId":"","tariffInCents":0,"temperature":"18","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"6","x":1300,"y":60,"wires":[[]]},{"id":"9680f56fdc410443","type":"comment","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Open Window / Door","info":"","x":160,"y":160,"wires":[]},{"id":"376437fc62d84e61","type":"comment","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Craig - Lizzie - Home or Away","info":"","x":180,"y":80,"wires":[]},{"id":"9d7b3ddffb498f03","type":"api-current-state","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Open Window Detection","server":"813b6ee55c29f7d9","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"binary_sensor.bedroom_tuya_window_sensor_contact","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"2","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":450,"y":180,"wires":[["f0d90c12acfa7c2f"],["571eaf3b3d053386"]]},{"id":"b76a3817213da929","type":"comment","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Heating Boost","info":"","x":130,"y":280,"wires":[]},{"id":"571eaf3b3d053386","type":"api-current-state","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Input Boolean - Heating - Boost ON","server":"813b6ee55c29f7d9","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_boolean.tado_james_bedroom_heating_boost_on_off","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":490,"y":280,"wires":[["fb525dd5933d035e"],["b200bf81563823cc"]]},{"id":"43a56a3baad6b0ca","type":"trigger","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"60 Minute Timer","op1":"","op2":"off","op1type":"nul","op2type":"str","duration":"1","extend":false,"overrideDelay":false,"units":"hr","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":1000,"y":240,"wires":[["f0d90c12acfa7c2f","f88dd3a6ca5b9e25"]]},{"id":"f88dd3a6ca5b9e25","type":"api-call-service","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Input Boolean - Heating - Boost OFF","server":"813b6ee55c29f7d9","version":5,"debugenabled":false,"domain":"input_boolean","service":"turn_off","areaId":[],"deviceId":[],"entityId":["input_boolean.tado_james_bedroom_heating_boost_on_off"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1250,"y":240,"wires":[[]]},{"id":"fb525dd5933d035e","type":"tado","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","configName":"5d86a70.fc3e658","apiCall":"setZoneOverlay","homeId":"406632","acMode":"AUTO","childlock":false,"deviceId":"","fanSpeed":"AUTO","geoTracking":true,"name":"James Bedroom ON - 25C","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","endDate":"","tariffId":"","tariffInCents":0,"temperature":"25","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"6","x":780,"y":240,"wires":[["43a56a3baad6b0ca"]]},{"id":"3f29de32434f3953","type":"comment","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Daily Times","info":"","x":130,"y":540,"wires":[]},{"id":"834d96483a3a29f3","type":"within-time-switch","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Monday > Sunday - 5AM > 8AM","nameInt":"","positionConfig":"59b4ca7f1c4fe5f2","startTime":"05:00","startTimeType":"entered","startOffset":0,"startOffsetType":"none","startOffsetMultiplier":60000,"endTime":"08:00","endTimeType":"entered","endOffset":0,"endOffsetType":"none","endOffsetMultiplier":60000,"timeRestrictions":0,"timeRestrictionsType":"none","timeDays":"*","timeOnlyOddDays":false,"timeOnlyEvenDays":false,"timeOnlyOddWeeks":false,"timeOnlyEvenWeeks":false,"timeMonths":"*","timedatestart":"","timedateend":"","propertyStart":"","propertyStartType":"none","propertyStartCompare":"true","propertyStartThreshold":"","propertyStartThresholdType":"num","startTimeAlt":"","startTimeAltType":"entered","startOffsetAlt":0,"startOffsetAltType":"none","startOffsetAltMultiplier":60000,"propertyEnd":"","propertyEndType":"none","propertyEndCompare":"true","propertyEndThreshold":"","propertyEndThresholdType":"num","endTimeAlt":"","endTimeAltType":"entered","endOffsetAlt":0,"endOffsetAltType":"none","endOffsetAltMultiplier":60000,"withinTimeValue":"true","withinTimeValueType":"msgInput","outOfTimeValue":"false","outOfTimeValueType":"msgInput","tsCompare":"0","x":470,"y":540,"wires":[["78b75a0bfa3adc88"],["2578aa9d64b9d9e2"]]},{"id":"2578aa9d64b9d9e2","type":"within-time-switch","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Monday > Sundaty - 5PM > 10PM","nameInt":"","positionConfig":"59b4ca7f1c4fe5f2","startTime":"17:00","startTimeType":"entered","startOffset":0,"startOffsetType":"none","startOffsetMultiplier":60000,"endTime":"22:00","endTimeType":"entered","endOffset":0,"endOffsetType":"none","endOffsetMultiplier":60000,"timeRestrictions":0,"timeRestrictionsType":"none","timeDays":"*","timeOnlyOddDays":false,"timeOnlyEvenDays":false,"timeOnlyOddWeeks":false,"timeOnlyEvenWeeks":false,"timeMonths":"*","timedatestart":"","timedateend":"","propertyStart":"","propertyStartType":"none","propertyStartCompare":"true","propertyStartThreshold":"","propertyStartThresholdType":"num","startTimeAlt":"","startTimeAltType":"entered","startOffsetAlt":0,"startOffsetAltType":"none","startOffsetAltMultiplier":60000,"propertyEnd":"","propertyEndType":"none","propertyEndCompare":"true","propertyEndThreshold":"","propertyEndThresholdType":"num","endTimeAlt":"","endTimeAltType":"entered","endOffsetAlt":0,"endOffsetAltType":"none","endOffsetAltMultiplier":60000,"withinTimeValue":"true","withinTimeValueType":"msgInput","outOfTimeValue":"false","outOfTimeValueType":"msgInput","tsCompare":"0","x":480,"y":600,"wires":[["78b75a0bfa3adc88"],["f0d90c12acfa7c2f"]]},{"id":"78b75a0bfa3adc88","type":"tado","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","configName":"5d86a70.fc3e658","apiCall":"setZoneOverlay","homeId":"406632","acMode":"AUTO","childlock":false,"deviceId":"","fanSpeed":"AUTO","geoTracking":true,"name":"James Bedroom ON - 21C","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","endDate":"","tariffId":"","tariffInCents":0,"temperature":"21","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"6","x":860,"y":560,"wires":[[]]},{"id":"07c34f3e872ce71b","type":"api-current-state","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Room Temprature Source <= 19.5","server":"813b6ee55c29f7d9","version":3,"outputs":2,"halt_if":"19.5","halt_if_type":"num","halt_if_compare":"lte","entity_id":"sensor.james_bedroom_temperature_source_current_temperature","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":480,"y":440,"wires":[["834d96483a3a29f3"],[]]},{"id":"1da2d86b64d3e4e2","type":"comment","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Room Temp","info":"","x":130,"y":400,"wires":[]},{"id":"b200bf81563823cc","type":"api-current-state","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Room Temprature Source > 21","server":"813b6ee55c29f7d9","version":3,"outputs":2,"halt_if":"21","halt_if_type":"num","halt_if_compare":"gt","entity_id":"sensor.james_bedroom_temperature_source_current_temperature","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":470,"y":380,"wires":[["f0d90c12acfa7c2f"],["07c34f3e872ce71b"]]},{"id":"5d86a70.fc3e658","type":"tado-config","name":"Tado"},{"id":"813b6ee55c29f7d9","type":"server","name":"McHome Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30","areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":": ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"default","statusTimeFormat":"h:m","enableGlobalContextStore":false},{"id":"59b4ca7f1c4fe5f2","type":"position-config","name":"McHome Location","isValide":"true","angleType":"deg","timeZoneOffset":"99","timeZoneDST":"0","stateTimeFormat":"3","stateDateFormat":"12","contextStore":""}]