I have a relay that I set ON immediately after the start. I would like to send a MQTT message at the start to let the world know that the relay is ON.
I tried to place Homie.setNodeProperty() just after the Homie.setup() but it doesn't send out the message. What is the right place to call Homie.setNodeProperty()?. I'm using Homie v.1.5.0.
Hello Marvin,
I have a relay that I set ON immediately after the start. I would like to send a MQTT message at the start to let the world know that the relay is ON.
I tried to place
Homie.setNodeProperty()
just after theHomie.setup()
but it doesn't send out the message. What is the right place to callHomie.setNodeProperty()
?. I'm using Homie v.1.5.0.Thank you Peter