whats-up-docker
whats-up-docker copied to clipboard
Container retained in mqtt after deletion
Hi @fmartinou , I just noticed that when deleting a container from a docker, it doesn't remove the information from the mqtt server. Which means that on each cron, I receive an update message in mqtt for a container that doesn't exist anymore. Can you please check if you can pass the info to mqtt and remove the container? Or is there something that I've missed in the config? Many thanks, Isa
Same problem here.
Yep, have been seeing the same so I have to go to Mosquitto and clear out the entries.
I'd like to add, this also happens if a previously watched container has the wud.watch=false
label applied. It disappears from the WUD UI, but persists its state in Home Assistant.
To clean up the entries from Home Assistant, you can call the mqtt.publish
service with an empty payload.
Example below:
service: mqtt.publish
data:
topic: homeassistant/update/wud_container_local_mongodb/config
payload: ""
retain: true