esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
292 stars 36 forks source link

Wrong screen resolution for the Wondershare Epaper 7.5in #4991

Open DJERO77 opened 1 year ago

DJERO77 commented 1 year ago

The problem

Hi, When uploading code to an esp32 connected to an Epaper 7.5(in) the dimensions are wrong. The screen resolution is 800x480.

When uploading, you can see in the logs that the associated dimensions are 384 x 440.

When using other 7.5 models (7.5v2, 7.5v2alt, etc...), the dimensions are correct.

Which version of ESPHome has the issue?

2023.9.3

What type of installation are you using?

Docker

Which version of Home Assistant has the issue?

2023.10.3

What platform are you using?

ESP32

Board

No response

Component causing the issue

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Log model 7.5in :

[C][waveshare_epaper:1557]: Waveshare E-Paper
[C][waveshare_epaper:1557]:   Rotation 270 °
[C][waveshare_epaper:1557]:   Dimensions : 384px x 640px
[C][waveshare_epaper:1557]:   Model: 7.5in
[C][waveshare_epaper:1557]:   Reset Pin: GPIO26
[C][waveshare_epaper:1557]:   DC Pin GPIO27
[C][waveshare_epaper:1557]:   Busy Pin: GPIO25

Log model 7.5inv2

[C][waveshare_epaper:1557]: Waveshare E-Paper
[C][waveshare_epaper:1557]:   Rotation 270 °
[C][waveshare_epaper:1557]:   Dimensions : 800px x 480px
[C][waveshare_epaper:1557]:   Model: 7.5in
[C][waveshare_epaper:1557]:   Reset Pin: GPIO26
[C][waveshare_epaper:1557]:   DC Pin GPIO27
[C][waveshare_epaper:1557]:   Busy Pin: GPIO25

Additional information

CAP01

eikowagenknecht commented 1 month ago

Maybe it's this one?

image