Where do I find “Android System Webview”?
In the Play Store
It doesn’t seem to be on my tablet, and the play store tells me “Your device isn’t compatible with this version”.
Teach me for buying a cheap crap chinese tablet.
Hi which camera is motion detection configured on by default? Appears motion on front facing camera is not triggering the display and I don’t see an option to set which camera to use…
EDIT: screen lock must be of…
how the hell did u include the media player?? want this!!!
To my pleasant surprise the motion detection works even with the tablet behind some cheap two way glass, so I can place it in a ‘smart mirror’ setup
The mirror material I use… https://www.amazon.co.uk/dp/B01MRI4KYY/ref=cm_cr_ryp_prd_ttl_sol_26
On
Off
Another suggestion for this project, could a wired keypad attached to the tablet be used to send MQTT to HA? My idea is to have the tablet embedded in the smart mirror, then have the keypad disguised in the mirror frame so I could toggle switches using a physical button
@quadportnick you’re a genius!
This is a great addition to the hass universe. Very cool.
Working-ish on my galaxy tab 7, android 4.4.2
Motion detection and browser working, hass url not loading (buffering/loading indefinately), google and various other pages loading fine.
Mqtt not seeming to send though - listening on my mqtt server (hass AiO mosquitto) and there’s nothing coming in. Is there a particular method to getting mqtt working or shold it work out of the box?
Again, great work
Edit - my bad, i didnt read the bloody thread properly - @ray0711 thankyou so much
I meant the native browser. I checked that out today, so the ‘bad’ news is that if you’re using webView that it’s using Chromium 30, and this guy is older than features that HASS is using, so they just dont work. The Chrome you have installed is a stand-alone app so, it’s newer than what the OS has. Sigh.
But as for HADashboard, I’m confused why that one isnt working yet…
Holy cow, magic mirror!
I presume that breaks touch capability? but still… the upshot with the remote control options is maybe you wont have to touch it, you can always push/reload content on it automatically
Thank @ray0711 for starting this. I never knew I wanted it
The MQTT should be fine, you want to configure up all of the settings before you turn on the enabled slider. Really right now the enabled slider is what turns it on/off and it doesn’t dynamically reconnect at the moment when you change settings. Can I see what settings you’re using for thoughts of where to go next with it?
That’s probably something to put on the longer term list but I do like the thought. I have some ‘larger’ thoughts about the dashboards that I’m processing, thinking to myself that today people slap up old hardware and do kiosk modes and kind of deal with things one-way, but there really could be a two-way ecosystem thing going on. What might be possible if HASS/HADashboard are able to understand the device on the wall they’re being displayed on? I think some interesting stuff could appear.
Im also concerned about making sure that since people are using hand me downs, as many should work as possible. I’d like to see an iOS version of these ideas too, try to ‘standardize’ so people aren’t locked out. Which is why I am concerned about getting 4.4 working now even though it’s not an issue for me.
@ray0711 Looks like the Crosswalk project is the main hope now for 4.x Will be looking at that today. Upshot is I can probably lower the min API further if there’s someone actually using something lower than 4.4, but it seems so far in this thread 4.4 is boss
I’d look to sticking to native webView on 5.0 and up since they made that modular and up to date.
So this should be interesting…
Yes you don’t want to touch a magic mirror really as you get finger marks all over it.
I should have another test build ready in a day or two, life has reared its head today. But it’s looking good so far!
It is an iframe of a portion of the logitech media server (squeezebox) web front end. I don’t have the code to hand but I’ll post it when I am home tonight.
I have discovered that android system webview was once built into the android OS, but since 5.0 it is a separate package so that it can be given security updates independent of the OS. So that doesn’t help for Android 4.4.2 (and lower).
I am not sure how to determine what the built in webview supports in Android 4.4.2.
Maybe I will just leave the screen on, use chrome for HA Dashboard and use the camera as a webcam Android IP Webcam - Home Assistant
That’ll work. I’m still working on another option though, which is to leverage Crosswalk. The project ended but, it JUST ended. The code should be well enough uplevel to support anything decent. (And its possible someone else will pick it up).
Cool, looks interesting.
Code in .dash file is:
mediaframe:
widget_type: iframe
title: Kitchen
refresh: 5
url_list:.
- http://media:9000/status_header.html?player=00:04:20:XX:XX:XX
media:9000 is my LMS server, 00:04:etc is the MAC address of the player.