MQTT integration not showing devices

Hy there,

I had HA running with MQTT to IOBroker with no problems. I had all my Tasmota devices in it. That worked fine.

Now I changed something (Never change a running system!) - and it stopped working.

I installed a Mosquitto server on a VM and redirected all my Tasmota devices to that. The values land there, I see them in my InfluxDB and in MQTT Explorer. So this is working.

Then I deleted the MQTT integration in Home Assistant and installed it again. That only showed 5 devices instead of more than 30. I did not see any speciality in data format, so I uninstalled MQTT again, reinstalled it and … again not working :slight_smile:

So I deleted that homeassistant tree in Mosquitto and deinstalled and installed MQTT integration again. That had a effect - now I do not see any discovered items :frowning: The homeassistant tree in Mosquitto is also not growing again. It only has the status in it.

When I start the listener in MQTT, it shows all items which I need but will not autodiscover them.

I think there must be a file where he stores identities that he already knows and then skips them in autodiscovery. Am I right?

How can I recover that?

Best regards,
Roger

EDIT: Cleaning up in config/.storage/core.device_registry did not help
EDIT2: Doing setoption19 1 on the Tasmota devices did not change anything.

Have you tried turning off the power to some of the devices then back on.

Of course I did :slight_smile: I even tried to use new devices. Did not work
But I found a hint which maybe points in the right direction:

MQTT Not Autodiscovering Devices After core-2021.9.x Update - Configuration - Home Assistant Community (home-assistant.io)

I really have no clue why all devices were visible on the IOBroker MQTT Server and why 5 devices were visible after the switch, but if they killed the autodiscovery process and switched it to the Tasmota Plugin then it is ok for me.