home-assistant / home-assistant/android
Wear OS: Support switching between local and cloud URL
- 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.**
Being able to use the local URL while at home would mean lower latency and improved privacy.
It could even be a bit confusing today. If someone e.g. disables the HA cloud connection while everyone is home, the watch would not be able to reach HA.
**Describe the solution you'd like**
Ideally, the Wear OS device would automatically use the local URL whenever the "home SSID" is connected, and the cloud URL in other situations.
It's a harder problem than it may seem, because as @dshokouhi pointed out in https://github.com/home-assistant/android/issues/3523#issuecomment-1652348654, Wear OS devices are not connected to WiFi all the time.
Without having any insight into how the communication between the phone and Wear OS device works, one way could be to have the phone relay the information. Whenever the phone switches URL, it would notify the Wear OS device that it needs to switch URL too.
**Describe alternatives you've considered, if any**
**Additional context**
Contributor guide
Assessment
This issue has not been assessed yet.