When the MQTT connection was interrupted and the homie client reconnects the homie client will publish its ready state again but not handle changes to published properties anymore.
This problem exists because the homie client won't subscribe to the property set topics when reconnecting.
Currently, subscription to property set topics takes place when device information is published, see
|
this->mqtt.subscribe(base_topic + dev->get_id() + "/+/+/set", 1); |
It can be fixed by moving the subscription to the end of the function handling the MQTT connected event.