diyhue / Lights

DIY lights with support for diyHue
https://diyhue.org/
172 stars 97 forks source link

can't get generic sk6812 code to run #104

Closed Giznae closed 3 years ago

Giznae commented 3 years ago

Hi there, I'm using a ESP8266 (NodeMCU 12E) and had it running once before but wasn't happy with my setup... I can connect to the ESP's wifi network but the 192.168.4.1 can't be reached and the SSID is also has the regular name and not the one i gave it unter lightName. Since I last compiled and flashed the code I did a fresh isntall of windows, so my old arduino Ide config is gone.

the only things i have changed in the code are the lines: IPAddress address IPAddress gateway IPAddress submask

char *lightName

uint16_t pixelCount uint8_t transitionLeds

Thinking it might be a problem with my code or the drivers i also tried different ones (which worked) and reinstalled the drivers. Then I tried using the generic SK6812 code straight from this github with no success. Funny thing is that the serial plotter doesn't show anything (using my other code it did).

I'm stating to get the feeling theres something wrong with the libraries I'm using. The ones I'm using are: Wifimanager by tzapu (0.15) arduinojson (6.10)

and for the ESP8266 core I installed the 2.5.2 version, when I tried newer ones it would not even compile...

Are those versions maybe the point of failure or do you have any sugestions what I could try? thanks in advance

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 2 days if no further activity occurs. Thank you for your contributions.

Giznae commented 3 years ago

After not touching it for a long time I found the problem. I didn't change the Flash size to one of the SPIFFS options. The docs say you need to use the 4M (3M SPIFFS), when using a NODE MCU.

RTFM i guess...