🤖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

    Scheduled Pinned Locked Moved ESPHome
    1 Posts 1 Posters 194 Views
    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 Offline
      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

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post