Climate control for a heater

Hello, ive been trying to setup a climate control for my Addition, i have a heater plugged into a smart switch, and i have a esp with a thermometer on it, my problem is that i cant get it working correctly, ether i cant get it to shut off, or it wont heat atall,

[{"id":"664ff39be1b9dd7d","type":"poll-state","z":"6452952728e16b61","name":"Cathouse Temp","server":"ae668be1.b7d398","version":2,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"updateinterval":"30","updateIntervalType":"num","updateIntervalUnits":"seconds","outputinitially":false,"outputonchanged":true,"entity_id":"sensor.cathouse_temperature","state_type":"str","halt_if":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"x":100,"y":560,"wires":[["6ca34410fa7d1ef2"]]},{"id":"6ca34410fa7d1ef2","type":"switch","z":"6452952728e16b61","name":"Check Temp","property":"payload","propertyType":"msg","rules":[{"t":"lt","v":"10","vt":"str"},{"t":"gte","v":"12","vt":"str"}],"checkall":"false","repair":false,"outputs":2,"x":410,"y":560,"wires":[["5793fc80e4e42f8a"],["1cdbf2a3768d30f4"]]},{"id":"5793fc80e4e42f8a","type":"api-current-state","z":"6452952728e16b61","name":"Check If Heater Is Off","server":"ae668be1.b7d398","version":3,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is","entity_id":"switch.cathouse_heat","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":700,"y":480,"wires":[["a477614d8010e248"],[]]},{"id":"a477614d8010e248","type":"api-call-service","z":"6452952728e16b61","name":"Cathouse Heat On","server":"ae668be1.b7d398","version":4,"debugenabled":false,"domain":"switch","service":"turn_on","target":{"areaId":[],"deviceId":[],"entityId":["switch.cathouse_heat"]},"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1170,"y":480,"wires":[[]]},{"id":"1cdbf2a3768d30f4","type":"api-current-state","z":"6452952728e16b61","name":"Check If Heater Is On","server":"ae668be1.b7d398","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"switch.cathouse_heat","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":720,"y":620,"wires":[["27121f1b5168c898"],[]]},{"id":"27121f1b5168c898","type":"api-call-service","z":"6452952728e16b61","name":"Cathouse Heat Off","server":"ae668be1.b7d398","version":4,"debugenabled":false,"domain":"switch","service":"turn_off","target":{"areaId":[],"deviceId":[],"entityId":["switch.cathouse_heat"]},"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1170,"y":660,"wires":[[]]},{"id":"ae668be1.b7d398","type":"server","name":"Home Assistant","version":2,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30}]

here is the flow im using that i have gone step by step on from some guys webpage

Since 5 out of the 6 nodes in your flow at home assistant nodes, you might be better off asking this on a HA forum or asking on the 'some guys website'

i have and i got pointed to come post here haha

Do you have a link to the web page you were following?

That wasn't very nice of them :laughing:

thats the link i was following

got it figured out lol, apparently i should get my eyes checked haha did notice under the switch function, that i have it under string and not number, Ooops, now to work on the presence detection!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.