It is not practical for me to use phone devices to determine it people (children) are present. I have used a motion detector and a timer to determine presence.
If no motion is detected in the previous 12 hours then my family must be away. I then set a viable named "Away" and condition all my automatic actions on it's being false.
Under Hubitat how should I do this. How do I establish this variable?
Set up a virtual presence sensor and base "Away" and "return from Away" on that.
In rule machine, set a trigger to motion detectors are inactive and stays for 12 hours. In the actions, change the presence sensor to "departed", then wait until motion detectors are active and change the presence sensor to "arrived".