Logic Machine Forum
Restart LM through script - 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: Restart LM through script (/showthread.php?tid=1735)



Restart LM through script - gonzalobandeira@gmail.com - 20.11.2018

Every once in a while my LM visualization freezes and I have to manually restart the LM. After restarting everything works fine again. 

I have no idea yet what the problem might but in the meanwhile I would like to restart the LM automatically periodicaly. Is there a way to perform this action with a script? 

Thank you.


RE: Restart LM through script - admin - 20.11.2018

Can you describe what happens in more detail? You cannot access the visualization completely or new object values are not received? Also, which firmware are you using?


RE: Restart LM through script - gonzalobandeira@gmail.com - 29.11.2018

(20.11.2018, 11:56)admin Wrote: Can you describe what happens in more detail? You cannot access the visualization completely or new object values are not received? Also, which firmware are you using?

I am using LM5p_DW1 with firmware Versión: 20170620 . 

The LM is still working and sending KNX telegrams, however, it is not updating its values with new telegrams. It happens, in average, once every month. A restart is enough to get it working properly again. 

Any suggestions?


RE: Restart LM through script - admin - 29.11.2018

Try installing 2018 RC1 firmware.


RE: Restart LM through script - gonzalobandeira@gmail.com - 29.11.2018

(29.11.2018, 12:12)admin Wrote: Try installing 2018 RC1 firmware.

Where can I find it? 

I have not been able to find it in the firmwares page


RE: Restart LM through script - admin - 29.11.2018

https://forum.logicmachine.net/showthread.php?tid=1562


RE: Restart LM through script - rogerabit - 30.01.2019

Hey,
But it's possible restart de LM with an scheduled script?


RE: Restart LM through script - admin - 30.01.2019

While this is possible it does not solve the underlying issue. Why do you need to reboot the device?


RE: Restart LM through script - rogerabit - 30.01.2019

Just to know and try it


RE: Restart LM through script - Daniel - 31.01.2019

(30.01.2019, 16:30)rogerabit Wrote: Just to know and try it

os.execute("reboot")

but still you should find real reason for your issue.  Be careful with it as you may end up it permanent reboot loop if you use it wrong.