Comments (9)
Thanks for the report. I can reproduce it after updating HA as well. As I just got back from vacation I'll try to fix it asap in the next coming days.
from hass-lovelace-kindle-screensaver.
@bictorv I've just released a new version where I've added another selector to wait for. It solves the problem for me, I'd be happy to know if it also works for you. Thanks!
from hass-lovelace-kindle-screensaver.
I'm sorry, it doesn't work consistently for me. I managed to get one proper screenshot but now it's just the "Loading data" screen.
from hass-lovelace-kindle-screensaver.
+1, Works, but not all of the time using the same steps as I have in older versions.
I've also tried 1.0.1 to no avail. @bictorv Try 1.0.1 though, see if you can get something different.
from hass-lovelace-kindle-screensaver.
I've also tried 1.0.1 to no avail. @bictorv Try 1.0.1 though, see if you can get something different.
I am running 1.0.1, but getting "Loading data". Could it be that you need to wait for something else than the "home-assistant" selector?
from hass-lovelace-kindle-screensaver.
It may be that my problems were resolved by upping the rendering timeout (from the default 10000 to 20000). Fingers crossed.
from hass-lovelace-kindle-screensaver.
@bictorv thanks for your feedback! I can also suggest to play around with the parameter RENDERING_DELAY
which adds a delay after the screenshot browser signals "all API requests have settled and the home assistant component should be rendered to DOM" and the actual generation of the screenshot.
I've set it to 5 seconds on my Synology NAS. Depending on the device which has to build the components DOM, it might take longer even when all data was fetched. In my case the graph sometimes didn't render very quickly, so I had to increase the delay.
Unfortunately I've found no way yet to programatically find out reliably when all components have finished their initial render.
from hass-lovelace-kindle-screensaver.
Aha, will try.
(By the way, what is the easiest way to update the environment variables, ideally without having to recreate the whole docker thing - I'd wish for a way to "change a config file and restart the docker"?)
from hass-lovelace-kindle-screensaver.
In the 2022.06 update of Home Assistant the recorder queries were changed to be much faster than before. At least in my case, the rendering happens much faster because of this.
Thus I'd like to close the issue. If somebody comes across, I can still recommend changing the TIMEOUT configuration in your docker-compose.yml
and then simply run docker-compose up
or docker-compose up -d
for a quick recreation of the docker instance.
from hass-lovelace-kindle-screensaver.
Related Issues (20)
- Error and questions connecting with Hassio Addon HOT 3
- failed to start browser in docker HOT 8
- Feature Request: Multiple Dashboards/Instances HOT 1
- docker failed to start HOT 1
- HA OS 32bit not supported? HOT 9
- Timeout Errors HOT 2
- Feature Request: .monochrome and .crop would be awesome!
- Feature request: output to jpg file format HOT 8
- Multiple request array doesnt appear to accept configuration HOT 13
- Error: Command failed: convert: unrecognized dither method `-background' HOT 8
- Feature request - Stop container exiting after error HOT 2
- How to select which theme to take? HOT 2
- Feature Check - ARM Builds HOT 2
- Extension extremely unstable HOT 5
- Failed to render TimeoutError: Navigation timeout of 60000 ms exceeded HOT 6
- Brightness difference between HA addon and standalone docker
- Add healthcheck endpoint at /health
- Add Support for Bitmap-Output HOT 2
- Failed to get TZ variables in container HOT 1
- "Loading data" after first image generation HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hass-lovelace-kindle-screensaver.