Hello,
J’ai un chauffage central avec plusieurs capteurs de température en Zwave, et un Shelly 1 pour la mise en route de la chaudière.
Je galère sur la programmation du Shelly.
Je souhaitais avoir un ON du Shelly quand toutes mes températures sont en dessous de la consigne, et inversement quand au dessus.
J’ai tenté de faire un logic boolean mais ça ne semble pas fonctionner tel que je voudrais…
Je ne sais pas si vous gerez également votre chauffage avec Node Red, si vous avez des idées je prends
Merci pour votre aide
Voici mon flow:
[{"id":"77dbed6d.40a914","type":"tab","label":"Flow 3","disabled":false,"info":""},{"id":"f56d3df0.fcc5a","type":"api-call-service","z":"77dbed6d.40a914","name":"set temp 20 Baptiste","server":"6e9ab457.5c170c","version":1,"debugenabled":true,"service_domain":"climate","service":"set_temperature","entityId":"climate.danfoss_popp_radiator_chambre_baptiste","data":"{\"temperature\":\"20\",\"target_temp_high\":\"26\",\"target_temp_low\":\"20\",\"hvac_mode\":\"heat\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1400,"y":560,"wires":[[]]},{"id":"37d39c76.c5da04","type":"api-call-service","z":"77dbed6d.40a914","name":"set temp 20 Naomie","server":"6e9ab457.5c170c","version":1,"debugenabled":true,"service_domain":"climate","service":"set_temperature","entityId":"climate.danfoss_popp_radiator_chambre_naomie","data":"{\"temperature\":\"20\",\"target_temp_high\":\"26\",\"target_temp_low\":\"20\",\"hvac_mode\":\"heat\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1400,"y":620,"wires":[[]]},{"id":"9afaaecf.82f0e","type":"api-call-service","z":"77dbed6d.40a914","name":"set temp 20 SDB","server":"6e9ab457.5c170c","version":1,"debugenabled":true,"service_domain":"climate","service":"set_temperature","entityId":"climate.danfoss_popp_radiator_salle_de_bain","data":"{\"temperature\":\"20\",\"target_temp_high\":\"26\",\"target_temp_low\":\"20\",\"hvac_mode\":\"heat\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1390,"y":680,"wires":[[]]},{"id":"d861482c.2ce168","type":"api-call-service","z":"77dbed6d.40a914","name":"set temp 20 Salon","server":"6e9ab457.5c170c","version":1,"debugenabled":true,"service_domain":"climate","service":"set_temperature","entityId":"climate.danfoss_popp_radiator_salon","data":"{\"temperature\":\"20\",\"target_temp_high\":\"26\",\"target_temp_low\":\"20\",\"hvac_mode\":\"heat\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1390,"y":740,"wires":[[]]},{"id":"c6da2395.befee","type":"api-call-service","z":"77dbed6d.40a914","name":"set temp 20 Salle à manger","server":"6e9ab457.5c170c","version":1,"debugenabled":true,"service_domain":"climate","service":"set_temperature","entityId":"climate.danfoss_popp_radiator_salle_a_manger","data":"{\"temperature\":\"20\",\"target_temp_high\":\"26\",\"target_temp_low\":\"20\",\"hvac_mode\":\"heat\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1420,"y":800,"wires":[[]]},{"id":"127c181a.7c7d78","type":"api-call-service","z":"77dbed6d.40a914","name":"set temp 20 Cuisine","server":"6e9ab457.5c170c","version":1,"debugenabled":true,"service_domain":"climate","service":"set_temperature","entityId":"climate.danfoss_popp_radiator_cuisine","data":"{\"temperature\":\"20\",\"target_temp_high\":\"26\",\"target_temp_low\":\"20\",\"hvac_mode\":\"heat\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1400,"y":860,"wires":[[]]},{"id":"2f657693.c5d2ba","type":"server-state-changed","z":"77dbed6d.40a914","name":"Chauffage jour paire","server":"6e9ab457.5c170c","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"calendar.chauffage_jour_paire","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"x":470,"y":40,"wires":[["ca7c9b6c.76a5e8","9db26eb7.4f426"],[]]},{"id":"e41fc0d6.8b2c7","type":"server-state-changed","z":"77dbed6d.40a914","name":"Chauffage nuit","server":"6e9ab457.5c170c","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"calendar.chauffage_nuit","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"x":380,"y":940,"wires":[["5864d8cc.43a518","f4552e04.0e1fa"],[]]},{"id":"2f2956b2.65b15a","type":"api-call-service","z":"77dbed6d.40a914","name":"set temp 18 Baptiste","server":"6e9ab457.5c170c","version":1,"debugenabled":true,"service_domain":"climate","service":"set_temperature","entityId":"climate.danfoss_popp_radiator_chambre_baptiste","data":"{\"temperature\":\"18\",\"target_temp_high\":\"26\",\"target_temp_low\":\"18\",\"hvac_mode\":\"heat\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1400,"y":920,"wires":[[]]},{"id":"ed61da48.b7cbf8","type":"api-call-service","z":"77dbed6d.40a914","name":"set temp 18 Naomie","server":"6e9ab457.5c170c","version":1,"debugenabled":true,"service_domain":"climate","service":"set_temperature","entityId":"climate.danfoss_popp_radiator_chambre_naomie","data":"{\"temperature\":\"18\",\"target_temp_high\":\"26\",\"target_temp_low\":\"18\",\"hvac_mode\":\"heat\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1400,"y":980,"wires":[[]]},{"id":"a7f7cf59.70e47","type":"api-call-service","z":"77dbed6d.40a914","name":"set temp 18 SDB","server":"6e9ab457.5c170c","version":1,"debugenabled":true,"service_domain":"climate","service":"set_temperature","entityId":"climate.danfoss_popp_radiator_salle_de_bain","data":"{\"temperature\":\"18\",\"target_temp_high\":\"26\",\"target_temp_low\":\"18\",\"hvac_mode\":\"heat\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1390,"y":1040,"wires":[[]]},{"id":"8abeed80.c6fcf","type":"api-call-service","z":"77dbed6d.40a914","name":"set temp 18 Salon","server":"6e9ab457.5c170c","version":1,"debugenabled":true,"service_domain":"climate","service":"set_temperature","entityId":"climate.danfoss_popp_radiator_salon","data":"{\"temperature\":\"18\",\"target_temp_high\":\"26\",\"target_temp_low\":\"18\",\"hvac_mode\":\"heat\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1390,"y":1100,"wires":[[]]},{"id":"dc68cde2.678aa","type":"api-call-service","z":"77dbed6d.40a914","name":"set temp 18 Salle à manger","server":"6e9ab457.5c170c","version":1,"debugenabled":true,"service_domain":"climate","service":"set_temperature","entityId":"climate.danfoss_popp_radiator_salle_a_manger","data":"{\"temperature\":\"18\",\"target_temp_high\":\"26\",\"target_temp_low\":\"18\",\"hvac_mode\":\"heat\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1420,"y":1160,"wires":[[]]},{"id":"f153394f.1911a8","type":"api-call-service","z":"77dbed6d.40a914","name":"set temp 18 Cuisine","server":"6e9ab457.5c170c","version":1,"debugenabled":true,"service_domain":"climate","service":"set_temperature","entityId":"climate.danfoss_popp_radiator_cuisine","data":"{\"temperature\":\"18\",\"target_temp_high\":\"26\",\"target_temp_low\":\"18\",\"hvac_mode\":\"heat\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1400,"y":1220,"wires":[[]]},{"id":"1c128001.87152","type":"server-state-changed","z":"77dbed6d.40a914","name":"< 30 piece a vivre","server":"6e9ab457.5c170c","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.temperature_moyenne_piece_a_vivre","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"30","halt_if_type":"num","halt_if_compare":"lt","outputs":2,"output_only_on_state_change":false,"x":2440,"y":1100,"wires":[[],[]]},{"id":"24da3f0e.8cf6e","type":"api-call-service","z":"77dbed6d.40a914","name":"turn on chaudiere","server":"6e9ab457.5c170c","version":1,"debugenabled":false,"service_domain":"switch","service":"turn_on","entityId":"switch.shelly_shsw_1_b928eb","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":2270,"y":1500,"wires":[["b758c8c6.b6a0b8"]]},{"id":"e8cab2af.276ca","type":"server-state-changed","z":"77dbed6d.40a914","name":"> 30 piece a vivre","server":"6e9ab457.5c170c","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.temperature_moyenne_piece_a_vivre","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"30","halt_if_type":"num","halt_if_compare":"gt","outputs":2,"output_only_on_state_change":true,"x":2460,"y":1540,"wires":[[],[]]},{"id":"d9712423.cc0338","type":"api-call-service","z":"77dbed6d.40a914","name":"turn off chaudiere","server":"6e9ab457.5c170c","version":1,"debugenabled":false,"service_domain":"switch","service":"turn_off","entityId":"switch.shelly_shsw_1_b928eb","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":2270,"y":1540,"wires":[[]]},{"id":"b758c8c6.b6a0b8","type":"api-call-service","z":"77dbed6d.40a914","name":"","server":"6e9ab457.5c170c","version":1,"debugenabled":false,"service_domain":"notify","service":"telegram_bartouse","entityId":"","data":"{\"message\":\"chauffage ON\"}","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":2500,"y":1500,"wires":[[]]},{"id":"92230c43.b6704","type":"inject","z":"77dbed6d.40a914","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":1080,"y":540,"wires":[["f56d3df0.fcc5a","37d39c76.c5da04","9afaaecf.82f0e","d861482c.2ce168","c6da2395.befee","127c181a.7c7d78"]]},{"id":"ca7c9b6c.76a5e8","type":"change","z":"77dbed6d.40a914","name":"Set mode jour paire","rules":[{"t":"set","p":"modeChauff","pt":"msg","to":"Chauffage jour paire","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":510,"y":220,"wires":[["2766c8d7.d62568"]]},{"id":"2766c8d7.d62568","type":"switch","z":"77dbed6d.40a914","name":"","property":"modeChauff","propertyType":"msg","rules":[{"t":"eq","v":"Chauffage jour paire","vt":"str"},{"t":"eq","v":"Chauffage nuit","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":910,"y":860,"wires":[["f56d3df0.fcc5a","37d39c76.c5da04","9afaaecf.82f0e","d861482c.2ce168","c6da2395.befee","127c181a.7c7d78"],["2f2956b2.65b15a","ed61da48.b7cbf8","a7f7cf59.70e47","8abeed80.c6fcf","dc68cde2.678aa","f153394f.1911a8"]]},{"id":"8708ebaa.2a5ed8","type":"server-state-changed","z":"77dbed6d.40a914","name":"< 30 piece a vivre","server":"6e9ab457.5c170c","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.temperature_moyenne_piece_a_vivre","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"30","halt_if_type":"num","halt_if_compare":"lt","outputs":2,"output_only_on_state_change":false,"x":2320,"y":1320,"wires":[[],[]]},{"id":"e0588e62.e69f3","type":"api-call-service","z":"77dbed6d.40a914","name":"turn on chaudiere","server":"6e9ab457.5c170c","version":1,"debugenabled":false,"service_domain":"switch","service":"turn_on","entityId":"switch.shelly_shsw_1_b928eb","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":2410,"y":1160,"wires":[["d905d06c.0028c"]]},{"id":"c664d942.a2b958","type":"server-state-changed","z":"77dbed6d.40a914","name":"> 30 piece a vivre","server":"6e9ab457.5c170c","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.temperature_moyenne_piece_a_vivre","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"30","halt_if_type":"num","halt_if_compare":"gt","outputs":2,"output_only_on_state_change":true,"x":2360,"y":1260,"wires":[[],[]]},{"id":"2a8de81a.38ca38","type":"api-call-service","z":"77dbed6d.40a914","name":"turn off chaudiere","server":"6e9ab457.5c170c","version":1,"debugenabled":false,"service_domain":"switch","service":"turn_off","entityId":"switch.shelly_shsw_1_b928eb","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":2550,"y":1300,"wires":[[]]},{"id":"d905d06c.0028c","type":"api-call-service","z":"77dbed6d.40a914","name":"","server":"6e9ab457.5c170c","version":1,"debugenabled":false,"service_domain":"notify","service":"telegram_bartouse","entityId":"","data":"{\"message\":\"chauffage ON\"}","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":2500,"y":1200,"wires":[[]]},{"id":"9db26eb7.4f426","type":"change","z":"77dbed6d.40a914","name":"Set tempChauff 20","rules":[{"t":"set","p":"tempChauff","pt":"msg","to":"20","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":510,"y":260,"wires":[["324e4dc7.d9ca52","d1943b68.9a3d88","e2d4c9e1.45d808","65abd626.c16b08"]]},{"id":"fc467c4.fe1a08","type":"server-state-changed","z":"77dbed6d.40a914","name":"< 30 piece a vivre","server":"6e9ab457.5c170c","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.temperature_moyenne_piece_a_vivre","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"30","halt_if_type":"num","halt_if_compare":"lt","outputs":2,"output_only_on_state_change":false,"x":2540,"y":1380,"wires":[[],[]]},{"id":"5864d8cc.43a518","type":"change","z":"77dbed6d.40a914","name":"SET Mode nuit","rules":[{"t":"set","p":"modeChauff","pt":"msg","to":"Chauffage nuit","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":440,"y":1100,"wires":[["2766c8d7.d62568"]]},{"id":"f4552e04.0e1fa","type":"change","z":"77dbed6d.40a914","name":"Set tempChauff 18","rules":[{"t":"set","p":"tempChauff","pt":"msg","to":"20","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":390,"y":1160,"wires":[["2c247d23.e97bc2","c24c1b86.e72858","af2c5082.d955f","2406b228.d7199e"]]},{"id":"324e4dc7.d9ca52","type":"api-current-state","z":"77dbed6d.40a914","name":"temp ch naomie","server":"6e9ab457.5c170c","version":1,"outputs":1,"halt_if":"","halt_if_type":"num","halt_if_compare":"is","override_topic":false,"entity_id":"sensor.thermostat_chambre_naomie_chambre_naomie","state_type":"num","state_location":"tempCHNaomie","override_payload":"msg","entity_location":"","override_data":"msg","blockInputOverrides":false,"x":900,"y":100,"wires":[["b2f9e9b0.73c528"]]},{"id":"3efc1c62.db86a4","type":"inject","z":"77dbed6d.40a914","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":440,"y":360,"wires":[["9db26eb7.4f426"]]},{"id":"d1943b68.9a3d88","type":"api-current-state","z":"77dbed6d.40a914","name":"temp ch Baptiste","server":"6e9ab457.5c170c","version":1,"outputs":1,"halt_if":"","halt_if_type":"num","halt_if_compare":"is","override_topic":false,"entity_id":"sensor.thermostat_chambre_baptiste_chambre_baptiste","state_type":"num","state_location":"tempCHBaptiste","override_payload":"msg","entity_location":"","override_data":"msg","blockInputOverrides":false,"x":910,"y":160,"wires":[["62334c9c.44c884"]]},{"id":"e2d4c9e1.45d808","type":"api-current-state","z":"77dbed6d.40a914","name":"temp moy piece","server":"6e9ab457.5c170c","version":1,"outputs":1,"halt_if":"","halt_if_type":"num","halt_if_compare":"is","override_topic":false,"entity_id":"sensor.temperature_moyenne_piece_a_vivre","state_type":"num","state_location":"tempMPiece","override_payload":"msg","entity_location":"","override_data":"msg","blockInputOverrides":false,"x":900,"y":240,"wires":[["7cb84ac3.2fd9c4"]]},{"id":"cc2ed117.a56e3","type":"BooleanLogicUltimate","z":"77dbed6d.40a914","name":"","filtertrue":"both","persist":true,"sInitializeWith":"WaitForPayload","triggertopic":"trigger","outputtriggeredby":"all","inputCount":"4","topic":"result","x":1740,"y":180,"wires":[["814cfe82.de9f3"],[],[]]},{"id":"65b9bfa1.a82f6","type":"change","z":"77dbed6d.40a914","name":"","rules":[{"t":"set","p":"DMDCHAUFF","pt":"msg","to":"true","tot":"bool"},{"t":"set","p":"topic","pt":"msg","to":"result1","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1400,"y":100,"wires":[["cc2ed117.a56e3"]]},{"id":"b2f9e9b0.73c528","type":"switch","z":"77dbed6d.40a914","name":"","property":"tempCHNaomie","propertyType":"msg","rules":[{"t":"lte","v":"tempChauff","vt":"msg"},{"t":"gt","v":"tempChauff","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":1110,"y":120,"wires":[["65b9bfa1.a82f6"],["aba3353d.45b838"]]},{"id":"aba3353d.45b838","type":"change","z":"77dbed6d.40a914","name":"","rules":[{"t":"set","p":"DMDCHAUFF","pt":"msg","to":"false","tot":"bool"},{"t":"set","p":"topic","pt":"msg","to":"result5","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1400,"y":140,"wires":[["2749ee14.6dcef2"]]},{"id":"814cfe82.de9f3","type":"api-call-service","z":"77dbed6d.40a914","name":"","server":"6e9ab457.5c170c","version":1,"debugenabled":false,"service_domain":"notify","service":"telegram_bartouse","entityId":"","data":"{\"message\":\"chauffage ON\"}","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":1960,"y":40,"wires":[[]]},{"id":"841d3561.ac4648","type":"api-call-service","z":"77dbed6d.40a914","name":"","server":"6e9ab457.5c170c","version":1,"debugenabled":false,"service_domain":"notify","service":"telegram_bartouse","entityId":"","data":"{\"message\":\"chauffage OFF\"}","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":2040,"y":280,"wires":[[]]},{"id":"71347712.390b78","type":"change","z":"77dbed6d.40a914","name":"","rules":[{"t":"set","p":"DMDCHAUFF","pt":"msg","to":"true","tot":"bool"},{"t":"set","p":"topic","pt":"msg","to":"result2","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1400,"y":200,"wires":[["cc2ed117.a56e3"]]},{"id":"62334c9c.44c884","type":"switch","z":"77dbed6d.40a914","name":"","property":"tempCHBaptiste","propertyType":"msg","rules":[{"t":"lte","v":"tempChauff","vt":"msg"},{"t":"gt","v":"tempChauff","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":1110,"y":220,"wires":[["71347712.390b78"],["fae3bdd3.ce3bc"]]},{"id":"fae3bdd3.ce3bc","type":"change","z":"77dbed6d.40a914","name":"","rules":[{"t":"set","p":"DMDCHAUFF","pt":"msg","to":"false","tot":"bool"},{"t":"set","p":"topic","pt":"msg","to":"result6","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1400,"y":240,"wires":[["2749ee14.6dcef2"]]},{"id":"2749ee14.6dcef2","type":"BooleanLogicUltimate","z":"77dbed6d.40a914","name":"","filtertrue":"both","persist":true,"sInitializeWith":"WaitForPayload","triggertopic":"trigger","outputtriggeredby":"all","inputCount":"4","topic":"result","x":1740,"y":300,"wires":[["841d3561.ac4648"],[],[]]},{"id":"5f11b8a9.8506f8","type":"change","z":"77dbed6d.40a914","name":"","rules":[{"t":"set","p":"DMDCHAUFF","pt":"msg","to":"true","tot":"bool"},{"t":"set","p":"topic","pt":"msg","to":"result3","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1400,"y":300,"wires":[["cc2ed117.a56e3"]]},{"id":"7cb84ac3.2fd9c4","type":"switch","z":"77dbed6d.40a914","name":"","property":"tempMPiece","propertyType":"msg","rules":[{"t":"lte","v":"tempChauff","vt":"msg"},{"t":"gt","v":"tempChauff","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":1110,"y":320,"wires":[["5f11b8a9.8506f8"],["c48087ce.8e4848"]]},{"id":"c48087ce.8e4848","type":"change","z":"77dbed6d.40a914","name":"","rules":[{"t":"set","p":"DMDCHAUFF","pt":"msg","to":"false","tot":"bool"},{"t":"set","p":"topic","pt":"msg","to":"result7","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1400,"y":340,"wires":[["2749ee14.6dcef2"]]},{"id":"65abd626.c16b08","type":"api-current-state","z":"77dbed6d.40a914","name":"Temp SDB","server":"6e9ab457.5c170c","version":1,"outputs":1,"halt_if":"","halt_if_type":"num","halt_if_compare":"is","override_topic":false,"entity_id":"sensor.thermostat_salle_de_bain_salle_de_bain","state_type":"num","state_location":"tempSDB","override_payload":"msg","entity_location":"","override_data":"msg","blockInputOverrides":false,"x":910,"y":300,"wires":[["c5005c86.c7ec3"]]},{"id":"d4af32ef.9a1a3","type":"change","z":"77dbed6d.40a914","name":"","rules":[{"t":"set","p":"DMDCHAUFF","pt":"msg","to":"true","tot":"bool"},{"t":"set","p":"topic","pt":"msg","to":"result4","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1400,"y":400,"wires":[["cc2ed117.a56e3"]]},{"id":"c5005c86.c7ec3","type":"switch","z":"77dbed6d.40a914","name":"","property":"tempSDB","propertyType":"msg","rules":[{"t":"lte","v":"tempChauff","vt":"msg"},{"t":"gt","v":"tempChauff","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":1110,"y":420,"wires":[["d4af32ef.9a1a3"],["935c23.77e1f3e"]]},{"id":"935c23.77e1f3e","type":"change","z":"77dbed6d.40a914","name":"","rules":[{"t":"set","p":"DMDCHAUFF","pt":"msg","to":"false","tot":"bool"},{"t":"set","p":"topic","pt":"msg","to":"result8","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1400,"y":440,"wires":[["2749ee14.6dcef2"]]},{"id":"2c247d23.e97bc2","type":"api-current-state","z":"77dbed6d.40a914","name":"temp ch naomie","server":"6e9ab457.5c170c","version":1,"outputs":1,"halt_if":"","halt_if_type":"num","halt_if_compare":"is","override_topic":false,"entity_id":"sensor.thermostat_chambre_naomie_chambre_naomie","state_type":"num","state_location":"tempCHNaomie","override_payload":"msg","entity_location":"","override_data":"msg","blockInputOverrides":false,"x":400,"y":1340,"wires":[["ef3a8c7d.081ff"]]},{"id":"c24c1b86.e72858","type":"api-current-state","z":"77dbed6d.40a914","name":"temp ch Baptiste","server":"6e9ab457.5c170c","version":1,"outputs":1,"halt_if":"","halt_if_type":"num","halt_if_compare":"is","override_topic":false,"entity_id":"sensor.thermostat_chambre_baptiste_chambre_baptiste","state_type":"num","state_location":"tempCHBaptiste","override_payload":"msg","entity_location":"","override_data":"msg","blockInputOverrides":false,"x":410,"y":1400,"wires":[["50d67f0a.04587"]]},{"id":"af2c5082.d955f","type":"api-current-state","z":"77dbed6d.40a914","name":"temp moy piece","server":"6e9ab457.5c170c","version":1,"outputs":1,"halt_if":"","halt_if_type":"num","halt_if_compare":"is","override_topic":false,"entity_id":"sensor.temperature_moyenne_piece_a_vivre","state_type":"num","state_location":"tempMPiece","override_payload":"msg","entity_location":"","override_data":"msg","blockInputOverrides":false,"x":400,"y":1480,"wires":[["f3dccbb2.aa1bb8"]]},{"id":"ded3eb67.885a08","type":"BooleanLogicUltimate","z":"77dbed6d.40a914","name":"","filtertrue":"both","persist":true,"sInitializeWith":"WaitForPayload","triggertopic":"trigger","outputtriggeredby":"all","inputCount":"4","topic":"result","x":1240,"y":1420,"wires":[["cf498d87.da358"],[],[]]},{"id":"f92a2fd.cab0fd","type":"change","z":"77dbed6d.40a914","name":"","rules":[{"t":"set","p":"DMDCHAUFF","pt":"msg","to":"true","tot":"bool"},{"t":"set","p":"topic","pt":"msg","to":"result9","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":900,"y":1340,"wires":[["ded3eb67.885a08"]]},{"id":"ef3a8c7d.081ff","type":"switch","z":"77dbed6d.40a914","name":"","property":"tempCHNaomie","propertyType":"msg","rules":[{"t":"lte","v":"tempChauff","vt":"msg"},{"t":"gt","v":"tempChauff","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":610,"y":1360,"wires":[["f92a2fd.cab0fd"],["e3a7b806.3c2618"]]},{"id":"e3a7b806.3c2618","type":"change","z":"77dbed6d.40a914","name":"","rules":[{"t":"set","p":"DMDCHAUFF","pt":"msg","to":"false","tot":"bool"},{"t":"set","p":"topic","pt":"msg","to":"result10","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":900,"y":1380,"wires":[["2674b4f4.2eed6c"]]},{"id":"cf498d87.da358","type":"api-call-service","z":"77dbed6d.40a914","name":"","server":"6e9ab457.5c170c","version":1,"debugenabled":false,"service_domain":"notify","service":"telegram_bartouse","entityId":"","data":"{\"message\":\"chauffage ON\"}","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":1460,"y":1280,"wires":[[]]},{"id":"9f97a4b.24b9958","type":"api-call-service","z":"77dbed6d.40a914","name":"","server":"6e9ab457.5c170c","version":1,"debugenabled":false,"service_domain":"notify","service":"telegram_bartouse","entityId":"","data":"{\"message\":\"chauffage OFF\"}","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":1540,"y":1520,"wires":[[]]},{"id":"dd85f836.8d5348","type":"change","z":"77dbed6d.40a914","name":"","rules":[{"t":"set","p":"DMDCHAUFF","pt":"msg","to":"true","tot":"bool"},{"t":"set","p":"topic","pt":"msg","to":"result11","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":900,"y":1440,"wires":[["ded3eb67.885a08"]]},{"id":"50d67f0a.04587","type":"switch","z":"77dbed6d.40a914","name":"","property":"tempCHBaptiste","propertyType":"msg","rules":[{"t":"lte","v":"tempChauff","vt":"msg"},{"t":"gt","v":"tempChauff","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":610,"y":1460,"wires":[["dd85f836.8d5348"],["f085505.a820ab"]]},{"id":"f085505.a820ab","type":"change","z":"77dbed6d.40a914","name":"","rules":[{"t":"set","p":"DMDCHAUFF","pt":"msg","to":"false","tot":"bool"},{"t":"set","p":"topic","pt":"msg","to":"result12","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":900,"y":1480,"wires":[["2674b4f4.2eed6c"]]},{"id":"2674b4f4.2eed6c","type":"BooleanLogicUltimate","z":"77dbed6d.40a914","name":"","filtertrue":"both","persist":true,"sInitializeWith":"WaitForPayload","triggertopic":"trigger","outputtriggeredby":"all","inputCount":"4","topic":"result","x":1240,"y":1540,"wires":[["9f97a4b.24b9958"],[],[]]},{"id":"ce6964c.27df798","type":"change","z":"77dbed6d.40a914","name":"","rules":[{"t":"set","p":"DMDCHAUFF","pt":"msg","to":"true","tot":"bool"},{"t":"set","p":"topic","pt":"msg","to":"result13","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":900,"y":1540,"wires":[["ded3eb67.885a08"]]},{"id":"f3dccbb2.aa1bb8","type":"switch","z":"77dbed6d.40a914","name":"","property":"tempMPiece","propertyType":"msg","rules":[{"t":"lte","v":"tempChauff","vt":"msg"},{"t":"gt","v":"tempChauff","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":610,"y":1560,"wires":[["ce6964c.27df798"],["c427f276.77786"]]},{"id":"c427f276.77786","type":"change","z":"77dbed6d.40a914","name":"","rules":[{"t":"set","p":"DMDCHAUFF","pt":"msg","to":"false","tot":"bool"},{"t":"set","p":"topic","pt":"msg","to":"result14","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":900,"y":1580,"wires":[["2674b4f4.2eed6c"]]},{"id":"2406b228.d7199e","type":"api-current-state","z":"77dbed6d.40a914","name":"Temp SDB","server":"6e9ab457.5c170c","version":1,"outputs":1,"halt_if":"","halt_if_type":"num","halt_if_compare":"is","override_topic":false,"entity_id":"sensor.thermostat_salle_de_bain_salle_de_bain","state_type":"num","state_location":"tempSDB","override_payload":"msg","entity_location":"","override_data":"msg","blockInputOverrides":false,"x":410,"y":1540,"wires":[["f956b061.be4e9"]]},{"id":"ed8bb41b.677ce8","type":"change","z":"77dbed6d.40a914","name":"","rules":[{"t":"set","p":"DMDCHAUFF","pt":"msg","to":"true","tot":"bool"},{"t":"set","p":"topic","pt":"msg","to":"result15","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":900,"y":1640,"wires":[["ded3eb67.885a08"]]},{"id":"f956b061.be4e9","type":"switch","z":"77dbed6d.40a914","name":"","property":"tempSDB","propertyType":"msg","rules":[{"t":"lte","v":"tempChauff","vt":"msg"},{"t":"gt","v":"tempChauff","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":610,"y":1660,"wires":[["ed8bb41b.677ce8"],["383fc45a.8d551c"]]},{"id":"383fc45a.8d551c","type":"change","z":"77dbed6d.40a914","name":"","rules":[{"t":"set","p":"DMDCHAUFF","pt":"msg","to":"false","tot":"bool"},{"t":"set","p":"topic","pt":"msg","to":"result16","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":900,"y":1680,"wires":[["2674b4f4.2eed6c"]]},{"id":"a2dfaa03.12b6e8","type":"inject","z":"77dbed6d.40a914","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1160,"wires":[["f4552e04.0e1fa"]]},{"id":"6e9ab457.5c170c","type":"server","z":"","name":"Home Assistant","addon":true}]`