Thank you for your prompt reply!
Sorry, I am a newbie and maybe I am asking stupid things.
Do I have to declare the light somewhere before add the onclick lines?
I tried adding this:
- platform: gpio
name: Led
pin:
number: GPIO27
But it gives: This pin cannot be used on ESP32-S3s and is already used by the SPI/PSRAM interface(function: SPIHD).
Failed config
light.esp32_rmt_led_strip: [source /config/esphome/esphome-web-6670e8.yaml:49]
platform: esp32_rmt_led_strip
rgb_order: GRB
pin: GPIO35
num_leds: 1
[rmt_channel] is an invalid option for [light.esp32_rmt_led_strip]. Please check the indentation.
rmt_channel: 0
Unknown value 'WS2812B', did you mean 'WS2812', 'WS2811', 'SK6812'?.
chipset: WS2812B
name: LED
id: led_1
light.esp32_rmt_led_strip: [source /config/esphome/esphome-web-6670e8.yaml:49]
platform: esp32_rmt_led_strip
rgb_order: GRB
pin: GPIO35
num_leds: 1
Unknown value 'WS2812B', did you mean 'WS2812', 'WS2811', 'SK6812'?.
chipset: WS2812B
name: LED
id: led_1
Are we talking about Atom S3 Lite or Atom Lite here? I see the title says Atom Lite, and then in the discussions I also see people saying AtomS3 Lite. To be clear, those are different products, even though they look almost the same from the outside.
And, as such, the GPIO # for LED and for the button would therefore be different. @aleisdone you will have to pick the correct GPIO #s based on the device in your hand.
Furthermore, ESPHome recently had a relatively major framework change, maybe last month(?), where the default becomes esp-idf, and arduino becomes a subset of esp-idf.
And if you use the (now default) esp-idf framework, fastled_clockless would not be applicable because that is arduino framework only. The LED control equivalent is esp32_rmt_led_strip, just like what Karosm said above.
The official documentation is not wrong per se, but note that fastled_clockless would work only under arduino framework.
Now, after that, I can see there was another mistake / misdirection / typo by Holdestimade - the chipset: (BTW @Holdestmade where did you get the below from?)
So @aleisdone , the error message you got is saying Unknown value 'WS2812B' , and that was your cue to visit the documentation of the esp32_rmt_led_strip platform. You likely will find that WS2812B is not a thing under esp32_rmt_led_strip, and you will have to try a different one.
Finally, which GPIO did you drive the remote_transmitter component? Did you drive IR or RF signal? What did you mean “it works”…?
Yes I figured that was probably why. S3 or not, arduino or esp-idf, whomever posted it and say it’s working is likely not, simply because:
“WS2812B” is an option for fastled_clockless, but not for esp32_rmt_led_strip
rmt_channel option is no longer a thing / not an option for esp32_rmt_led_strip either
Also the # of LEDs is not correct either, but that’s secondary
Anyways I was trying to explain to OP @aleisdone what has happened. Our goal here is to help him/her.
=====
Now, @aleisdone - I have a AtomS3 Lite, and my LED + button toggling LED config is verified to be compiled & working last week, using esp-idf framework. Do you have what you need at this point? All working? Or do you still need help? I could offer mine as a reference.