HOw to deal with presence detection if phone has no battery

SO here is the thing: I have set up presence detection that works very well but some automations get triggered because my wife’s phone has run out of battery or is in flight mode and the system thinks she is not physically at home. How can i deal with this exceptions?

Can you please share the triggers and conditions sections of an automation where this happens?

Either you tag her with a bluetooth tag and scan for it at home or you could detect opening of door and if none else is home then it’s her.

But non of them is really a good option.

The triggers are if zone.home goes 0 then arm alarm. If i leave the place and she is not reported home then the alarm arms. I have also a condition that checks if movement is registered in the house , and if true it rechecks after 10 mins. The problem is if she is sleeping then no movement is registered and the alarm arms (since most of the times i leave early in the morning).

In this scenario she must have come home with airplane mode on.
If the phone lose connection with HA then HA keeps the last position.

The issue is that you can’t detect airplane mode since as soon as it’s activated then the phone can’t send that to HA.

In this case a bed sensor would work, but that is no solution to the problem.

again, can you please pose the triggers and conditions sections so I can play with it and try to find a solution for you.

The Bermuda integration has just introduced a “last seen” sensor which may help.

I’d say that a Bluetooth key fob is the probably the most reliable solution for you here.
Set it up with Bermuda and you don’t need to worry about a phone running out of battery or being in flight mode - unless the WAF is so low that she’ll find a way to ‘forget’ that tracker by accident as well :stuck_out_tongue: