I have two RPi Zeros used to monitor Mi Flora Plant Sensors stacked around the house and outside. Both of them have the identical config (for BT range) and both use same credentials to communicate with Mosquitto add-on in HA. However, I get endless socket errors on only one of them and I don’t even know why. Any help with debugging this is really appreciated. I also have a solar weather station which works fine as well.
Some more info below:
1621761563: New connection from 10.0.1.40 on port 1883.
1621761563: New client connected from 10.0.1.40 as auto-CFA82FC8-B498-8F2D-DDAB-2C90D9E8E546 (p2, c1, k60, u'sloma').
1621761582: Socket error on client auto-CFA82FC8-B498-8F2D-DDAB-2C90D9E8E546, disconnecting.
1621761584: New connection from 10.0.1.40 on port 1883.
1621761584: New client connected from 10.0.1.40 as auto-372D8511-19AA-8274-2D48-F393FF5F78D2 (p2, c1, k60, u'sloma').
1621761628: Socket error on client auto-372D8511-19AA-8274-2D48-F393FF5F78D2, disconnecting.
1621761630: New connection from 10.0.1.40 on port 1883.
1621761630: New client connected from 10.0.1.40 as auto-E058338D-DD73-3188-0937-A3576962F6E2 (p2, c1, k60, u'sloma').
1621761671: Socket error on client auto-E058338D-DD73-3188-0937-A3576962F6E2, disconnecting.
1621761673: New connection from 10.0.1.40 on port 1883.
Mi-Flora service on RPi Zero is showing no errors, it restarts every time when disconnected from Mosquitto:
This really drives me nuts because Mosquitto doesn’t indicate WHY this is happening.
I would really appreciate any tips to point me in the right direction or how to find the cause?
Thanks.