I’m using both an ESP-WROOM-32 board I bought on Amazon and an M5Stack Core 2 with 3 Adafruit NeoPixels. [EDIT] The NeoPixels are on a single GPIO25, use WS2812B’s. I’ve tried different board types and different GPIO’s to no success.
If I were to use them with the rainbow test sketch, they work perfectly fine.
When I use them with ESPHOME, they work perfectly fine after flashing until I unplug the power after flashing. (meaning power cycle)
Any ideas why?
esphome:
name: towerlight
esp32:
board: denky32
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "XXXX"
light:
- platform: neopixelbus
type: GRB
pin: GPIO25
variant: 800KBPS
num_leds: 36
id: light1
name: "NeoPixel Light"
- platform: partition
name: "Ring #1"
segments:
- id: light1
from: 0
to: 11
effects:
- addressable_scan
- platform: partition
name: "Ring #2"
segments:
- id: light1
from: 12
to: 23
effects:
- addressable_scan
- platform: partition
name: "Ring #3"
segments:
# Use LEDs 11-20 from the light with ID light1
- id: light1
from: 24
to: 35
effects:
- addressable_scan
ota:
password: "XXXX"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Towerlight Fallback Hotspot"
password: "XXXX"
captive_portal:
Unplug the power … and then how are you powering the ESP and the LEDs afterwards? And is the ESP itself working (i.e. connecting to WiFi, connecting to HA, etc.) and it’s just the LEDs that are not working, or is nothing working?
My USB is plugged into a power bar with USB ports (NOMA brand) that has a 2.1A rating on it. Again, it works just fine on the rainbow strand test using the Arduino IDE.