Logic Machine Forum
Script not working - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: General (https://forum.logicmachine.net/forumdisplay.php?fid=2)
+--- Thread: Script not working (/showthread.php?tid=3749)



Script not working - thomasoppida - 15.12.2021

Hi,

I have a problem with running scripts on my LM5 lite.
I have tried to create very simple resident and event scripts with no luck.

Updated LM5 to version 20211014.

The LM5 is brand new. I have only integrated some modbus rtu and mapped these to groupadresses. This works.

Created a simple eventscript to update the value to another group address. This does not do anything.

Created also a resident script every 5 second to write test to the log. No response.

I have another LM5 were I tested the same, this worked.

Is there some corrupt packages?

I can se in running processes all my lua resident scripts running and also using cpu. Nothing in systemlog.

KR
Thomas


RE: Script not working - Daniel - 15.12.2021

Post your script and use logs to check where could be issue.


RE: Script not working - thomasoppida - 15.12.2021

(15.12.2021, 09:29)Daniel Wrote: Post your script and use logs to check where could be issue.

Same resident script running on two different LM's..

I have enabled/disabled and also rebooted


RE: Script not working - Daniel - 15.12.2021

Can you provide remote access. Use zerotier if it will work Smile


RE: Script not working - thomasoppida - 15.12.2021

(15.12.2021, 11:31)Daniel Wrote: Can you provide remote access. Use zerotier if it will work Smile

Yes. Do u have a network ID?


RE: Script not working - Daniel - 15.12.2021

This case is sorted. Script in user library with autoload enabled...