bruhautomation / ESP-MQTT-JSON-Digital-LEDs

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

Trouble on Data being sent to strip? #57

Closed YungTyJesus closed 7 years ago

YungTyJesus commented 7 years ago

Hey all,

I'm super new to trying to get things connected over the internet, but this project seemed within my scope. I love any project with light strips and wanted to update my current set up to connect to Wi-Fi like Ben's, but I'm having a little trouble.

My set up was: Arduino Uno (running Neopixel codes) 5V 10A power supply WS2812B RGB LED strip

I know that Ben is using a 12V strip, but I thought that my strip being 5V would be less of a hassle. To get this project updated, I got a raspberry pi running hassbian with home assistant on it and that seems to be fine. I got a nodeMCU to replace the Arduino Uno and a logic converter for the data signal. The light strip powers up fine but I'm not sure what's going on with the data... I can't get it to respond from the commands from Home Assistant. My strip just lights up a solid blue-ish color and doesn't respond to anything. When I check the serial monitor on the Arduino IDE, it is completely blank. I feel that the issue has something to do with the nodeMCU but I can't place my finger on it. What could I be doing wrong? Data pin and ground on the light strip seems to get just under 5V (~4.9) and the power and ground on the strip are getting ~5.2V... I wonder if this could be the issue as well? Thanks in advance for your help guys.

YungTyJesus commented 7 years ago

Sorry peeps! I kept messing with it and tried some things and got it working... Not sure what made the difference but I think it was changing the programmer in the Arduino IDE to "Arduino as ISP" instead of the default that it was (something like AKP MSRVII?). Closing the issue as my set up lights up and responds promptly!