lovelace-wallpanel
lovelace-wallpanel copied to clipboard
Please interact with the screen for a moment to request wake lock
Any chance this message could be configurable (to display or not)? Or is it really needed?
wp.displayMessage("Please interact with the screen for a moment to request wake lock.", 15000)
Wallpanel tries to prevent the device from dimming or locking the screen. There is an API for this (Screen Wake Lock) that is supported by most modern browsers, but only if the website is accessed via HTTPS. In your case, the API is not available and Wallpanel plays a small invisible video that prevents the screen from being locked. Your browser does not allow to auto-play videos without user interaction, which is why you are seeing this message.
I can add a configuration to disable the message, but that would not solve the screen lock issue.
Which browser do you use? Do you access the HA front end via HTTPS?
Since there has been no recent activity on this topic, I am closing it. If there is new information, the ticket can be reopened.
Note sure this warrants further additional control or feature, but I've run into this message when I wake the monitor out of sleep and then immediately activate the screensaver via the entity. Under certain scenarios when the immediate family is not home, I want it to show picture art instead of the dashboard when it comes out of sleep when someone enters the room. The message isn't the cleanest look even though it only pops up for a few seconds. I'm not sure if there are any work arounds that could be suggested without changing code. Right now I'm trying to trigger the monitor to come out of sleep before someone enters the room. Possibly setting the font to transparent would work, but not sure what div or container that might be.
Update: In case anybody else runs into this issue, adding a 1 second delay between waking screen and turning on the screensaver mitigates the message popping up.