home-assistant / home-assistant/android
Prevent access to main application - android comanion app but leverage "externals"
- Dominant language
- Kotlin
- Stars
- 3.9k
- Forks
- 1.1k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 81
Description
Since every update more and more sensors and functionality are being added to the android Companion app. I am at the point of using the app more and more as a "meter" (sensors). And the ability of very simply using the TTS element as a reporting tool and also the usage of widgets makes me wonder the following.
Since I see the following elements as **"externals" from the main application**, thus being able to control and meter elements WITHOUT the need to open the mains app, e.g.:
- widgets
- TTS
- Sensor data
I would like to be able to LOCK/PREVENT the opening of the mains application. Currently this is not possible due to the fact it complains about not having android lock security enable and this is not what I am after at all (to password protect android).
I would like to have a SEPARATE LOCK (password?) option on the app to circumvent it from being opened by the USER of the android device (e.g. kids). In my case my children who have an android device which I would like to be installed with the app but PREVENT them from CONTROLLING everything and thus the need to open the app. But I would like to leverage the use of the "externals":
- widgets (some I can add myself)
- TTS (to present messages e.g. get ready for school)
- Sensor data (so much possible)
I was also the "WTH" starter for RBAC in homeasssitant, but that's not there and custom header has been deprecated so that is not an option.
Like other apps able to "password protect" access to the app, I would like the homeassitant companion app to be preventable from opening but be able to use the "externals" of the app:
- widgets
- TTS
- Sensor data
**Describe alternatives you've considered, if any**
Enabling password protection on android. But this is not an option since that password would also enable opening of the app. And since this is a kids table I do not want any passwords enabled in android.
Contributor guide
Assessment
This issue has not been assessed yet.