Many, MANY thanks. It was the reading of the selector value into the script that had eluded me.
All working and understood... now the fun really begins!
Keith
Search found 3 matches
- Tuesday 19 February 2019 17:24
- Forum: Switches and Scenes
- Topic: Dummy selector, script not running
- Replies: 4
- Views: 1332
- Tuesday 19 February 2019 15:45
- Forum: Switches and Scenes
- Topic: Dummy selector, script not running
- Replies: 4
- Views: 1332
Re: Dummy selector, script not running
Thanks for the quick reply, Jos, but I'm still a little puzzled. I suspect I've phrased my question incorrectly, so let me try again.
As per this section in the wiki, By adding your own scripts to the scripts/lua/ dir in your domoticz installation folder I have a dozen scripts (event, device, time ...
As per this section in the wiki, By adding your own scripts to the scripts/lua/ dir in your domoticz installation folder I have a dozen scripts (event, device, time ...
- Monday 18 February 2019 18:06
- Forum: Switches and Scenes
- Topic: Dummy selector, script not running
- Replies: 4
- Views: 1332
Dummy selector, script not running
Hi,
First time post and I'm stumped..
I have a dummy selector switch called 'override'. I've set up values of 0, 10, 20, 30 with corresponding lua scripts of, e.g.,
script:///home/pi/domoticz/scripts/lua/override30.lua
The lua scripts contain
#!/usr/bin/lua
command Array = {}
print ('hello ...
First time post and I'm stumped..
I have a dummy selector switch called 'override'. I've set up values of 0, 10, 20, 30 with corresponding lua scripts of, e.g.,
script:///home/pi/domoticz/scripts/lua/override30.lua
The lua scripts contain
#!/usr/bin/lua
command Array = {}
print ('hello ...