Gestion chauffage central

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 :wink:

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}]`

J arrive un peu tard, tu as réussi ?

J’ai réussi à sortir une gestion de mon chauffage mais du coup pas avec NodeRed. Je l’ai fait en automation HA

Salut @bartouse01,
Est ce que tu peux partager ton automatisation ?

Hello,

Alors il y a plusieurs automations,

Une pour check si mes vannes (les thermostats) sont en mode « chauffe » si au moins 1 est en chauffe alors on ferme le contact chaudière pour mettre en marche le chauffage central.
Faire une automation pour check si tous sont en OFF, alors on ouvre le contact chaudière pour éteindre.
Chaque thermostat est lié à un input boolean, j’ai créé un "generic thermostat pour chaque vanne:

  - platform: generic_thermostat
    name: Thermostat Salle de bain
    heater: input_boolean.vanne_sdb
    target_sensor: sensor.popp_salle_de_bain_air_temperature
    min_temp: 15
    max_temp: 25
    ac_mode: false
    cold_tolerance: 0.8
    hot_tolerance: 0
    min_cycle_duration:
      seconds: 5
    keep_alive:
      minutes: 3
    initial_hvac_mode: "off"
    away_temp: 16
    precision: 0.1

L’automation:

alias: Check vannes ON
  description: ''
  trigger:
  - platform: time_pattern
    seconds: '15'
  condition:
  - condition: or
    conditions:
    - condition: state
      entity_id: input_boolean.vanne_ch_baptiste
      state: 'on'
    - condition: state
      entity_id: input_boolean.vanne_ch_naomie
      state: 'on'
    - condition: state
      entity_id: input_boolean.vanne_cuisine
      state: 'on'
    - condition: state
      entity_id: input_boolean.vanne_salle_a_manger
      state: 'on'
    - condition: state
      entity_id: input_boolean.vanne_salon
      state: 'on'
    - condition: state
      entity_id: input_boolean.vanne_sdb
      state: 'on'
  action:
  - type: turn_on
    device_id: 677ed49c5f5341dfb28efccc572b793e
    entity_id: switch.shelly_chaudiere
    domain: switch
  mode: single

Ensuite je programme les modes de chauffe par un Google Calendar, ça déclenche une automation pour regler les vannes et initier les consignes de température

L’automation pour SET temp:

  alias: Consignes Petit dejeuner
  description: ''
  trigger:
  - platform: state
    entity_id: calendar.chauffage_petit_dejeuner
    to: 'on'
  condition: []
  action:
  - service: climate.set_temperature
    data:
      temperature: '{{states.input_number.consigne_nuit.state}}'
    entity_id: climate.thermostat_chambre_baptiste
  - service: climate.set_temperature
    data:
      temperature: '{{states.input_number.consigne_jour.state}}'
    entity_id: climate.thermostat_chambre_naomie
  - service: climate.set_temperature
    data:
      temperature: '{{states.input_number.consigne_jour.state}}'
    entity_id: climate.thermostat_cuisine
  - service: climate.set_temperature
    data:
      temperature: '{{states.input_number.consigne_nuit.state}}'
    entity_id: climate.thermostat_salle_a_manger
  - service: climate.set_temperature
    data:
      temperature: '{{states.input_number.consigne_nuit.state}}'
    entity_id: climate.thermostat_salon
  - service: climate.set_temperature
    data:
      temperature: '{{states.input_number.consigne_jour.state}}'
    entity_id: climate.thermostat_salle_de_bain
  - service: climate.set_temperature
    data:
      temperature: '{{states.input_number.consigne_nuit.state}}'
    entity_id: climate.popp_chambre_baptiste_heating_1_6
  - service: climate.set_temperature
    data:
      temperature: '{{states.input_number.consigne_jour.state}}'
    entity_id: climate.popp_chambre_naomie_heating_1_5
  - service: climate.set_temperature
    data:
      temperature: '{{states.input_number.consigne_jour.state}}'
    entity_id: climate.popp_cuisine_heating_1_2
  - service: climate.set_temperature
    data:
      temperature: '{{states.input_number.consigne_nuit.state}}'
    entity_id: climate.popp_salle_a_manger_heating_1_3
  - service: climate.set_temperature
    data:
      temperature: '{{states.input_number.consigne_nuit.state}}'
    entity_id: climate.popp_salon_heating_1_4
  - service: climate.set_temperature
    data:
      temperature: '{{states.input_number.consigne_jour.state}}'
    entity_id: climate.popp_salle_de_bain_heating_1
  mode: single

Voilà, j’espere que ça pourra en inspirer certains en recherche de solutions.
J’ai collé ici les automations pour que vous voyez le détail mais je les ai créées avec l’éditeur, je ne suis pas fan des lignes de code :wink:

2 « J'aime »

Salut à toi ,
je cherche une solution simple pour faire ce genre d’automation , mais je débute totalement dans Home assistant , c’est compliqué pour moi de comprendre le fonctionnement même de la programmation par ligne de code. j’ai connecté plusieurs vannes de mes radiateurs et un thermostat d’ambience qui lui possède un contact sec pour activer la chaudière . donc je voudrait faire la même chose que toi niveau check des vannes : si aumoins une est ouverte , je voudrait actionner le contact sec de mon thermostat d’ambiance pour activer ma chaudière. un peu comme toi je présume. donc ma question est comment je dois créer ca? avec des ligne de code? dans file editor? c’est quoi les mots clés à utiliser pour la programmation? tu sais pas ou je pourrais avoir une explication simple sur comment faire? merci d’avance. je ne sais pas par ou commencer