Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I uninstall amcrest2mqtt? #7

Closed
JimGermany opened this issue Jun 28, 2022 · 4 comments
Closed

How can I uninstall amcrest2mqtt? #7

JimGermany opened this issue Jun 28, 2022 · 4 comments
Labels

Comments

@JimGermany
Copy link

I installed the addon v.2022.5.1 and now I try to uninstall. The "normal" way with MQTT Explorer doesn't work. I use MQTT Explorer and deleted the whole Amcrest entry. After that everything seemed fine but after a HA Restart I saw Amcrest Device again under MQTT.

I have also described the problem with screenshots at: https://community.home-assistant.io/t/delete-mqtt-entities/214100/6

It would be nice if you could describe the uninstall process. Thanks. :-)

@SirGoodenough
Copy link

SirGoodenough commented Jun 28, 2022

The addon must still be there and running if it recreated the MQTT topic.

Are you sure the Addon is gone? Not running? Rebooted host after you did that?

Then use MQTT explorer to remove the topics and if it still comes back, something else is re-creating the topic. We can guess further from there...

Did you try to install Amcress2mqtt on that computer separately or in another docker? If so that could still be running.

All this addon does is run that program in a docker, and once the docker machine is killed, it is all gone.

@JimGermany
Copy link
Author

Thanks for the reply. Yes I'm sure it's gone. :-) As you can see in my screenshots https://community.home-assistant.io/t/delete-mqtt-entities/214100/6 after a HA restart or Host reboot I saw Amcrest again under HA Mosquitto broker - MQTT and when i try to delete it then I get "Device/Service not found".

No extra/separately docker only with/over HA Addon.

I think somewhere there has to be an entry in HA itself that keeps re-entering the Amcrest Addon after a reboot/restart. But where (no - not at configuration.yaml)? This entry ensures that it is always re-entered under HA Mosquitto broker, even though there is no longer an entry in the MQTT database.

@JimGermany
Copy link
Author

Done. There are three hidden sensor entities in the MQTT database. The three entries were not uninstalled during uninstallation.
So these three entities were reloaded after a HA reboot. I deleted them from the MQTT database and the “spook” was over.

@stale
Copy link

stale bot commented Sep 1, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 1, 2022
@stale stale bot closed this as completed Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants