I need more syntax help than anything
Front door has motion, camera, door sensor and zwave lock.
We also have a google hub that connects (grabs) our iPhones pretty fast when we get home. (Bob-is-home is the flag that ifttt and google use when I am within the houses network range)
I am trying to build an if/and clause that will unlock the front door when we get home.
What I have so far is:
If (Bob-is-home) has been off for at least 5 min
And if front door is closed
And if front door is locked
And (Bob-is-home) changes to ON
And Activity at front door
Unlock front door
5 min should prevent any unnecessary lock/unlock if the network hiccups.
Don't bother if the front door is open
Don't bother if it is already unlocked
The network sees me
I am at the front door (presumably)
Unlock....
This shouldn't mess up the midnight "off & lock" routine
What am I missing? How do I make it more robust since some things may not happen in the right order. I.e., in I sit in my car for a moment before coming in, the network may grab me before I get to the front door...
Front door has motion, camera, door sensor and zwave lock.
We also have a google hub that connects (grabs) our iPhones pretty fast when we get home. (Bob-is-home is the flag that ifttt and google use when I am within the houses network range)
I am trying to build an if/and clause that will unlock the front door when we get home.
What I have so far is:
If (Bob-is-home) has been off for at least 5 min
And if front door is closed
And if front door is locked
And (Bob-is-home) changes to ON
And Activity at front door
Unlock front door
5 min should prevent any unnecessary lock/unlock if the network hiccups.
Don't bother if the front door is open
Don't bother if it is already unlocked
The network sees me
I am at the front door (presumably)
Unlock....
This shouldn't mess up the midnight "off & lock" routine
What am I missing? How do I make it more robust since some things may not happen in the right order. I.e., in I sit in my car for a moment before coming in, the network may grab me before I get to the front door...
Comment