🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Atom S3 Lite - Toggle GPIO27 Led on Release

    ESPHome
    1
    1
    9
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      etikita
      last edited by

      Hi all,

      I am trying to configure the Atom S3 Lite in order to toggle its integrated led on Button release.
      This is what I have:

      light:
        - platform: fastled_clockless
          chipset: WS2812B
          pin: GPIO35
          num_leds: 4
          rgb_order: GRB
          id: led_1
          name: led_1
          restore_mode: RESTORE_DEFAULT_OFF
          effects:
            - pulse:
                name: "Pulse"
                transition_length: 1s
                update_interval: 1s
            - strobe:
                name: "Strobe"
            - random:
                name: "Random"
                transition_length: 5s
                update_interval: 3s    
      
      binary_sensor:
        - platform: status
          name: "Node Status"
          id: system_status
        - platform: gpio
          name: Button
          pin:
            number: GPIO41
            inverted: true
            mode:
              input: true
              pullup: true
          on_press:
            then:
              - homeassistant.service:
                  service: ssh_command.exec_command
                  data:
                    host: "xxxx"
                    port: "xx"
                    user: "xxxxxxxx"
                    pass: "xxxxxxxxx"
                    command: "DISPLAY=:0 mumble rpc togglemute"
          on_release:
            then:
              - light.turn_on:
                  id: led_1
                  effect: "Random"
      

      And this is the error that I am getting:

      In file included from .piolibdeps/esphome-web-6670e8/FastLED/src/third_party/yves/I2SClockLessLedDriveresp32s3/driver.h:9,
                       from .piolibdeps/esphome-web-6670e8/FastLED/src/platforms/esp/32/clockless_i2s_esp32s3.cpp:19:
      .piolibdeps/esphome-web-6670e8/FastLED/src/third_party/yves/I2SClockLessLedDriveresp32s3/src/I2SClockLessLedDriveresp32s3.h:38:10: fatal error: esp_lcd_panel_interface.h: No such file or directory
      
      ***************************************************************************************
      * Looking for esp_lcd_panel_interface.h dependency? Check our library registry!
      *
      * CLI  > platformio lib search "header:esp_lcd_panel_interface.h"
      * Web  > https://registry.platformio.org/search?q=header:%1B%5Bm%1B%5BKesp_lcd_panel_interface.h
      *
      ***************************************************************************************
      
         38 | #include "esp_lcd_panel_interface.h"
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      *** [.pioenvs/esphome-web-6670e8/lib6ad/FastLED/platforms/esp/32/clockless_i2s_esp32s3.cpp.o] Error 1
      Compiling .pioenvs/esphome-web-6670e8/lib6ad/FastLED/platforms/wasm/ui/title.cpp.o
      ========================= [FAILED] Took 215.49 seconds =========================
      

      Dou you have any idea of the problem?

      Thank you!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post