When controlling a homie device from openhab, the set message is sent with retained false.
qos : 0, retain : false, cmd : publish, dup : false, topic : homie/testdimmer/dimmer/dimmer/set, messageId : , length : 38, Raw payload : 4954
If I close and reopen the subscriber, the “same” set message is re sent with retained true
qos : 0, retain : true, cmd : publish, dup : false, topic : homie/testdimmer/dimmer/dimmer/set, messageId : , length : 38, Raw payload : 4954
So what is happening, if the homie device goes offline and then reconnects to the broker, it is always getting the last set message from OH.
If I use a client like MQTT Explorer to send the set message, that message does not reappear if the homie device goes offline and back online.
So it seems that OH is sending a set message when there is a new subscriber. Is there a way to turn this behavior off?