Search found 2 matches

by Henri
Monday 04 April 2016 19:05
Forum: LUA
Topic: LUA If then problem
Replies: 2
Views: 981

Re: LUA If then problem

Thank you, i will try it.

It works now with the extra brackets.
by Henri
Monday 04 April 2016 0:31
Forum: LUA
Topic: LUA If then problem
Replies: 2
Views: 981

LUA If then problem

Hello,

I'm using 3.4834 running on Ubuntu 14.04 and this script was working before 3.4834.
The script is looking for a device change and if this device is an Door/Window contact (starting with DC in the device name) the alarm variable is set to 1.

commandArray = {}

Sound = uservariables["Sound ...