Home Assistant launcher is a simple Android app to use your Home Assistant web UI with some improvements:
Lock Screen
If you want to keep the access to Home Assistant password protected in your Android device, you have to logout and login everytime. Home Assistant launcher uses a simple lock screen, so you only have to enter your pin, or use your fingerprint (if your device supports it). It’s fast, and reliable. For this feature we are using this library: https://github.com/amirarcane/lock-screen
The app will prompt for pin everytime you open the app after:
Hide administrator menu items
You can hide administrator menu items from the drawer menu, so you can let your family members use home assistant without the risk they change any configuration parameter.
Back key behavior
If you are using Home Assistant through your web browser, Android back key behaves like browser back key. So, if you navigated through several tabs, pressing back key takes you to previous visited tab. Android apps don’t work that way (it should close the app). So this is the back key behavior:
If a “more info” popup is showing, popup will close.
Else, if section “Overview” is not showing, you will be back to “Overview”.
One of my main gripes with home assistant is that if you set an api_password (https://home-assistant.io/components/http/), you then need to enter that password for the web interface. If something goes wrong with your setup, it seems to get in a bad state and lose the cached password. Additionally, my password manager doesn’t seem to understand the login form for home assistant, and I’ve got family that doesn’t use a password manager.
It’d be cool if this thing could handle that setup, making it such that if it saw that a login form was presented, it filled in my password, so I didn’t have to get it out of my password manager (and instead, could just “fingerprint auth” my way into my home assistant.
I just looked into kinda what’s going on, and it’s just storing my password in localstorage under authToken, so it’d really be a matter of being able to run some JS and call
I’m sorry, but I still don’t get it… Why don’t you just check the “Remember” checkbox at login, so it won’t ask for password again? I’m using like this, and I just use “fingerprint auth”.
Yes, it does remember the password and won’t show the login form again. You have to enter a chosen pin for the app, however, or authenticate with your fingerprint. See the images in the first post!
Do you have a bit of a road map for things you want to do?
If I ever get some time sat in front of Android Studio at some point this year I was going to add opening web links in an external browser and something else that is on the tip of my tongue but I can’t think of atm!