Learning MQTT Protocol: Retained Messages and LWT

Learning MQTT Protocol: Retained Messages and LWT

Let’s look at this scenario: You have a temperature sensor that publishes the current temperature to a Topic every three hours. So the question arises, if a new subscriber subscribes to this topic right after it has published the current temperature, when will this subscriber receive the temperature message? That’s right, it has to wait … Read more