Page 1 of 1

"infinite" lua script

Posted: Monday 17 July 2017 23:38
by tapas
Hi, another newbie question :oops: I have a lua script that reads a file and searches for hw addresses and if they are found, a dummy switch is turned on. When I connect a device, the file includes a hw address, otherwise the file is empty. My script works the way I want when manually run via another dummy switch that kicks the script on.

Is it possible to make script run "automatically" without a dummy switch?

Re: "infinite" lua script

Posted: Tuesday 18 July 2017 6:58
by dannybloe
Create a timer script. It wil run every minute. See the wiki how to do this.