I have the majority of the lights in my house and garage connected to z-wave switches. I have the arduino plugin which allows it to be interfaced to DSC motion sensors, I have around 15 that I will be installing in the house and garage. The setup scheme will be the same for all the motions sensors. What I would like to do is have a virtual device that is toggled when it detects motion, for occupancy tracking. So for example a motion detector is tripped, that virtual device changes to occupied and stays there for 30 seconds and then switches back to unoccupied. That way it would be easy to track which rooms are currently being occupied, or where a person is travelling through the house.
Along with that when a motion detector is tripped it will turn on the appropriate light (after sunset) and start a timer. Every time there is motion it resets the timer. Once the timer hits a set level (for example 10 minutes), then the light shuts off.
Does this sound like the right train of thought? Reason I want to bounce it off you guys is because once I do this for one zone, I will have to do this another 15 times. So any fat trimming or optimizing I can do now, will save me a bunch of effort down the road.
Along with that when a motion detector is tripped it will turn on the appropriate light (after sunset) and start a timer. Every time there is motion it resets the timer. Once the timer hits a set level (for example 10 minutes), then the light shuts off.
Does this sound like the right train of thought? Reason I want to bounce it off you guys is because once I do this for one zone, I will have to do this another 15 times. So any fat trimming or optimizing I can do now, will save me a bunch of effort down the road.
Comment