thomasnordquist / MQTT-Explorer

An all-round MQTT client that provides a structured topic overview
https://mqtt-explorer.com
Other
3.09k stars 291 forks source link

how do I undelete?? #703

Closed Rolzzz closed 1 year ago

Rolzzz commented 1 year ago

I clicked "retained" and it deleted the topic, how do I restore the view? Retained to delete is also bit of a strange way to remove something

Mynijo commented 1 year ago

If you have deleted a retained msg, you can "restore" it by resending it to the broker with the retain flag.

Tooltip

Rolzzz commented 1 year ago

If you have deleted a retained msg, you can "restore" it by resending it to the broker with the retain flag.

Tooltip

yeah that makes no sense, the image you shared was what caused the deletion of the sensor(s) topic in the first place.

There should be humidity and temperature here, how do I restore them?

image

annoyingly these sensors are now gone from my HomeAssistant sensor list

image

but still see it in my zigee2bmqtt broker

image

why provide such an easy delete with no equally easy restore

Mynijo commented 1 year ago

This button deletes only the last message sent to this topic. It does not delete the topic. In fact, it is impossible to delete a topic.

Retained only means that the broker will send you the last message received on this topic.

I can't tell you what is causing your connection problem, but I can tell you that it has nothing to do with the fact that you deleted that message.

Rolzzz commented 1 year ago

Strange, I had to rename the sensor in zigbee2bmqtt for it to be seen again in HA, then it populated them in this app.

image

either way I am back up and running now, will close this issue