Is it possible to make script run "automatically" without a dummy switch?
"infinite" lua script
Moderator: leecollings
-
tapas
- Posts: 16
- Joined: Thursday 18 May 2017 23:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
"infinite" lua script
Hi, another newbie question
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?
Is it possible to make script run "automatically" without a dummy switch?
-
dannybloe
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: "infinite" lua script
Create a timer script. It wil run every minute. See the wiki how to do this.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Who is online
Users browsing this forum: No registered users and 1 guest