Fehler bei fastled_clockless

Hilfe,
kann mir jemand weiterhelfen bekomme immer einen Fehler und
weis nicht woher er kommt…

Neopixel

light:

  • platform: fastled_clockless
    chipset: WS2812B
    pin: GPIO15
    num_leds: 12
    rgb_order: GRB
    name: “Test-Neopixel”

und zwar: - platform:

vielen Dank
MfG Udo

Probiere mal bitte (ungetestet):

light:
  - platform: neopixelbus
    type: GRB
    variant: WS2812B
    pin: GPIO15
    num_leds: 12
    name: "Test-Neopixel"

Leider die gleiche Fehlermeldung

nochmal das ganze PRG
esphome:
name: esp-home
friendly_name: esp-home

esp8266:
board: esp01_1m

Enable logging

logger:

Enable Home Assistant API

api:
encryption:
key: “z48Nphm2nME42QWVDa2aozzoYqqnwItaS3/+05MEW/8=”

ota:
password: “7dcf7f78d80811ed148e633bc929d981”

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

Enable fallback hotspot (captive portal) in case wifi connection fails

ap:
ssid: “Esp-Home Fallback Hotspot”
password: “RpinR963l715”

captive_portal:

switch:

  • name: blau_light
    platform: gpio
    pin: GPIO12

binary_sensor:

  • platform: gpio
    pin: GPIO02
    name: “Senser-Bewegung”
    device_class: motion
    filters:
    • delayed_on: 15s

-licht Sensor D1

  • platform: gpio
    pin: GPIO05
    name: “Tag-Nacht”
    device_class: light
    filters:
    • invert:

- Themperatur und Feuchte

sensor:

  • platform: dht
    pin: GPIO13
    model: dht11
    temperature:
    name: “Senser Feuchte+Temp” #name: “SenseNode Temp”
    humidity:
    name: “SenseNode Humidity”
    update_interval: 30s

Neopixel

light:

  • platform: neopixelbus
    type: GRB
    variant: WS2812B
    pin: GPIO15
    num_leds: 12
    name: “Test-Neopixel”

    • random:
      name: “My Fast Random Effect”
      transition_length: 4s
      update_interval: 5s

    • strobe:

      • strobe:
        name: Strobe Effect With Custom Values
        colors:
        - state: true
        brightness: 100%
        red: 100%
        green: 90%
        blue: 0%
        duration: 500ms
        - state: false
        duration: 250ms
        - state: true
        brightness: 100%
        red: 0%
        green: 100%
        blue: 0%
        duration: 500ms
    • addressable_rainbow:

      • addressable_rainbow:
        name: Rainbow Effect With Custom Values
        speed: 10
        width: 50
  • addressable_color_wipe:

    • addressable_color_wipe:
      name: Color Wipe Effect With Custom Values
      colors:
      - red: 100%
      green: 100%
      blue: 100%
      num_leds: 1
      - red: 0%
      green: 0%
      blue: 0%
      num_leds: 1
      add_led_interval: 100ms
      reverse: false

Die Fehlermeldung:
ERROR Error while reading config: Invalid YAML syntax:

while parsing a block mapping
in “/config/esphome/esp-home.yaml”, line 66, column 5:
- platform: neopixelbus
^
expected , but found ‘-’
in “/config/esphome/esp-home.yaml”, line 73, column 5:
- random:

Danke Udo

@Udo-1955
Bearbeite bitte deinen Beitrag nochmal und setze deinen Code in den </> Tag des Editors…so wie jetzt ist er echt schwer zu lesen. :wink:

Vielen Dank

Habe den Fehler gefunden.
es lag an den zusätzlichen Einträgen…
Sorry

nochmals vielen DANK
MfG Udo

Schön, dass du es hinbekommen hast. :+1:

leider gab es hier kein feedback, wie @Udo-1955 es hinbekommen hat.
Quäle mich auch gerade mit Neopixelbus ab weil offensichtlich dies:

light:
  - platform: fastled_clockless
    chipset: WS2812
    pin: GPIO16
    num_leds: 145
    rgb_order: GRB
    name: "Sauna_LED"

mit einem ESP-WROOM-32U nicht richtig funktioniert.
also dann 2. Versuch mit Neopixelbus

light:
  - platform: neopixelbus
    type: GRB
    variant: WS2812
    pin: GPIO16
    num_leds: 145
    name: "Sauna_LED"
    id: sauna_led
    default_transition_length: 2s

2 Fragen bitte:
1.) ist der GPIO egal (hier GPIO16)
2.) gibt es bei Neopixel auch Effekte zB Rainbow