MQTT intergation not adding newly discovered devices

Hi

I’m new to the forum but not new to HA…
The MQTT integration in my HA has stopped working for some reason
New devices are discovered by MQTT but do not show up on the integration page anymore (auto add new devices are turned on)
Here is log from MQTT addon

[12:48:29] INFO: Setup mosquitto configuration
[12:48:29] WARNING: SSL not enabled - No valid certs found!
[12:48:29] INFO: No local user available
[12:48:29] INFO: Initialize Hass.io Add-on services
[12:48:29] INFO: Initialize Home Assistant discovery
[12:48:29] INFO: Start Mosquitto daemon
1577706509: mosquitto version 1.6.3 starting
1577706509: Config loaded from /etc/mosquitto.conf.
1577706509: Loading plugin: /usr/share/mosquitto/auth-plug.so
1577706509: |-- *** auth-plug: startup
1577706509:  ├── Username/password checking enabled.
1577706509:  ├── TLS-PSK checking enabled.
1577706509:  └── Extended authentication not enabled.
1577706509: Opening ipv4 listen socket on port 1883.
1577706509: Opening ipv6 listen socket on port 1883.
1577706509: Opening websockets listen socket on port 1884.
1577706509: Warning: Mosquitto should not be run as root/administrator.
1577706511: New connection from 172.30.32.1 on port 1883.
1577706512: Socket error on client <unknown>, disconnecting.
1577706512: New connection from 172.30.32.1 on port 1883.
[INFO] found homeassistant on local database
1577706513: New client connected from 172.30.32.1 as auto-A8A9F8BF-F002-AFDB-91B9-FA874B9CCD5C (p2, c1, k60, u'homeassistant').
1577706517: New connection from 192.168.1.185 on port 1883.
[INFO] found mqtt on Home Assistant
1577706518: New client connected from 192.168.1.185 as DVES_8C5E73 (p2, c1, k30, u'mqtt').

I can add my devices to TasmotaAdmin with out issues

Activate new devices is turned on in HA

It started today after I upgraded HA from a 190.x version to the latest 193

Any ideas?

1 Like

Really?
No one with a hint as to what could be the problem?

I’ve just updated to latest release problem is still there

My old devices works fine but new ones are not added automatically.

TasmotaAdmin finds the new devices just fine…
I can see mqtt broker receives an authenticates the connection from the devices … But Home Assistant do not add the devices ;-(((
I’m running Home Assistant in a docker environment if that’s at all helpful?

Can I add mqtt devices manually?

Same issue here, old devices are working correctly, tasmoadmin add on finds the device and it works perfectly but no entity is created… Running latest 107 version with tasmota 8.2

Hi

I solved my issue by opening the console on the tasmota devices and typing :

 setoption19 1

this will turn autodiscovery on

1 Like

IT WORKED!! THIS needs to be on the instructions in bold. I searched for this for weeks. Thank you !!

I even tried another incorrect one that said “setoption19 = 1”, that didn’t work.

Hi Greg

Happy it helped you :wink:
I remember how frustrated I was …

I agree that it would be a helpful mention on the MQTT addon or in setting on homeassistant intergration

1 Like