Hi All,

I am working on a similar script to this project : depthai-experiments/gen2-poe-mqtt at master · luxonis/depthai-experiments · GitHub. I am just adding the standalone mode using the bootloader.
The script works fine but after some time ( 2-3 days) the connection is lost and the camera does not send messages anymore and I am obliged to reflash the script again to the camera to make it work again.
The project is applied in industry. Is there a better way to avoid reflashing the script or reconnecting the camera in error situations?

Do you have some suggestions for this ?

Thank you very much for your help

Hi @martin181818

  1. If only the communication stops: Have a soft watchdog that will check if POE connection works (pings work), otherwise run a exit() command that will essentially crash the device and automatically reboot it. The comms should be back online then.
  2. Have a smart POE switch that checks the traffic and power-cycles the device incase it stops responding.

Thoughts?
Jaka