j-a-n / lovelace-wallpanel

🖼️ Wall panel mode and photo screensaver for your Home Assistant Dashboards
GNU General Public License v3.0
453 stars 40 forks source link

White screensaver #230

Open drbartek opened 5 months ago

drbartek commented 5 months ago

I have the same symptoms on an old Samsung N8010 + LineageOS 16 like issue 208. The tablet turns white from time to time and needs to be woken up usually 'back' is enough but sometimes it needs a reboot.

my settings:

wallpanel: enabled: true enabled_on_tabs: [] hide_toolbar: true hide_toolbar_action_icons: false hide_sidebar: true fullscreen: true idle_time: 0 fade_in_time: 0 crossfade_time: 0 display_time: 0 keep_screen_on_time: 0 black_screen_after_time: 0 control_reactivation_time: 0 screensaver_stop_navigation_path: '' screensaver_entity: 'off'

Once an hour tries to send a command via MQTT and still appears a white screensaver not responsive to touch. { "wake": true, "wakeTime": 15, "clearCache": true, "relaunch": true, "volume": 100, "reload": true }

Could I ask for help how to disable this white screensaver. Thanks

j-a-n commented 3 months ago

You can try to use keep_screen_on_time: 86400 to keep the screen from dimming or locking.

Tomcuzz commented 1 month ago

I think I might also be running to the same issue although I have a slightly different setup

My setup: Raspberry Pi with touch display and a docker container running chrome browser (https://github.com/Tomcuzz/MQTT-Pi-Display)

Checking the logs around the time the white screen comes up shows the following:

  |   | 2024-08-29 20:25:11.681 | 2024-08-29T20:25:11.471951272+01:00 stderr F [8:8:0829/202511.471679:INFO:CONSOLE(296)] "Location changed from panel 'null/null' to 'tablet-dashboard/living-room'", source: http://10.0.10.38/hacsfiles/lovelace-wallpanel/wallpanel.js?hacstag=3095064164260 (296) |  
  |   | 2024-08-29 20:25:11.681 | 2024-08-29T20:25:11.451536879+01:00 stderr F [8:8:0829/202511.451260:INFO:CONSOLE(296)] "%c🖼️ Wallpanel version 4.26.0 color: #34b6f9; font-weight: bold;", source: http://10.0.10.38/hacsfiles/lovelace-wallpanel/wallpanel.js?hacstag=3095064164260 (296) |  
  |   | 2024-08-29 20:25:08.155 | 2024-08-29T20:25:08.038076431+01:00 stderr F [8:8:0829/202508.037785:INFO:CONSOLE(2)] "Error loading page tablet-dashboard TypeError: Failed to fetch dynamically imported module: http://10.0.10.38/frontend_latest/71743.CLTaLk6RXl0.js", source: http://10.0.10.38/frontend_latest/app.okM55PX7yEE.js (2) |  
  |   | 2024-08-29 20:25:08.155 | 2024-08-29T20:25:08.037943988+01:00 stderr F [8:8:0829/202508.037670:INFO:CONSOLE(2)] "Error loading page lovelace TypeError: Failed to fetch dynamically imported module: http://10.0.10.38/frontend_latest/71743.CLTaLk6RXl0.js", source: http://10.0.10.38/frontend_latest/app.okM55PX7yEE.js (2)

This seems to be related to authentication of Hass due to timeout of the refresh token.

@drbartek Did you find a solution to this in the end? ALso how are you authentication your dashboard? Are you using trusted_networks or logging into an account on your dashboard?

drbartek commented 7 hours ago

I think I might also be running to the same issue although I have a slightly different setup

My setup: Raspberry Pi with touch display and a docker container running chrome browser (https://github.com/Tomcuzz/MQTT-Pi-Display)

Checking the logs around the time the white screen comes up shows the following:

  |   | 2024-08-29 20:25:11.681 | 2024-08-29T20:25:11.471951272+01:00 stderr F [8:8:0829/202511.471679:INFO:CONSOLE(296)] "Location changed from panel 'null/null' to 'tablet-dashboard/living-room'", source: http://10.0.10.38/hacsfiles/lovelace-wallpanel/wallpanel.js?hacstag=3095064164260 (296) |  
  |   | 2024-08-29 20:25:11.681 | 2024-08-29T20:25:11.451536879+01:00 stderr F [8:8:0829/202511.451260:INFO:CONSOLE(296)] "%c🖼️ Wallpanel version 4.26.0 color: #34b6f9; font-weight: bold;", source: http://10.0.10.38/hacsfiles/lovelace-wallpanel/wallpanel.js?hacstag=3095064164260 (296) |  
  |   | 2024-08-29 20:25:08.155 | 2024-08-29T20:25:08.038076431+01:00 stderr F [8:8:0829/202508.037785:INFO:CONSOLE(2)] "Error loading page tablet-dashboard TypeError: Failed to fetch dynamically imported module: http://10.0.10.38/frontend_latest/71743.CLTaLk6RXl0.js", source: http://10.0.10.38/frontend_latest/app.okM55PX7yEE.js (2) |  
  |   | 2024-08-29 20:25:08.155 | 2024-08-29T20:25:08.037943988+01:00 stderr F [8:8:0829/202508.037670:INFO:CONSOLE(2)] "Error loading page lovelace TypeError: Failed to fetch dynamically imported module: http://10.0.10.38/frontend_latest/71743.CLTaLk6RXl0.js", source: http://10.0.10.38/frontend_latest/app.okM55PX7yEE.js (2)

This seems to be related to authentication of Hass due to timeout of the refresh token.

@drbartek Did you find a solution to this in the end? ALso how are you authentication your dashboard? Are you using trusted_networks or logging into an account on your dashboard?

I apologize for the delay. The problem still occurs -> occasionally reboots the device. I'm logging into an account directly on my dashboard.