Not always full refresh for waveshare_epaper on wake-up #3535
Unanswered
Richhoef
asked this question in
Component enhancements
Replies: 1 comment
-
|
🏷️ I've automatically added the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Component name
waveshare_epaper
Link to component documentation on our website
https://esphome.io/components/display/waveshare_epaper/
Describe the enhancement
Currently, at least with the 7.50inv2p, the display does a full update everytime it starts up. So also after a deep sleep, a full refresh is done. This makes the display flicker quite often, while it is not nessecary every time. I have fixed this with a custom component that manipulates the
at_update_value (see added files).In my yaml, I have a persistant global variable. Before the display update, immediately after wakeup, I do:
Then after the update I do:
So a way to do this is to have a variable given to the component which is persistant, but another way is to have an option that prevents the full update the first time in the full refresh cycle (or have
full_update_every: 0never doing a full refresh and let the user be responsible to do a full update every few times, by doing something like:Python file:
display.py
custom header file:
Use cases
This would minimize the distracting flickering from every wakeup cycle to only every X wakeup cycles.
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions