I am tinkering with using some android tablets as wall mounted HA controlers. They have the app installed, and display a lovelace dashboard. They work pretty nice! But i'd like to turn the display off at night, and cant seem to figure out how. Found the HA app notifications that will let me do things like dim the display, but even at the lowest brightness the screen in our bedroom is still annoying. I see there's a turn screen on notification, but not a turn screen off? How do I turn off the screen through an automation? Thanks!
#HA APP, Turn screens on or off?
1 messages · Page 1 of 1 (latest)
By the way, i have seen posts about how the app cant turn off the screen. So I am wondering if there is a work-around. For example, can i turn off the "keep screen on" toggle in the app remotely and then just let the screen go to sleep? Then I could just toggle it back on when the device is supposed to wake up.
have you tried command_screen_off_timeout
oh that probably wont work if the app is forcing your screen to stay on
i have an automation app on android called Automate, it's free for small automations. it has a "lock device" function, as well as a way to wake the
you can set it up standalone or get it to talk to home assistant, so thats an option
Yea, i have the app forcing the screen on, but i think you can tell the screen_on notification to toggle the screen always on setting, if im reading the docs right.
oh yeah i understand. you can send the screen on command again with any command other than keep_screen_on and it will disable it, it should countdown your screen timeout from that point and then go to sleep once it hits that
Consider running Fully Kiosk Browser. It is free, but it has some pro features that can be unlocked with a license which is around $10USD. No ads or anything annoying on the free version. Pro version options can be tested without a license with the only limitation being a watermark on the screen when a pro option is enabled.
When added to HA via the integration, you'll get a switch entity for the screen.
You can still run the HA app in the background for other useful-ness like battery sensors and whatnot. Here's the same device with the mobile app.
This is a new device that I haven't completely put into use and have everything done with it. But, remember I said that you'll get a switch entity? You can "convert" this to a light entity by setting the Show As for the switch entity to a light. This is useful when turning on/off multiple lights in a room, for example, without having to add another action to turn on a switch.
This is from one of my Amazon Fire tablets.
FKB also has an entity to handle the screen brightness.