Search found 2 matches

by frankh
Monday 12 March 2018 13:23
Forum: LUA
Topic: Lux, motion and door script - Help
Replies: 1
Views: 605

Re: Lux, motion and door script - [SOLVED]

I did find out :D

if (devicechanged[t]=='Off' and otherdevices[a]=='Off' and otherdevices[c]=='Off') then
commandArray['Scene:Yttergang Off']='On'

:lol:
by frankh
Monday 12 March 2018 13:17
Forum: LUA
Topic: Lux, motion and door script - Help
Replies: 1
Views: 605

Lux, motion and door script - Help

Hi there! Can someone please help me get this working. Cant find out why it wont Off. My intention is when every device is closed the light is Off . commandArray = {} a = 'Motion sensor' b = 'Light' c = 'door contact' d = 'lux' t = 'DUMMY' e = 500 -- Lys på ved Lux under verdien i (e) h = tonumber( ...