esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
291 stars 34 forks source link

E-Paper 4.2 Color does not update properly #4957

Open pascal164 opened 9 months ago

pascal164 commented 9 months ago

The problem

Hello,

I have a problem with an e-paper display.

The update takes a very long time and approx. 8 minutes even though the update rate is set to 2 minutes.

I also placed the pins correctly and also selected the 4.20in-bV2 display, which also updates normally, but here only a red screen is shown without text or anything else.

The functions "reset_duration" and "update_interval" have already been selected for various updates, without success.

Any Ideas ?

Facilities:

  1. Waveshare E-Paper 4.2 Color
  2. E32 Driver Board

YAML Code:

esphome: name: esphome-web-b32c78 friendly_name: E-Paper Flur esp32: board: esp32dev framework: type: arduino

captive_portal:

Enable logging logger:

Enable Home Assistant API api: encryption: key: "K6rxEwrQr466iWq+aTzAAU2YnjSrgICbAXa+PrxqaFY="

ota: password: "200wind200"

wifi: ssid: !secret wifi_ssid password: !secret wifi_password

Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "Esphome-Web-B32C78" password: "raewIXth4CyR"

spi: clk_pin: 13 mosi_pin: 14

color:

font:

display:

`LOG Output INFO ESPHome 2023.9.3 INFO Reading configuration /config/esphome/esphome-web-b32c78.yaml... WARNING GPIO15 is a Strapping PIN and should be avoided. Attaching external pullup/down resistors to strapping pins can cause unexpected failures. See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins INFO Starting log output from esphome-web-b32c78.local using esphome API INFO Successfully connected to esphome-web-b32c78.local [13:26:37][I][app:102]: ESPHome version 2023.9.3 compiled on Oct 8 2023, 13:16:13

[13:26:37][C][wifi:382]: Local MAC: C8:F1:9E:B6:2C:78 [13:26:37][C][wifi:383]: SSID: [redacted] [13:26:37][C][wifi:384]: IP Address: 192.168.178.85 [13:26:37][C][wifi:386]: BSSID: [redacted]

[13:26:37][C][wifi:389]: Signal strength: -83 dB ▂▄▆█ [13:26:37][C][wifi:393]: Channel: 5 [13:26:37][C][wifi:394]: Subnet: 255.255.255.0 [13:26:37][C][wifi:395]: Gateway: 192.168.178.1 [13:26:37][C][wifi:396]: DNS1: 192.168.178.1 [13:26:37][C][wifi:397]: DNS2: 0.0.0.0

[13:26:37][C][logger:358]: Level: DEBUG [13:26:37][C][logger:359]: Log Baud Rate: 115200 [13:26:37][C][logger:361]: Hardware UART: UART0 [13:26:37][C][spi:067]: SPI bus: [13:26:37][C][spi:068]: CLK Pin: GPIO13 [13:26:37][C][spi:069]: SDI Pin: [13:26:37][C][spi:070]: SDO Pin: GPIO14 [13:26:37][C][spi:072]: Using HW SPI: SPI [13:26:37][C][waveshare_epaper:1021]: Waveshare E-Paper [13:26:37][C][waveshare_epaper:1021]: Rotations: 180 ° [13:26:37][C][waveshare_epaper:1021]: Dimensions: 400px x 300px [13:26:37][C][waveshare_epaper:1022]: Model: 4.2in [13:26:37][C][waveshare_epaper:1023]: Reset Pin: GPIO26 [13:26:37][C][waveshare_epaper:1024]: DC Pin: GPIO27 [13:26:37][C][waveshare_epaper:1025]: Busy Pin: GPIO25 [13:26:37][C][waveshare_epaper:1026]: Update Interval: 120.0s [13:26:37][C][captive_portal:088]: Captive Portal:

[13:26:37][C][mdns:116]: Hostname: esphome-web-b32c78 [13:26:37][C][ota:097]: Over-The-Air Updates: [13:26:37][C][ota:098]: Address: esphome-web-b32c78.local:3232 [13:26:37][C][ota:101]: Using Password. [13:26:37][C][api:138]: API Server: [13:26:37][C][api:139]: Address: esphome-web-b32c78.local:6053 [13:26:37][C][api:141]: Using noise encryption: YES [13:30:45][W][component:204]: Component waveshare_epaper.display took a long time for an operation (0.14 s). [13:30:45][W][component:205]: Components should block for at most 20-30ms.

Greetings

Pascal `

Which version of ESPHome has the issue?

2023.9.3

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

2023.9.3

What platform are you using?

ESP32

Board

ESP 32 Driver Board

Component causing the issue

E-Paper 4.2

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

SO5HMI commented 5 months ago

Do you resolve this problem? I have the same issue

pascal164 commented 5 months ago

Do you resolve this problem? I have the same issue

Hello,

No, unfortunately not. I then stopped the project