Thanks for the explanation @andrewjfreyer , but based on what you said, will it completely solve the problem? This will potentially solve when both are in, how about if just him is in and the phone dies? Or if there are multiple ppl in the home like a guest? (which at this point, is scary in thought considering the security risk).
I think the best approach is some extra form of intelligence in the management script, and not just forcing monitor to scan depart only. Whereby if a device declared away, and yet the door wasn’t opened within the timeout period with an offset if -30 seconds. There will be use cases for that of course, like if everyone is home, no need scanning arrival for extra security.
Better still for added security I think, have a sensor at the door that tells it someone is in front of it, either via a proximity or step sensor or something. So a device declared as Arrived with the door sensor being active tells it someone wants to get in. This was part of the reason I wanted to know how it was being activated from the door before monitor is instructed to scan.
Hope I made sense?