When reboot my Raspberry with hass.io, the 19 sonoff switch with tasmota firmware, don’t reconnect to mosquitto broker, and keep it going disconnect and reconnect and generate this log:
[INFO] found mqtt_user on Home Assistant
1556611226: Client DVES_DC0970 already connected, closing old connection.
1556611226: Socket error on client DVES_DC0970, disconnecting.
1556611226: New client connected from 192.168.2.216 as DVES_DC0970 (c1, k10, u’mqtt_user’).
for all tasmota device!!!
I have the MQTT ENABLE option turned off for each switch, restarting the Raspberry, after which I have reactivated the MQTT ENABLE option of each switch one by one, and now it works.
Is there a solution or setting that can be set to avoid this problem?
Do I have to change some Tasmota or Mosquitto side settings?
Sorry for my English, I use google translator!