Control an MQTT device from Gladys

Hello everyone,

In doubt, I write my message in this post about MQTT and Tasmota, because I had posted it in a resolved tutorial and I don’t know if the messages added to a resolved post appear on the forum. My problem looks strangely like what is said in this tutorial: [RESOLU] Problème de connexion mqtt avec sonoff.

After testing on the Xiaomi gateway, then RFlink and finally fixing the SSD installation problem, I reinstall my devices including 2 ESP8266, one server and one client. The client should connect to the Mosquitto broker (I use the one installed with Gladys), but it no longer succeeds. I tested with an external Mosquitto (on a Synology) and there, the ESP8266 connects well (although I don’t use a user or password).

I checked this:

GBoulvin

Feb '21

Here is:

allow_anonymous false

connection_messages false

password_file /mosquitto/config/mosquitto.passwd

listener 1883

and I have the same /mosquitto/config/

I changed the password, no improvement, I put back the password that works, no improvement. I reinstalled the broker, still the same.

But I have another less annoying problem, but when I scan the network on the Tasmota integration, the devices are not discovered in Mqtt, but only in Http. My devices are Sonoff flashed with Tasmota. Previously they were well discovered in Mqtt, but now when I click on « Mqtt discovery » I don’t see them, on the other hand when I click on « Http discovery », they all appear. I think everything must be related? What do you think?

Would you have a solution to put everything back in order?

Thanks in advance