Hello all,
I am trying to be able to determine if all my locks are in a locked start. I have chosen to create 2 simple events for locked and unlock for each of 3 locks. They look like:
These are tied to the changing of the lock status. Then I have a very simple test routine:
Looking at my counters, page I see:
So, all of my counters are 1. 1 !=2 for all 3 locks. BUT I get an email *every* time and all the locks show locked.
I have checked and tested the actions of locking and unlocking. The counter values are correct. They change/update correctly.
What am I missing here? This seems like very simple logic. I do not have any exotic conditions or logic. I am testing this by calling the check lock event when one of the doors goes to the locked state.
I am trying to be able to determine if all my locks are in a locked start. I have chosen to create 2 simple events for locked and unlock for each of 3 locks. They look like:
IF | Back door Z-Wave Lock changes and becomes Locked |
Then | Reset counter back-door-locked to value 1 |
IF | Garage Door Z-Wave Door Lock changes and becomes Unlocked |
Then | Reset counter back-door-locked to value 2 |
These are tied to the changing of the lock status. Then I have a very simple test routine:
IF | back-door-locked value has become this absolute value: 2 |
OR IF | front-door-locked value has become this absolute value: 2 |
OR IF | garage-door-locked value has become this absolute value: 2 |
Then | Send an Email |
Looking at my counters, page I see:
Name | Value | (Action) | ||||||||||||||||||
back-door-locked | 1 |
Increment and Decrement are by '1', and Reset is to '0', unless another value is entered here: | |||||||||||||||||||||||||||
front-door-locked | 1 |
Increment and Decrement are by '1', and Reset is to '0', unless another value is entered here: | |||||||||||||||||||||||||||
garage-door-locked | 1 |
Increment and Decrement are by '1', and Reset is to '0', unless another value is entered here: |
I have checked and tested the actions of locking and unlocking. The counter values are correct. They change/update correctly.
What am I missing here? This seems like very simple logic. I do not have any exotic conditions or logic. I am testing this by calling the check lock event when one of the doors goes to the locked state.
Comment