Hi everyone. I am new to the forum, I am programming Node-Red and I have a question.
I have a Homey with several Xiaomi Aqara sensors. The sensors read well on Node-Red and Homey.
I want to use the node-red-contrib-heater-controller heating programmer, but it indicates that in order for the control to run you need in the input a topic "currentTemp" and payload needs to be a float.
I can get the temperature data from the Homey, but the data is obtained as "measure-temperature" and I don't know how to pass it to "currentTemp" so the heating control can work.
I don't know if I will have explained myself well.
I appreciate the help, if you need me to share the flow, let me know.
OK, what the hater controller node expects is msg where topic is set correctly and payload is number. (measured temperature)
So first you'll need to be sure that value of your measurement is number.
Add debug node tou your MQTT node and see (show to us) what is the payload you get from it.
Then you'll need to add topic to to the message before you send it to the heater node.
I made a little example for that.