I’m wondering if it is possible to restart an AppDaemon app from within an AppDaemon app.
I’m using an AppDaemon python script (running on a Synology Nas) communicating via modbus to 14 Arduino’s. This works fine but once in a while (~once per 3 to 7 days) I loose communication to one of the Arduino’s. Everytime a different one so difficult to pinpoint the rootcause.
Restarting AppDaemon solves the problem. I would like to automatically restart the AppDaemon app (or AppDaemon completely) to prevent a manual restart of AppDaemon. Is this possible? I couldn’t find it by googling…