Skip to content
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

Public test demo is disconnecting after ~1-2 days, even after power cycling #249

Open
sgbaird opened this issue Sep 12, 2024 · 1 comment

Comments

@sgbaird
Copy link
Member

sgbaird commented Sep 12, 2024

Seems possibly related to use of MQTT simple. Reinstalled MicroPython. Certificate is likely OK. Could be related to MongoDB Data API (seems unlikely). Probably best to swap out the microcontroller to check, and possibly update from mqtt simple to mqtt_as.

@sgbaird
Copy link
Member Author

sgbaird commented Sep 21, 2024

Watchdog timer may help in this regard, and perhaps circumvent the issue in Thonny with unceremonious exit of the program.

AccelerationConsortium/ac-training-lab#40 (comment)

Just recently, the last error was related to WiFi disconnection.

Moving to mqtt.robust or mqtt_as may help with this as well.

Also:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant