Logic Machine Forum
Script to reboot - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Script to reboot (/showthread.php?tid=6024)



Script to reboot - hocine - 16.06.2025

Hello,

I have Zigbee products and I don't know why they disconnect from time to time. 
When I restart the controller the products reconnect.

Is there a script to restart the controller automatically at a certain time?

Thx


RE: Script to reboot - admin - 16.06.2025

Which gateway are you using - USB or RS232? Do you have any errors in ZigBee app logs and LM error logs?


RE: Script to reboot - hocine - 17.06.2025

(16.06.2025, 13:13)admin Wrote: Which gateway are you using - USB or RS232? Do you have any errors in ZigBee app logs and LM error logs?

i use USB dongle and i don't see any error


RE: Script to reboot - admin - 17.06.2025

RS232 is recommended for stability reasons.

Check if USB has been disconnected in System config > System > System log. Logs in the ZigBee app should also show that the app was restarted due to communication timeout.


RE: Script to reboot - hocine - 17.06.2025

(Yesterday, 10:34)admin Wrote: RS232 is recommended for stability reasons.

Check if USB has been disconnected in System config > System > System log. Logs in the ZigBee app should also show that the app was restarted due to communication timeout.

I'll get the logs next time I go on site