Wondering if anyone else has observed this. I have one of these M5stack Atom Lite devices that I use as a BLE receiver. I’ve configured the RGB LED and notice that sometimes it comes on by itself, even though I haven’t pressed the button or triggered any automations. Here is the relevant config section:
Good to know. These m5atom lite are great little devices but I’ve found that sometimes with the FastLED driver they get wedged and the LED won’t turn off. Thanks for the tip.
For those coming here from a Google search, like me, I was unable to publish the button and LED on the M5Stack Atom Lite using the configuration above.
Neither neopixelbus nor fastled_clockless worked in my case, because I was using ESPHome Bluetooth Proxy and those libraries require the arduino framework. This config didn’t work, too.
I’m also using the bluetooth frame work and the Neopixelbus config is working with that too.
(I shows Red, Blue, Green on boot and I just power cycled it to check for you.)
I did some digging because I also had this issue.
Looks like there’s a hardware bug on the ESP32 that’ll make GPIO39 (which the button on the Atom Lite uses) trigger randomly:
Works perfectly, no more phantom button presses.
I don’t mind the 1mA of extra power usage as the device is not connected to a battery, where that sort of thing would matter to any reasonable degree.
I can confirm that my “phantom presses” (assuming that was what previously turned on my light randomly) have vanished with this fix. Thanks a lot everyone for figuring this out!