Jump to content

Help with a motion programming scenario


jhoulihan

Recommended Posts

Posted

I have an Insteon motion sensor in my garage that triggers a program which turns on the lights when it senses motion and that program then runs another program that turns the lights off.

 

Everything works great but the problem is that at times I want to be able to override the turn-off part if I'm going to be working in the garage.

I haven't found a way to do this.

 

Any suggestions?

Here are my programs:

 

Motion-ON Program

 

If

Status 'Garage-Sensor' is On

 

Then

Set Scene 'Garage Lights' On

Wait 1 minute

Set Scene 'Basement Stair 3-Way' On

Wait 6 seconds

Set Scene 'Living Room Stairs 3-Way' On

Run Program 'Motion Garage OFF' (Then Path)

 

Else

- No Actions - (To add one, press 'Action')

_______________________________________________________________________

 

Motion-OFF Program

 

If

Status 'Garage-Sensor' is Off

 

Then

Wait 5 minutes

Set Scene 'Garage Lights' Off

Wait 6 seconds

Set Scene 'Basement Stair 3-Way' Off

Wait 6 seconds

Set Scene 'Living Room Stairs 3-Way' Off

 

Else

- No Actions - (To add one, press 'Action')

 

___________________________________________________________________

 

Timer Program

 

If

Control 'Garage Lights' is switched Fast On

 

Then

Set 'Garage Track' 50%

Wait 3 seconds

Set 'Garage Lights' On

Wait 5 seconds

Set 'Garage Track' On

Wait 1 hour

Set 'Garage Track' Fade Down

Wait 2 minutes

Set 'Garage Lights' Fade Down

 

Else

- No Actions - (To add one, press 'Action')

Posted

Hi jhoulihan,

 

You will have to modify the programs below to suit your hardware and device names and parameters. I'm using dimable switchlinks and wanted it so that any manual intervention with the paddle would effectively prevent the motion detector from controlling the light until the light was manually switched off. The only problem is it took me 5 programs to do it. If you search this board you will find other programs that provide similar functionality but they are different.

 

Regards,

Wayne

 

ps. if you work out a way to reduce the number of programs with the same functionality I would appreciate you posting the results.

 

Motion Turn On

If
       Control 'Ensuite MS - Sensor' is switched On
   And Status  'Ensuite SL - Mirror Light' is Off
   And Program 'Motion Disable (On)' is False
   And Program 'Motion Disable (Off)' is False

Then
       Set 'Ensuite SL - Mirror Light' 75%

Else
  - No Actions - (To add one, press 'Action')

 

Motion Turn Off

If
       Control 'Ensuite MS - Sensor' is switched Off
   And Status  'Ensuite SL - Mirror Light' is not Off
   And Program 'Motion Disable (On)' is False
   And Program 'Motion Disable (Off)' is False

Then
       Set 'Ensuite SL - Mirror Light' Off

Else
  - No Actions - (To add one, press 'Action')

 

Motion Disable (On)

If
       Control 'Ensuite SL - Mirror Light' is switched On
    Or Control 'Ensuite SL - Mirror Light' is switched Dim
    Or Control 'Ensuite SL - Mirror Light' is switched Bright
    Or Control 'Ensuite SL - Mirror Light' is switched Fast On
    Or Control 'Ensuite SL - Mirror Light' is switched Fade Down
    Or Control 'Ensuite SL - Mirror Light' is switched Fade Up

Then
  - No Actions - (To add one, press 'Action')

Else
  - No Actions - (To add one, press 'Action')

 

 

Motion Disable (Off)

If
       Control 'Ensuite SL - Mirror Light' is switched Off
    Or Control 'Ensuite SL - Mirror Light' is switched Fast Off

Then
       Run Program 'Motion Disable (On)' (If)

Else
  - No Actions - (To add one, press 'Action')

 

Reset Motion Disable

If
       Control 'Ensuite MS - Sensor' is switched Off

Then
       Run Program 'Motion Disable (Off)' (If)

Else
  - No Actions - (To add one, press 'Action')

Posted

I use Elk logic to do the same thing you're doing (and integrate doors opening and alarm state and light outside, etc). I use a KPL button to stop the automatic OFF or ON function.

 

It seems like you could probably add a similar "and" to your rules if you have a KPL that you could use a key as a control / toggle.

 

If that's an option, I'm sure we can figger the program.

 

If that's not an option - barring the introduction of the eventual "variables" or "phantom device" options - you could use any toggle device (like an appliance linc) to hold the "state" and you could activate it with faston/fastoff of any switch(es) you like, while keeping their function for other things. The bummer with this is no simple visual feedback... unless you plugged a nightlight into it or something...

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...