-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After power up / power down, device does not reconnect to MQTT broker #44
Comments
Added timeout for mqtt connection and return to mainLoop |
Testing overnight (mainDebug=1, sleep=18000, motion=4(=default)): Probably motion=4 is too sensitive and is triggered by the odd fly in my office, trying motion=63 later
|
Maybe CGATT is still too early - not sure if it is related to the problem anyhow as the mqtt connection works later on:
|
solved. gw was stuck in a loop during shutdown in offline. Now watches grps- and mqttTimeouts. |
GPS fix is ok (red light and $state)
Network is available (yellow light blinking twice and $state)
MQTTconnect returns 32103=Unable to connect to server
Can only be solved by HW reset
a) find reason for problem
hint: at+cgatt=1 returns ERROR
b) add timeout for 32103 and use GPIO Watchdog to reset device
The text was updated successfully, but these errors were encountered: