I didn’t see anyone doing this, so thought I would pass on…
How I Run LoveLace GUI as an Android App
You can view the LoveLace GUI (referred as LL here) from the Home-Assistant Web Server on most any Web Browser. But on a smartphone it looks pretty funky with the browser’s bars and buttons wrapped all around the LL page and not much like a typical standalone android app.
I found that after a certain android version (don’t know which), Google started to include with their android os, a highly optimized version of Chromium. Then they added to their SDK a function named “WebView”.
This gives android app developers a way to embed HTML5 into their app along with any other app functionality that you would see in a normal android app.
Not really wanting to learn to write an android app today, I searched the Play Store looking for someone already using WebView.
I found a few and decided to try this one:
Website Viewer
Codestore Technologies Pvt Ltd.Tools
It was easy to install and when loaded asks for your homepage url. I entered “192.168.0.116:8123/lovelace/0”. After clicking on the OK button, I was amazed to see a nice clear rendition of my LL Overview page that looked just like a nice little app should!!
All my Entities worked with the touch screen and I was really happy with the results.
After more research, I found that Amazon had done the same thing, but calls it a Hybrid WebApp. So I took the apps apk file and sideloaded it on my Amazon 4k FireStick and after installing the apk it also ran great!! The only catch is that since the app is not written for the Firestick with no touchpad, I had to use my bluetooth mouse. But even that works pretty darn good.
So now I control my home from my TV using a FireStick!!! Hooray
However, I would appreciate hearing from anyone knowing of a webview app that was made for fire stick.
I see this as a powerful way to leverage all the hard work that went into creating the LL GUI into an integrated efficient UI for a real android app.
–Regards
p.s. they claim to have an unprecedented 3 week release cycle here. So i would expect to see this mainstreamed in ohhh bout two to three weeks. hehehe