Hi Schford - That\'s sort of what I expected so now I am going to have to understand how I combine the lights on code with the bypass the the back door bit.
In my case both PIR 2 and 3 will are running an on responce for turning a z-wave appliance on and will also be required to start a timer. These events will have different conditions as well. So night lights between 0 - 8am, and the bypass zone will be when the night alarm is set around 1 - 7.
Maybe I have to change that and look at making the conditions the same, however we sometimes go to bed just before 1 so the bypass zone would not work unless I look at all possible route within the house to the back door and get timers running for all PIR\'s. To keep this simple I just though I know the route from the bedroom to back door and that we are normally in bed before 1 so hay presto.
10-20-2011, 07:23 AM (This post was last modified: 10-20-2011, 07:26 AM by schford.)
My understanding is that all the code unless it is within an if statement effectively happens at the same time within a response - so just have a cpl more lines after or before the if statement to turn the lights on for your Response HallPirOn
As an aside to make it easier I have all my responses based on actions called RoomObjectOn or Off - eg I would have HallPirOn and HallPIROff
On another note - why dont you put the code to switch the light off under the PIR off response? That way it would not kick in until you had left the room...
As there are so many timers I also find it easier to name my timers after rooms so I never mix them up as well :-)
10-20-2011, 10:55 AM (This post was last modified: 10-20-2011, 10:58 AM by ident.)
When you assign a Zone ON Responsem, you do not have to test that the zone is on,
eg in your screenshot you have
If MasterBedroomPIR<>0 Then ...
If this is the Master Bedroom PIR ONResponse then it is activated only if the Master Bedroom PIR becomes active, so that IF MasterBedroomPIR statement is redundant
However you can test if other zones are also on
eg
In Zone 1 Response you can test if Zone 2 etc are on