How to clear embedded MQTT broker database?


I want to make sure that all retain messages are cleared out (I have issues with Sonoffs turning on and off randomly during the night).

My lights keep turning on/off by itself (Tasmota + MQTT)

I suggest using MQTT Explorer. It displays all topics in a tree-view. If a topic has a retained message, a red RETAINED button appears. Click it and the retained message will be deleted. The topic will continue to be displayed in the tree-view and will only disappear after you disconnect/re-connect with MQTT Explorer.

Shelly 1 Connecting, Ghost Switching

This tool is awesome! Thank you so much! I’ve managed to clear out all the retained messages.