There’s a fun app for android devices called Fully Kiosk Browser. Its main purpose is to display a single web page, without the user being able to move away from the site, or close the app. But it also gives you a degree of control over the device that iDevice users like myself could only dream of.
For example, you can get a live feed from the devices camera into home assistant, or you can get it to report movement in front of the camera like a security sensor.
All of those features are available through a REST interface and can easily be connected to home assistant. A few of them, though can benefit from this plugin.
Specifically, this plugin gives you the ability to turn on and off the screen of the device remotely, as well as check its current state. It also enables a movement sensor with shorter response time than you’d get via the REST interface. It only works while the device is setup to display your lovelace interface, though.
This gives you a brightness slider for any dimmable light.
You can configure it a bit, put the slider below the toggle, hide the slider when the light is turned off and so on…
This is inspired by the custom-ui project for the “old” home assistant interface.
UPDATE
The slider-entity-row now also supports media_player (volume control) and cover (position).
The customization options have been changed though. So your old config may not work with the new version.
This lets you input a time to a input_datetime right in the lovelace interface, without having to open up the more-info dialog.
I made this solely for my own benefit, so it’s not documented at all, and it only support inputing times, not dates.
If you think you’d use it, let me know and I might try to add the feature.
This allows you to add elements to your picture that does one thing when you click them, and another - totally different - thing when you click and hold for about half a second.
A typical use case would be a light that you toggle on or off by clicking (or tapping on a touch screen), but holding the mouse button (or finger) down for a while will bring up the more-info dialog and allow you to dim the light or change its color.
But the long-press action can also be something entirely different, like calling a service or toggling a different entity.
Think of the amazing stuff people have made with picture-elements over at sharethelove.io. That’s made possible - in part - because elements can be styled with custom css. And now any normal card can as well.
It’s also a great way to produce atrocities such as:
But I’m sure that in the hands of anyone even just a tiny bit more artistic than myself, it can be used to produce wonderful things.
A bonus feature of this card is that you can manually select which size it will report when placing in the layout. That can give some more control over which card ends up where on screen:
Is there any way to change the number of columns used? Mine is showing 2 columns when 3 would be better. Goes down to 1 on my phone which is great.
Would it be as simple as changing the max column width from 500px to 300px or something like that?
Also getting an error…
https://domain.duckdns.org/local/mini-media-player.js?ver=0.8.1:592:22 NotSupportedError: Cannot define multiple custom elements with the same tag name
Please do, if you’ve got time. Opening more-info on long click is just a small addition to the existing picture entity card in terms of code, but a gamechanger in terms of usability.