I can’t get this to work properly on a ESP8266 NodeMCU with an AdaFruit NeoPixel 16 LED ring which uses WS2812 LEDs. There is also a DHT11 temperature/humidity sensor connected which is working perfectly.
When controlling the LEDs from the hassio front end using the colour wheel, the bus is obviously working as it will brighten and dim using the slider, and it will turn the LEDs white when the centre of color wheel is selected, but it’s only turning on 12 LEDs, and they are all the wrong colour when anything other than white is selected. Some of the effects I’ve added work, but again all the colors are wrong.
Tried BIT_BANG and DMA with the same result using pin . Tried a few combinations of RGB order but didn’t seem to have any effect. Also tried the fastLED library (set to NEOPIXEL) but very similar result. Not sure how to debug! The photo shows no effect and blue selected on color wheel.
Thanks. Solved it. The ring has a white LED which I didn’t realise, went back to the Neopixel bus library and set type to “GRBW” and that fixed the problem! All working now.
I have the same problem. NodeMCU, WS2812 Adafruit 16 pixel ring. I used your same YAML and I’m having the same issues. Selecting a color sets random colors. Dimming it just shuts off some pixels. My YAML:
I had the exact same issue, but the couldn’t find the fix for this issue here.
After a while fiddling around i tried the invert option, and now it works like a charm.
light:
- platform: neopixelbus
type: GRBW
pin: GPIO3
variant: SK6812 # the 800KBPS is also fine
num_leds: 16
name: "NeoPixel Light"
invert: true
I have tried several of the options described here but I have this problem and I cannot solve it, only cold temperature white works for me, when changing the color the color selected in HA does not correspond to the colors shown by the led’s, any help? ?