Einzelne LED auf adressierbarem LED Streifen ansteuern

Habs doch noch hinbekommen.
geht mit Light Partition — ESPHome

Falls es noch jemanden interessiert oder später mal noch braucht:

light:
  - platform: partition
    name: "Segment 1"
    segments:
      - id: addressable
        from: 0
        to: 0

  - platform: partition
    name: "Segment 2"
    segments:
      - id: addressable
        from: 1
        to: 1

  - platform: partition
    name: "Segment 3"
    segments:
      - id: addressable
        from: 2
        to: 2
         
  - platform: neopixelbus
    name: "Addressable"
    id: addressable
    pin: GPIO3
    num_leds: 3
    variant: WS2812x
    type: GRB
    internal: true

Screenshot 2024-03-05 223536

2 „Gefällt mir“