self-driving-lab-demo icon indicating copy to clipboard operation
self-driving-lab-demo copied to clipboard

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

Open sgbaird opened this issue 1 year ago • 1 comments

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 avatar Sep 12 '24 18:09 sgbaird

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

sgbaird avatar Sep 21 '24 07:09 sgbaird