Jump to content

Motion OFF only on conditions?


gregoryx

Recommended Posts

Posted

Help!

 

I'm having trouble figuring out the right programming for this.

 

I want a motion to turn OFF lights only. Easy enough: not linked to the light, only to the ISY; use a program to trigger the OFF, and ignore the ON. This way I can control via ambient light levels or time of day or whatever whether it will go on or not.

 

The challenge is that I want a "warning" before I turn it off based on the timer. I'm a bit stuck on how to do that AND have the warning work by calling OFF the "turn off the light" function if there is more motion.

Posted

How about something like this:

 

If
       Control 'Motion Sensor' is Off
   And Control 'Motion Sensor' is not On

Then
       Wait 30 seconds
       Set Scene 'Lights' Off

Else
       No Actions

 

 

I haven't tested this, but I believe this would turn the lights OFF 30 seconds after receiving the Motion Sensor's OFF command UNLESS more motion is detected during that 30 seconds.

Posted

Yes, that works Mike. Here I have added a flash for a warning.

 

If
       Control 'Motion Sensor' is switched Off
   And Control 'Motion Sensor' is not switched On

Then
       Wait 30 seconds
       Set Scene 'Lights' Fast On
       Set Scene 'Lights' On
       Wait 30 seconds
       Set Scene 'Lights' Off

Else
       No Actions

 

Rand

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.4k
×
×
  • Create New...