Hello guys! I wonder if someone could help me out.
For the past couple of weeks, I am getting constant disconnects of devices connected to my MQTT broker. These are the logs:
1544184814: Client casarfbridge has exceeded timeout, disconnecting. 1544184814: Socket error on client casarfbridge, disconnecting. 1544184815: Client banheirosuite has exceeded timeout, disconnecting. 1544184815: Socket error on client banheirosuite, disconnecting. 1544184815: New connection from 192.168.1.185 on port 1883. [INFO] found DVES_USER on local database 1544184815: New client connected from 192.168.1.185 as casarfbridge (c1, k10, u'DVES_USER'). 1544184816: New connection from 192.168.1.136 on port 1883. 1544184816: New client connected from 192.168.1.136 as banheirosuite (c1, k15).
This is my setup:
- Hassio running on a RPI 3B over Ethernet with latest update (83.3)
- Asus RT-AC68U wit latest firmware on the same network as Hassio
- About 40 devices connected over wifi (2.4g), mostly esp8266 (sonoffs, magicled, broadlinks)
- MQTT broker using integrations
The strange thing is: never does the device disconnected from the broker gets disconnected from the WiFi. If I check the DHCP leases, all devices have been connected for days.
This is the log I get on the device:
12:14:48 MQT: Attempting connection... 12:14:48 MQT: Connect failed to 192.168.1.12:1883, rc -2. Retry in 10 sec 12:14:59 MQT: Attempting connection... 12:15:01 MQT: Connected 12:15:01 MQT: tele/banheirosuite/LWT = Online (retained) 12:15:01 MQT: cmnd/banheirosuite/POWER =
I really don’t believe there is a network problem because if I ping the same device, for hours, never one package gets lost, very strong wifi signal here from a reasonable good router.
Thanks a lot!