Comfort Automation/ Security System Forums

Full Version: Follower zone?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a way to create a type of \'follower\' zone? The scenario I want to create is as follows:

I have a Kitchen PIR that is marked as PIRAway and a Scullery PIR that is marked PIRNightAway. Now what should happen is that I can enter the kitchen in Night-Mode, no problem, but as soon as I enter the Scullery the alarm will sound.

I was thinking, what if I could setup the Scullery PIR to \'follow\' the Kitchen PIR. I want to be able to access the Scullery without the alarm going off, the good thing is that I HAVE to go via the Kitchen so the Kitchen PIR will pick me up first. In this case the alarm must NOT sound. If the Scullery PIR detects movement that didn\'t come via the kitchen then the alarm must sound.

Any ideas?
This can be done quite easily

- The Kitchen PIR should start a Timer for say 20 seconds in Night Mode
- The Scullery PIR Response checks the timer, and if running, Skips the alarm


See the sample ccl file (this has not been tested, please try it yourself)

This illustrates  the ability of Comfort to allow customised logic to be implemented
I \'ll give it a try. I had a similar idea that uses a flag. Set a flag when the Kitchen PIR detects motion, while this flag is set the Scullery PIR will ignore the alarm. Once you exit the scullery the Kitchen PIR will clear the flag and everything is back to normal.


After some \'real-world\' testing I found the timer to be the better option. One assumption I made, with my Flag method, was that the Kitchen PIR will only \'see\' you once. Infact, the PIR triggers multiple times because it sees me coming a mile away.


Thanks for the advice,
Ingo