MQTT devices relying on retained messages may not work correctly
climategadgets opened this issue · 1 comments
climategadgets commented
Expected Behavior
Device drivers read retained messages upon connecting to an MQTT broker and act upon them.
Actual Behavior
Overoptimized MqttAdapter
with just one connection to one broker manages to read and discard retained messages (because there are no subscribers for them yet) before subscribers come, hence, they miss retained messages and may get stuck in wrong state (case in point, same manifestation as #295).
climategadgets commented
Fixed as of rev. bfdc029