Clearing MQTT retained messages

F.Y.I Just sharing: Method I use is with the Windows 10 app “MQTTbox”.

  • inside the APP connect to your MQTT server when connected
  • add publisher with your topic to be cleared, retain=yes and empty payload (payload type “strings…”)
  • publish

MQTTbox also provides a simple method to monitor your MQTT traffic, so far I like MQTTbox over other APPs to do this simple tasks without finding out the correct “mosquitto_pub” string.