wlodekd Posted October 30, 2009 Posted October 30, 2009 Dear Forum, Please help with the following problem. Garage has motion sensor and TriggerLinc. How to write ISY program checking order of events and take action depending of the result. If TriggerLinc is On first and MotionDetector On second that means car is incoming. Opposite order car is out. Thanks for the help - Walter
Xathros Posted October 30, 2009 Posted October 30, 2009 Hi Walter. I would be looking at the difference between status and control. If one is on then the other comes on I think it would work like this: Prog 1: If status Trigger Link is On AND Control Motion Sensor is switched on Then Run I'm Home (then) Prog 2: If status Motion Sensor is on AND control Trigger link is switched on Then Run I'm leaving (then) You don't really need the I'm Home and I'm Leaving programs. You can just add what you need to the then side of the test programs. I just like to keep my stuff modular for reuse elsewhere. Hope this helps. -X
wlodekd Posted October 30, 2009 Author Posted October 30, 2009 That is an excellent idea. I was looking for the way to check and compare time of events, but your way is simple and very "elegant". Best regards Walter
Recommended Posts