home-assistant / home-assistant/android

Option to determine internal/external URL usage based on Auto-sync status

Open
#3,043 8 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Kotlin
Stars
3.9k
Forks
1.1k
Avg merge
1d 12h
Merged PRs (30d)
81

Description

**Is your feature request related to a problem? Please describe.**

Some apps like DavX or Syncthing offer option to run based on a status of Auto-sync option from Settings ➡️ Passwords & Accounts. The advantage of this approach is that it doesn't require enabled location and it also offers more flexibility with LineageOS System profiles.

Mine second suggestion is to offer option to completely disable the app when not connected to home Wifi/disabled Auto-sync instead of connecting to the external URL. It's only possible to connect to my HA instance from local network, if I understand app behaviour correctly, it still tries to connect to HA on non-home networks to update sensors and can possibly leak information in HTTP mode.
**Describe the solution you'd like**

Adding an option to use external URL/disable app based on the Auto-sync status.

Reference commit from Syncthing:
https://github.com/syncthing/syncthing-android/commit/6a04d640bd0c7dcded028d39a162fb0fa6166127
**Describe alternatives you've considered, if any**

Using external/internal URL based on Wifi SSID is an actual alternative.
**Additional context**

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.