Code Monkey home page Code Monkey logo

Comments (2)

sibbl avatar sibbl commented on August 24, 2024

Hi, that's some very ... let's call it interesting ... use case.

I've actually had something like this in mind before but it will require some rework. Right now it's quite intentional not to render that often as this will reduce the life-time of eink screens, which it was intentionally develop for. Due to that, the browser is always unloaded and on each render, a new browser page is started, it navigates to the page and then at some point the rendering can happen. This just takes some time and saves some resources - especially on slower devices like Raspberry Pis.

However, it might make sense to have a config option to leave the browser page running the whole time. It will need more RAM and probably also some CPU (the Home Assistant websocket stays connected and all updates are processed all the time) but will allow taking a snapshot at any required frequency as no further loading or navigation is necessary.

I'd put that on my list and see when I can work on that. Any PR would be appreciated as well, adding the "keepBrowserOpen" config option and skipping browser page closing/reopening/navigation when this config option is set to true.

from hass-lovelace-kindle-screensaver.

ksheyman avatar ksheyman commented on August 24, 2024

Lol nobody respects my noble quest to go backwards in terms of lovelace/frigate!

Sounds like this should be possible! Thanks for the reply and explanation. If only I knew about coding beyond YAML I would help out...

from hass-lovelace-kindle-screensaver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.