New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Waveshare 2.13" V2 display #6337
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #6337 +/- ##
==========================================
- Coverage 53.70% 53.47% -0.24%
==========================================
Files 50 50
Lines 9408 9515 +107
Branches 1654 1677 +23
==========================================
+ Hits 5053 5088 +35
- Misses 4056 4123 +67
- Partials 299 304 +5 ☔ View full report in Codecov by Sentry. |
Hey there @clydebarrow, mind taking a look at this pull request as it has been labeled with an integration ( |
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What does this implement/fix?
Adds support for Waveshare e-Paper 2.13" V2 displays (also referred to as B72 in some libraries) as a new
2.13inv2
model. It is based on the EPD_2in13_V2 code from Waveshare. I have tested this change with the 2.13" e-Paper Cloud Module, which incorporates this display along with an ESP32.While this display type already sort-of worked with the
2.13in-ttgo
model configuration (which uses the same LUT), partial updates were unusable, and the image faded when using the Deep Sleep component (see also esphome/feature-requests#1779).Types of changes
Related issue or feature (if applicable): fixes esphome/feature-requests#1779
Pull request in esphome-docs with documentation (if applicable): esphome/esphome-docs#3669
Test Environment
Example entry for
config.yaml
:Checklist:
tests/
folder).If user exposed functionality or configuration variables are added/changed: