Thank you for you reply,
I add this dummy switch just to do some testing, but I also tried the same script with another device (door detection) but with the same result. I'm switching the dummy device manually. Nothing special about that, it's just a "default" dummy switch on/off device.
I tried ...
Search found 2 matches
- Wednesday 22 March 2017 0:38
- Forum: LUA
- Topic: Scripts not being triggered
- Replies: 3
- Views: 1605
- Tuesday 21 March 2017 23:27
- Forum: LUA
- Topic: Scripts not being triggered
- Replies: 3
- Views: 1605
Scripts not being triggered
Hello,
I have some troubles using lua scripts. They aren't working at all, whatever I write. For example here with a dummy switch named "dummy":
commandArray = {}
if (otherdevices['dummy'] == 'On') then
print ("Hello world")
end
return commandArray
nothing happen when I switch on/off my device ...
I have some troubles using lua scripts. They aren't working at all, whatever I write. For example here with a dummy switch named "dummy":
commandArray = {}
if (otherdevices['dummy'] == 'On') then
print ("Hello world")
end
return commandArray
nothing happen when I switch on/off my device ...