esphome / issues

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

Esp8266 crashes on too big display for addressable led strip #4381

Closed mfbehrens99 closed 1 year ago

mfbehrens99 commented 1 year ago

The problem

When I define define a display component on the adressable_light platform and it is too big for the LED Strip the esp8266 crashes on runtime.

Error should probably be catched on codegen

Which version of ESPHome has the issue?

2023.2

What type of installation are you using?

pip

Which version of Home Assistant has the issue?

No response

What platform are you using?

ESP8266

Board

wemos-d1-mini

Component causing the issue

display

Example YAML snippet

light:
  - platform: neopixelbus
    type: GRB
    variant: WS2811
    pin: GPIO2
    num_leds: 200
    name: "NeoPixel"
    id: "neopixel"

display:
  - platform: addressable_light
    id: led_matrix_display
    addressable_light_id: neopixel
    width: 30
    height: 810
    #rotation: 180°
    update_interval: 16ms
    lambda: |-
          it.print(0, 10, id(roboto), "Hello World!");

font:
  - file: "gfonts://Roboto"
    id: roboto
    size: 20

Anything in the logs that might be useful for us?

No response

Additional information

No response

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.