TomG
November 14, 2020, 12:07am
1
Made a rule to lock the front door when both of us leave, but the door locks when either of us leave. Looking in the rule, it says when any leave. How in the Sam Hill do I make a rule that runs when both of us leave?
Apologies to anyone here named Sam Hill.
Can you post screen shot of rule?
Hasty1
November 14, 2020, 12:12am
3
I think this might be the most efficient way.
Trigger: device1, device2 any leaves
Action:
Wait for condition device1 device2 all not present
Lock door
1 Like
Might I suggest a much easier way using a community app, either Combined Presence or Presence Plus? Both are excellent apps that do what you want without a fairly complex rule.
https://github.com/joelwetzel/Hubitat-Combined-Presence
Combined Presence app for Hubitat
An app for Hubitat to combine two or more presence sensors to control an output Virtual Presence Sensor.
There are 3 types of combiners:
Standard Combiners (Use this for combining wifi and gps-based sensors for a single person. It is optimized for that.)
Boolean-OR Combiners (Example: If Person1 OR Person2 is home, then the virtual SomeoneIsHome sensor should be home.)
Advanced Combiners (All logic o…
*** BPTWorld apps are no longer being developed or maintained. Thanks ***
Introducing 'Presence Plus'
Creates a combined presence device that can be used with BPTWorld Apps, Google Assistant, Rule Machine and More!
This is a simple way to combine presence sensors. Built with other BPTWorld apps in mind, this will make it easier to expand the functions of other BPTWorld apps that rely on 'Last activity' data.
Features:
Combine sensors to make one unique device reflecting presence
Uses Prese…
1 Like
If you do as @Hasty1 suggested and add a conditional at start of your Actions of IF you AND wife not present, THEN.....
Finally, as a good habit, add an ENDIF at end.
1 Like