Search found 4 matches

by AndyRoosendaalNL
Wednesday 23 April 2014 13:45
Forum: Blockly
Topic: Set for X minutes, but I want light when motion is still ON
Replies: 20
Views: 16794

Re: Set for X minutes, but I want light when motion is still

:D Even better! Great going Simon.
by AndyRoosendaalNL
Wednesday 23 April 2014 12:06
Forum: Blockly
Topic: Set for X minutes, but I want light when motion is still ON
Replies: 20
Views: 16794

Re: Set for X minutes, but I want light when motion is still

Thank you for your reply. The obvious disadvantage using the dummy switch of course, is the 'hard coded' switch name. It's name in the script will not change when you change the name in Domoticz causing errors. And also, for every switch you want to include, you will need an additional IF THEN code ...
by AndyRoosendaalNL
Tuesday 22 April 2014 18:48
Forum: Blockly
Topic: Set for X minutes, but I want light when motion is still ON
Replies: 20
Views: 16794

Re: Set for X minutes, but I want light when motion is still

Thanks all for the input. I have installed the extended Smart Lua Script, and I am still testing the enviroment. A question about the script_device_pirs : I have a dummy switch in Domoticz for a nighttime, which starts 1,5 hours earlier than the actual sundown time. Now I want the x in ...
by AndyRoosendaalNL
Friday 18 April 2014 11:22
Forum: Blockly
Topic: Set for X minutes, but I want light when motion is still ON
Replies: 20
Views: 16794

Set for X minutes, but I want light when motion is still ON

Hi all, I am using Blocky; When I detect motion, I want to set the light on for 1 minutes. No problem sofar. But after 1 minute, the light is switched off, even when I'm still in the room. That's just the way the [Set for X minutes] works. What I want is the light to be on for let's say 1 minute ...