home-assistant / home-assistant/iOS
Carplay breaks sensor.device_activity and sensor.device_geocoded_location
- Dominant language
- Swift
- Stars
- 2.4k
- Forks
- 520
- Avg merge
- 7h 27m
- Merged PRs (30d)
- 264
Description
**iOS device model, version and app version**
Model Name: iPhone 17
Software Version: iOS 26.5.2
App version: 2026.7.2 (build 2026.1446)
**Home Assistant Core Version**
2026.x
**Describe the bug**
Same issue as #3550, still present on iOS 26 with app 2026.x and wireless CarPlay.
While driving with wireless CarPlay, the app stops sending sensor updates:
device_tracker / zones keep working (the HA map shows my correct position), but
sensor.travix_i17_geocoded_location and sensor.travix_i17_activity freeze and never
reach the server during or after the drive. update_location works; update_sensor_states
does not. It only recovers after force-quitting and reopening the app.
I confirmed it's CarPlay-specific: a fully clean reinstall (with the app's iCloud backup
removed so it couldn't be restored) works perfectly and sensors update normally — until
the first drive with wireless CarPlay, after which geocoded/activity freeze again.
Wired CarPlay is not an option for me; the connection must be wireless.
**To Reproduce**
1. Clean install; log in; Location = Always + Precise; enable geocoded_location and activity.
2. Confirm sensors update normally.
3. Connect via wireless CarPlay (car Wi-Fi has no internet) and drive.
4. geocoded_location and activity stop updating on the server; device_tracker keeps working.
5. Force-quit and reopen the app → sensors resume.
Contributor guide
Research direction
Start by reproducing the issue with wireless CarPlay and compare update_location with update_sensor_states during and after a drive. Trace the iOS app's CarPlay and sensor-update paths; the fix is complete when geocoded_location and activity continue reaching the server without force-quitting, while device_tracker behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100