renemarc / home-assistant-config

🏠 Fully documented Home Assistant configuration for a smart-looking place. 😎 Be sure to ⭐️ my repo and copy ideas!
Apache License 2.0
350 stars 57 forks source link

Dashboard slideshow widget memory management #33

Open renemarc opened 6 years ago

renemarc commented 6 years ago

As a user, I want my tablet interface to stay operational so that I can use the UI without having to restart it.

Acceptance criteria

  1. It's done when any memory leak inside the slideshow widget is resolved.
  2. It's done when Fully Browser Kiosk doesn't crash after the the Main dashboard is open for a while.
renemarc commented 6 years ago

Two workarounds are possible:

  1. Use http-equiv="Refresh" header meta tag to force-reload the page on a regular basis
  2. Use the Fully Kiosk Browser's Auto Reload on Idle feature.

To keep things universal, the first solution is used with a period of 1 hour.

renemarc commented 6 years ago

Reopening this issue due to random crashes still happening in Fully Kiosk Browser when slideshows are displayed.

For reference, the Auto Reload on Idle is set to 5 minutes, and no content is being cached.