Hi,
Sure this is a really simple one but i am having issues with one of my flashed Sonoff loosing connection to Mosquitto and understand first thing is to update Mosquitto to 1.4. (currently its v1)
Any advice on how to do this with a hass.io install on a pi3?
I think this is the addon version number of the hass.io mosquitto addon.
The logs of the addon say:
1526925988: mosquitto version 1.4.12 (build date 2017-06-01 13:03:46+0000) starting
My inbuilt broker is v 1.0 too. What makes you think there is a version 1.4?
Thanks for your replys. It seems your correct after restarting and checking the log i see i have 1.4.
ā1526984098: mosquitto version 1.4.12 (build date 2017-06-01 13:03:48+0000) startingā
I have a tasmota sonoff basic which continually is disconnecting and hoping they would resolve it. Socket error.
I will do some more digging.
1526984163: New connection from 192.168.1.152 on port 1883.
1526984163: New client connected from 192.168.1.152 as DVES_2B9A8E (c1, k15, uāDVES_USERā).
1526984185: Client DVES_2B9A8E has exceeded timeout, disconnecting.
1526984185: Socket error on client DVES_2B9A8E, disconnecting.
1526984185: New connection from 192.168.1.152 on port 1883.
1526984185: New client connected from 192.168.1.152 as DVES_2B9A8E (c1, k15, uāDVES_USERā).
1526984206: Client DVES_2B9A8E has exceeded timeout, disconnecting.
1526984206: Socket error on client DVES_2B9A8E, disconnecting.
1526984209: New connection from 192.168.1.152 on port 1883.
1526984209: New client connected from 192.168.1.152 as DVES_2B9A8E (c1, k15, uāDVES_USERā).
1526984232: Client DVES_2B9A8E has exceeded timeout, disconnecting.
1526984232: Socket error on client DVES_2B9A8E, disconnecting.
had same issue with Tasmota and Sonoffs I disabled mDNS in the userconfig.h and then recompiled the firmware and flashed again and the issue is no more
starting version 3.2.2
1526985549: mosquitto version 1.4.12 (build date 2017-06-01 13:03:48+0000) starting
1526985549: Config loaded from /etc/mosquitto.conf.
1526985549: Opening ipv4 listen socket on port 1883.
1526985549: Opening ipv6 listen socket on port 1883.
1526985549: Warning: Mosquitto should not be run as root/administrator.
1526985553: New connection from 172.30.32.1 on port 1883.
1526985554: Socket error on client , disconnecting.
1526985554: New connection from 172.30.32.1 on port 1883.
1526985554: New client connected from 172.30.32.1 as 356d980a-35fe-4263-b32e-0ce4bf6b5b1c (c1, k60, uāmqttuserā).
So I have this as well. I still donāt understand what that external connection from 172.30.32.1 Also I have no idea why itās logging in as admin.
isnāt the 172 address the internal ip the docker containers talk on
So hassio MQTT client to MQTT server and DEVxxx your Sonoffs to MQTT server?
I donāt knowā¦ maybeā¦ but itās a ārealā IP address so far as I can tell.
Do you have that as well in your log?
yep I see one in the 172 range on MQTT start-up and hassio connects
Yep, thatās usually the IPs assigned to each container.