home-assistant / home-assistant/android

High accuracy when entering zone within overlapping trigger range of second zone

Open
#2,966 15 comments 0 reactions 0 assignees View on GitHub
bug location-tracking
Dominant language
Kotlin
Stars
3.9k
Forks
1.1k
Avg merge
1d 12h
Merged PRs (30d)
81

Description

**Home Assistant Android version**: 2022.10.0-full

**Android version**: 12

**Phone model**: Samsung Galaxy A51

**Home Assistant version**: 2022.10.1

**Last working Home Assistant release (if known)**: not applicable

**Description of problem**: I am fortunate that home and work are not too far apart (around 300m), and I have each defined as a zone within Home Assistant - each with a radius of 100m, so the zones themselves do not overlap. My high accuracy trigger range is set at 500m, so that I can catch arriving home when in the car. What this means is that high accuracy mode is enabled all day while I am at work, and all evening when I am at home due to the fact that I am within the trigger range of another zone. The expected behaviour is that high accuracy mode is enabled in the trigger ranges unless the current position is within any of the selected zones. The attached log file shows updates happening at 5 second intervals even though I was currently within zone.home.

**Companion app logs**:
[homeassistant_companion_log_9-13-2022_18-26-5.txt](https://github.com/home-assistant/android/files/9779329/homeassistant_companion_log_9-13-2022_18-26-5.txt)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.