self-driving-lab-demo
self-driving-lab-demo copied to clipboard
Public test demo is disconnecting after ~1-2 days, even after power cycling
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.
Watchdog timer may help in this regard, and perhaps circumvent the issue in Thonny with unceremonious exit of the program.
https://github.com/AccelerationConsortium/ac-training-lab/issues/40#issuecomment-2365047988
Just recently, the last error was related to WiFi disconnection.
Moving to mqtt.robust or mqtt_as may help with this as well.
Also:
- https://github.com/sparks-baird/self-driving-lab-demo/issues/196