Jump to content

Motion Sensor program inquiry


Go to solution Solved by jec6613,

Recommended Posts

I am not sure where to post this, so I'll start here in a casual setting.

I am not a newbie but my programming skills need some "brushing up" (or maybe I just need to educate myself.) I have not figured a simple way to accomplish the following:

Motion Sensor A senses motion,

Turns on Light B

Once motion sensor has returned to off state, 

Light  is turned off.

 

Does this need two programs?

 

 

Edited by glacier991
Link to comment

If your motion sensor sends periodic “on” commands during continuous motion (e.g. Insteon MS), you could use one program:

If
    Motion Sensor A is switched on
Then
    Turn Switch B On
     Wait 5 minutes 
   Turn Switch B off
Else
    Nothing

This would turn the light on on motion and turn it off 5 minutes after the LAST motion command was sent.

Link to comment
  • Solution
7 hours ago, glacier991 said:

My bad, I forgot to mention the light switch is an x 10 device, so cannot act as a responder. Which left me to ponder a programming solution.

(yes. I could change it..but if I can program it to work....)

In that case, yeah, I'd use two programs.  MS On fires your X10 On, MS Off fires your X10 Off.

There are tons of other ways to do it, but I'd keep it simple.

Link to comment
Guest
This topic is now closed to further replies.

×
×
  • Create New...