grhhm wrote:Now I just need to understand how to make homie accepting messages for variable setting (e.g. light on/off).
Finally, got it. The hint is buried in Homie convention. Homie reports status to the broker under topic:
homie/kitchen-light/light/power
However, to set the settable parameter the following topic to be sent to the broker:
homie/kitchen-light/light/power/set
Changing in initial configuration base of the topic from homie/ to anything else stop the MQTT subscription of remote device.
Next challenge: How to split the flash to have enough space for OTA? Where the OTA image is stored before burning into flash? What's minimal size of Flash needed if the bin-image is about 410kB?