Search found 3 matches

by Sjefske85
Thursday 08 August 2019 13:33
Forum: LUA
Topic: FOR 60 Minutes ( doesn't switch off after 2 commands )
Replies: 6
Views: 1157

Re: FOR 60 Minutes ( doesn't switch off after 2 commands )

Hi Guys thanks for your help :D Just tested the code and it works like a charm "PowerOff" is the harmony hub (remote) status. So if the no media is playing the lights are controlled by "Motion sensors" If the radio or whatever is switched on the "Presence" is forced to on despite sitting like a ...
by Sjefske85
Tuesday 06 August 2019 18:14
Forum: LUA
Topic: FOR 60 Minutes ( doesn't switch off after 2 commands )
Replies: 6
Views: 1157

Re: FOR 60 Minutes ( doesn't switch off after 2 commands )

Thnx I'll try this evening.
by Sjefske85
Tuesday 06 August 2019 17:35
Forum: LUA
Topic: FOR 60 Minutes ( doesn't switch off after 2 commands )
Replies: 6
Views: 1157

FOR 60 Minutes ( doesn't switch off after 2 commands )

Hi All, I'm struggling with some easy stuff. All I want to do is switch a dummy to detect presence for an x time to control lights . The code below works but if the switch is triggered for a second time within the countdown time the 'Presence' won't go to it's OFF state any more every time there is ...