Sensing direction of movement

Started by Dr.Fiero, October 04, 2010, 11:09:34 AM

Previous topic - Next topic

Dr.Fiero

This may have been hashed out before, but I couldn't find anything with a search....

What I'm trying to do, is sense if someone is walking UP the driveway (towards the house), or DOWN (away from the house).
No sense in turning on the inside lights if I'm leaving, right!

I have a motion sensor at the door (i6) and one at the bottom of the driveway (i7).

If we could write in code, I'd do it as and IF/THEN statement (with apologies to BASIC haters!). 
Is there a way to do that with AHP that I've never seen, or am I forced to set a flag, clear them, etc etc?  (pita!).

Puck

Quote from: Dr.Fiero on October 04, 2010, 11:09:34 AM
...or am I forced to set a flag, clear them, etc etc?  (pita!).

Why are flags a "pita"  ???

I think they are a very good tool for controlling conditions. I used a similar setup for determining the direction of travel on a set of indoor stairs.

Anyways, what you want to do is very easily done in AHP, and it is flags that make the task easy. You could also used your monitored house code for conditions if you find flags to be too much of a "pita".

Don N

#2
Dr.Fiero -- not sure if this will help your situation.  But I use a monitored house code to accomplish a similar task.  I have a motion sensor mounted inside the driver's door in each of our vehicles.  Each car has a separated monitored code.  When the driver opens the car door to get into any car that car's motion sensor triggers a macro that turns on a monitored house code.  Certain events are then activated.  When any car returns (driver door opened) another macro is triggered by the motion sensor and turns off the monitored house code.  Again, certain events are then activated.  The monitored house code works great in my setup.

calldrin

Quote from: Don N on October 04, 2010, 02:11:49 PM
Dr.Fiero -- not sure if this will help your situation.  But I use a monitored house code to accomplish a similar task.  I have a motion sensor mounted inside the driver's door in each of our vehicles.  Each car has a separated monitored code.  When the driver opens the car door to get into any car that car's motion sensor triggers a macro that turns on a monitored house code.  Certain events are then activated.  When any car returns (driver door opened) another macro is triggered by the motion sensor and turns off the monitored house code.  Again, certain events are then activated.  The monitored house code works great in my setup.

Thanks for this interesting idea.
Can you please send more details?
What sensors are you using and where and how are  you mounting them in the car?
What events are you running when when triggered?
What is the range of the sensors?

Thank you,
Chuck

Don N

calldrin -- The sensors I'm using are the MS16A motion sensor.  And they are just mounted (or wedged) between the seat and the door sill.  There is plenty of room in all three of our cars to do that.  I didn't have to permanently attach them.  They kind of wedged themselves in there nice and neat.  There are all sorts of things you can do; turn on lights, music, TV, cameras, announcements (using Bill's BXVC (Bill's X10 Voice Commander)), etc.

I have a RR501 Tranceiver in the garage that receives the RF from the motion sensors and then sends the information via the PLC to my AH15A where the macros are stored.  Also, I have an X10 "stick-a-switch" that is activated before someone drives away in a car.  This switch turns on the outside cameras and sets a flag.  That way if I'm working on the cars in the garage (opening/closing the driver's door) nothing happens unless the flag is set by the x!0 "stick-a switch."

Also, I have a PSC01 PowerFlash module for each garage door that acts as another failsafe thingy.  When the garage door is open/closed it checks to see if the X10 "stick-a-switch" has has been turned on before macros are initiated.  This kind of prevents lights, TV, music, etc. being turned on incorrectly.

Hope this helps.     

SMF spam blocked by CleanTalk