homieiot / homie-esp8266

💡 ESP8266 framework for Homie, a lightweight MQTT convention for the IoT
http://homieiot.github.io/homie-esp8266
MIT License
1.36k stars 308 forks source link

Question #179

Closed Gulaschcowboy closed 7 years ago

Gulaschcowboy commented 7 years ago

Hi,

is there a way to send topics with do not retain flag set? Sorry if the question is stupid.

Thanks, Alex

marvinroger commented 7 years ago
Homie.setNodeProperty(node, "property").setRetained(false).send();

https://homie-esp8266.readme.io/docs/cpp-api-reference#section-functions-to-call-after-homie-setup- 😉

Gulaschcowboy commented 7 years ago

Cool, thank you. Again, nice project, quick support!