Hi everyone,
I need some help with automation in Home Assistant that I’ve been struggling to get right. I search on the forums and in fact, that allowed me to get until the current point but still isn’t working as expected.
Current Setup:
Home Assistant OS installed on baremetal (13.0) with Alarmo installed.
We all have the Home Assistant Companion App installed with tracker enabled (working fine in all devices)
I have an automation that arms or disarms “Alarmo” based on the proximity of mobile devices with the Home Assistant app installed. There are a total of three devices that we track:
- When Person 1’s device enters the defined location radius, the alarm is disarmed.
- When Person 1’s device leaves the radius, the alarm is armed.
This setup works fine for single users, but I have run into an issue when multiple people are involved.
The Problem:
Let’s say Person 1 leaves the location, but Person 2 or Person 3 is still within the radius. As the automation is currently set up, the alarm would arm even though there are still people in the location, which is not what I want.
I understand that I could potentially solve this with a series of AND/OR conditions, checking whether the other devices are home or not before arming the alarm. However, since there are three people involved, this approach would require multiple combinations and could become quite complex.
What I’m Looking For:
I’m seeking a solution that can evaluate the state of “nobody home” in a more straightforward way, ensuring that the alarm only arms when none of the devices are within the defined location. We all have the Home assistant companion App.
Should I create a Group (helpers, under Devices) for that or is not a secure option?
Additional Context:
- I cannot use Wi-Fi-based tracking because the Wi-Fi coverage is insufficient to reliably detect if someone is home, as the location is in a rural area.
Any suggestions on how to best implement this would be greatly appreciated!