Many MQTT reconnects in 113

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
ambassadoro
Normal user
Posts: 40
Joined: 17 Nov 2015, 15:58

Many MQTT reconnects in 113

#1 Post by ambassadoro » 03 Aug 2016, 08:34

Hello!

I have many mqtt-reconnects in my logfile with the build 113 on a sonoff device. Some month ago, I had kind of the same issue and it dissapeared when I connected a temp-sensor as a device to publish. Unfortunately, in the sonoff is no possibility to define a device sensor.
Maybe its a timing problem.

I have another sonoff running with ancient build 78, thats not making any troubles.

Code: Select all

42820719 : MQTT : Connection lost
42821727 : MQTT : Connected to broker
42821729 : Subscribed to: /lights/#
42823731 : SYS : -53.00
42823731 : EVENT: Wifi#Wifi=-51.01
42850720 : WD : Uptime 714 ConnectFailures 2461 FreeMem 28712
42850720 : MQTT : Connection lost
42851728 : MQTT : Connected to broker

Yves911
Normal user
Posts: 18
Joined: 21 May 2016, 17:38

Re: Many MQTT reconnects in 113

#2 Post by Yves911 » 03 Aug 2016, 19:01

I think your problem is because Unit nr Each ESP Easy unit needs a unique number in the range 1-31. This is important for MQTT connections and the Node list! Do not forget to set this field to a non-zero value, not conflicting with other units.
see here http://www.esp8266.nu/index.php/ESPEasy
Cheers

fluppie
Normal user
Posts: 89
Joined: 09 Oct 2015, 13:23

Re: Many MQTT reconnects in 113

#3 Post by fluppie » 04 Aug 2016, 21:03

Any idea why it's limited to 31 nodes?

ambassadoro
Normal user
Posts: 40
Joined: 17 Nov 2015, 15:58

Re: Many MQTT reconnects in 113

#4 Post by ambassadoro » 05 Aug 2016, 08:22

Great!
That was the solution, I changed from 99 to 17 and now it works!

Post Reply

Who is online

Users browsing this forum: No registered users and 32 guests