home-assistant / home-assistant/android

Option to restrict access on WearOS when away from home

Open
#4,565 0 comments 0 reactions 0 assignees View on GitHub
enhancement Wear OS
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.**

The main Android app allows for a biometric authentication as an extra layer of security which I have enabled when away from home. For wearos I have not yet found a way to restrict access. Wheter it would be to prevent accidental device toggles or more malicious interactions, it would be nice to have the option to restrict HA server interactions (changing device states) when not at home. Both for tiles and wearos app interactions.

**Describe the solution you'd like**

This would need a good way of determining the `at home` state of the wearable. As the wifi may not always be connected this could be more tricky than for the phone. But hopefully with the wearable connected to the phone it's `at home` state could be used too.

When `locked`, any HA server interaction should be restricted. E.g. the assist and main app would be locked, and tiles would have to show their restrictions (e.g. the HA logo and textual indication that it is locked).

Settings related to this should be accessed through the phones companion app as this has more security features to authenticate the user anyways.

**Describe alternatives you've considered, if any**

Asside from manually removing / adding shortcut tiles when leaving / returning home there is not much that can be done.

**Additional context**

There is plenty ways to implement this and brainstorm about. But improved security for the wearable side of things would be appreciated :)

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.