Skip to content
This repository has been archived by the owner on Dec 8, 2019. It is now read-only.

Cyclon rainbow crashing MQTT #96

Open
Necrolust opened this issue Aug 22, 2018 · 11 comments
Open

Cyclon rainbow crashing MQTT #96

Necrolust opened this issue Aug 22, 2018 · 11 comments

Comments

@Necrolust
Copy link

So I have an issue where ONLY the cyclon rainbow effect crashes MQTT and I can see the device trying to reconnect (actually it says its connected over and over) to the broker but its completely unresponsive. Also says its setting the LEDs to 0,0,0 when its stuck on the cyclon rainbow

This is on a NodeMCU 1.0

Anyone else seen this?

@stefanlaheij
Copy link

Yes, same issue here. As long as I don't use this effect everything keeps working perfect.

@Necrolust
Copy link
Author

Necrolust commented Sep 26, 2018 via email

@thainglo1
Copy link

I am having this exact issue. Just started playing around with a strip of lights and NodeMCU today in preparation for Halloween. Every other effect works great, just the Cyclon Rainbow somehow keeps the NodeMCU from shutting down.

Per Necrolust comment, I checked my Data Pin, it is defined as 5.

Anyone have any pointers?

@radeonorama
Copy link

Hey! So i've had the same issue and just found a solution, well for me anyway.

I've been using the 5m strip of 5050 lights, 60 LEDs/Meter but they only have a chip every 3rd led.

At first i didn't think anything of it and with 10 meters assumed I had to set my NUM_LEDS to 600 as that's how many LEDs I have however as the chip is every 3rd, I noticed 3 leds have the same colour for each set so technically I have 200 addressable sections.

As soon as i changed my sketch to 200 led's it all works perfectly.

might be worth you guys checking the same! hope it helps someone.

@Fma965
Copy link

Fma965 commented Dec 26, 2018

by any chance are you using the beta version of the board from the board manager?

@radeonorama
Copy link

nope, why'd you ask? you been having the issue?

@Martinvdm
Copy link

Same issue with Cyclon Rainbow, crashes MQTT

@dajomas
Copy link

dajomas commented Aug 23, 2019

Which MQTT server ar you using? I have a 250 led WS2812b strip that is working without a problem. Never caused my MQTT server (mosquitto) to crash and the led strip just lights up as I would expect it.

Could you give some more details on your setup? How can you tell MQTT crashes? If you reset the MQTT server can you send messages for the led strip again?

@Martinvdm
Copy link

I am using mosquito. It is not the MQTT server itself which is crashing but the led strip does not respond any more on MQTT commands. I have 240 leds ws2815 defined as ws2811. Tried the Pinkyleds project and did not had any issues with cyclone rainbow.

@chosten
Copy link

chosten commented Sep 2, 2019

I have the same problem and the "Lightning" effect is also affected but less.
I believe it is because those two effects use a delay within a loop. Somehow the mqtt client miss the messages.

@chosten
Copy link

chosten commented Sep 7, 2019

I replaced the code for the Cyclon Rainbow effect with the one from the PinkyLEDs project and it is now working fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants