Node-red-contrib-heater-controller

Trying to set this up. But i dont understand how to get it to read temp from my sensor.
I have a zwave temperature node.
this flow was in heater controller. I think i have to do something with the input node called currentTemp, But i dont understand how to get info from my temp node to input node (currentTmp23).

tmp.json (3.8 KB)

I had a similar thing with my Xiaomi temp sensors, put an 'inject' node before the temp state reading node and link them then link a 'debug' node afterwards (set to show 'complete message'). In the 'inject' node settings you can set it to send a message every 15 mins etc or manually.
When you press the inject, you should get the temperature included in the info in the debug output.
Have a look at mine:
[{"id":"f1cf4312.03cb4","type":"api-call-service","z":"f02bb21f.0c99b","name":"Turn off heat","server":"78ebbc5c.49dca4","version":1,"debugenabled":false,"service_domain":"homeassistant","service":"turn_off","entityId":"switch.heater","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1470,"y":2660,"wires":[[]]},{"id":"f02e8d32.ea448","type":"switch","z":"f02bb21f.0c99b","name":"Temp Bedroom","property":"payload","propertyType":"msg","rules":[{"t":"btwn","v":"0","vt":"num","v2":"15","v2t":"num"},{"t":"btwn","v":"15","vt":"num","v2":"17","v2t":"num"},{"t":"btwn","v":"17","vt":"num","v2":"20","v2t":"num"},{"t":"btwn","v":"20","vt":"num","v2":"40","v2t":"num"}],"checkall":"true","repair":false,"outputs":4,"x":1000,"y":2670,"wires":[["1dac3045.abac6"],["1dac3045.abac6"],["f1cf4312.03cb4"],["f1cf4312.03cb4"]]},{"id":"388e5073.a6aee","type":"api-current-state","z":"f02bb21f.0c99b","name":"Xiaomi 1 Temp","server":"78ebbc5c.49dca4","version":1,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"sensor.xiaomi_temp_humidity_01_temperature","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":580,"y":2613,"wires":[["426f0798.35f638"]]},{"id":"1dac3045.abac6","type":"api-call-service","z":"f02bb21f.0c99b","name":"Turn on heat","server":"78ebbc5c.49dca4","version":1,"debugenabled":false,"service_domain":"homeassistant","service":"turn_on","entityId":"switch.heater","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1470,"y":2600,"wires":[[]]},{"id":"fe9c42a.f66b3c","type":"switch","z":"f02bb21f.0c99b","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"},{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":570,"y":2720,"wires":[["388e5073.a6aee"],["69d650f7.bd852","388e5073.a6aee"]]},{"id":"69d650f7.bd852","type":"api-call-service","z":"f02bb21f.0c99b","name":"heater boost","server":"78ebbc5c.49dca4","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.heater_boost","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1470,"y":2727,"wires":[[]]},{"id":"4f307a5e.aedca4","type":"server-state-changed","z":"f02bb21f.0c99b","name":"heater boost","server":"78ebbc5c.49dca4","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.heater_boost","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":false,"x":230,"y":2720,"wires":[["fe9c42a.f66b3c"]]},{"id":"71d7b66e.8c0f18","type":"inject","z":"f02bb21f.0c99b","name":"","topic":"","payload":"","payloadType":"date","repeat":"900","crontab":"","once":false,"onceDelay":0.1,"x":250,"y":2580,"wires":[["e64f0e79.f092a"]]},{"id":"f804c78d.ce24d8","type":"mytimeout","z":"f02bb21f.0c99b","name":"30 m","outtopic":"","outsafe":"on","outwarning":"","outunsafe":"off","warning":"0","timer":"1800","debug":false,"ndebug":false,"ignoreCase":false,"repeat":false,"again":false,"x":1006,"y":2606,"wires":[["98cb1445.a847d8"],[]]},{"id":"426f0798.35f638","type":"ha-wait-until","z":"f02bb21f.0c99b","name":"is heater boost off?","server":"78ebbc5c.49dca4","outputs":2,"entityId":"input_boolean.heater_boost","property":"state","comparator":"is","value":"off","valueType":"str","timeout":"150","timeoutUnits":"milliseconds","entityLocation":"","entityLocationType":"none","checkCurrentState":true,"blockInputOverrides":true,"x":790,"y":2620,"wires":[["f02e8d32.ea448"],["f804c78d.ce24d8"]]},{"id":"98cb1445.a847d8","type":"switch","z":"f02bb21f.0c99b","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"},{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":1150,"y":2600,"wires":[["1dac3045.abac6"],["f1cf4312.03cb4","69d650f7.bd852"]]},{"id":"e64f0e79.f092a","type":"time-range-switch","z":"f02bb21f.0c99b","name":"night","lat":"51.18842","lon":"-0.59499","startTime":"20:00","endTime":"09:30","startOffset":0,"endOffset":0,"x":390,"y":2580,"wires":[["388e5073.a6aee"],[]]},{"id":"78ebbc5c.49dca4","type":"server","z":"","name":"My Home Assistant","legacy":false,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]

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