bruhautomation / ESP-MQTT-JSON-Digital-LEDs

(OBSOLETE) ESP8266 MQTT JSON Digital LEDs for Home Assistant
https://youtu.be/9KI36GTgwuQ
Apache License 2.0
512 stars 268 forks source link

LEDs will not light up with this script. MQTT works, Circuit tested with another script and works #104

Open hazoomeh opened 5 years ago

hazoomeh commented 5 years ago

Spent a few days trying to get this to work. I'm having strange issues with this, managed to get to the stage where the HA showing the switch, colour selection and effects. Problem is LED's aren't switching on at all. I've checked my data pin and it's correct. My MQTT works and shows the requests from HA in Ardunio IDE serial monitor. I flashed my nodemcu with the neopixel strandtest code, as a test and the LED's work. Not entirely sure what is going on. Any help is much appreciated! Thanks

SevenEvens commented 5 years ago

Hi Hazoomeh, I had the same issue and did the same tests. But the issue was that I thought I bought WS2811 and I bought WS2812 so after I change the chipset to WS2812 it works perfect, maybe you are facing same issue :)

ufo56 commented 5 years ago

WS2812 or WS2811 wich one is correct ?

This ? https://www.aliexpress.com/store/product/1m-4m-5m-WS2812B-Smart-led-pixel-strip-Black-White-PCB-30-60-144-leds-m/1051119_2036819167.html?spm=2114.12010610.8148356.2.3f7e1876rwCKcm

SevenEvens commented 5 years ago

For me the correct one was WS2812