kitesurfer1404 / WS2812FX

WS2812 FX Library for Arduino and ESP8266

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Esp8266 MQTT Problem

AxellentAlex opened this issue · comments

Hi, I bought a D1 Mini (Esp8266) and connected it to my Led Strip (ws2812b). I added the WS2812FX library and tested the Example "auto_mode_cycle" and everything works fine but if I add it to my Mqtt Project, so I can controll the Leds with OpenHab no Effect works as it should execpt Static. (https://pastebin.com/r91DDaAJ).

In your loop() function you're constantly calling setMode(), which resets all the animation parameters. You should only call setMode() when the mode changes.

Thanks. I added an update check and that fixed it