You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the Python example mqtt_client.py as-is; no major modifications and AIO seems to kick me out every 5 minutes to the second? I see no time out in the code; am I missing something or is this an AIO issue?
My log is below; with minor fluctuations within a matter of seconds I do get kicked out every 5 minutes; I did modify the exmaple so that it re-connects right away but I though I bring this up.
Thanks
Connected to Adafruit IO! Listening for festival changes...
Current date & time Tue Aug 30 10:57:43 2016
Disconnected from Adafruit IO!
Current date & time Tue Aug 30 11:02:44 2016
Now we will re-connect to AIO
Connected to Adafruit IO! Listening for festival changes...
Current date & time Tue Aug 30 11:02:45 2016
Disconnected from Adafruit IO!
Current date & time Tue Aug 30 11:07:45 2016
Now we will re-connect to AIO
Connected to Adafruit IO! Listening for festival changes...
Current date & time Tue Aug 30 11:07:46 2016
Disconnected from Adafruit IO!
Current date & time Tue Aug 30 11:12:47 2016
Now we will re-connect to AIO
Connected to Adafruit IO! Listening for festival changes...
Current date & time Tue Aug 30 11:12:48 2016
Disconnected from Adafruit IO!
Current date & time Tue Aug 30 11:17:48 2016
Now we will re-connect to AIO
Connected to Adafruit IO! Listening for festival changes...
Current date & time Tue Aug 30 11:17:49 2016
Disconnected from Adafruit IO!
Current date & time Tue Aug 30 11:22:50 2016
Now we will re-connect to AIO
Connected to Adafruit IO! Listening for festival changes...
Current date & time Tue Aug 30 11:22:51 2016
Disconnected from Adafruit IO!
Current date & time Tue Aug 30 11:27:51 2016
Now we will re-connect to AIO
Connected to Adafruit IO! Listening for festival changes...
Current date & time Tue Aug 30 11:27:52 2016
Disconnected from Adafruit IO!
Current date & time Tue Aug 30 11:32:53 2016
The text was updated successfully, but these errors were encountered:
radudragusin
added a commit
to MonoHelixLabs/io-client-python
that referenced
this issue
Oct 2, 2016
Fix KEEP_ALIVE_SEC to be 60 seconds instead of the current value of 3600 which is in fact an hour.
This fixesadafruit#25 which is an issue because the broker disconnects after 300 seconds with no ping.
FYI - I had the same disconnection issue, and the patch @radudragusin posted fixed it for me.
@ladyada --> I love your stuff, but you might want to have someone spend some time polishing your python lib for IoT platform. The examples have some underlying bugs/flaws and users have pushed patches, but no one is merging them into your platform here on github.
Hi,
I am using the Python example mqtt_client.py as-is; no major modifications and AIO seems to kick me out every 5 minutes to the second? I see no time out in the code; am I missing something or is this an AIO issue?
My log is below; with minor fluctuations within a matter of seconds I do get kicked out every 5 minutes; I did modify the exmaple so that it re-connects right away but I though I bring this up.
Thanks
The text was updated successfully, but these errors were encountered: