ESP-MQTT-JSON-Digital-LEDs icon indicating copy to clipboard operation
ESP-MQTT-JSON-Digital-LEDs copied to clipboard

Turning off

Open zamzon opened this issue 7 years ago • 18 comments
trafficstars

Hi My LED strip goes off randomly, is it something that can be turnd off

zamzon avatar Jan 20 '18 14:01 zamzon

Same for me.

andersmbgt avatar Jan 22 '18 12:01 andersmbgt

What do you mean by, "goes off randomly"? Do you mean it actually turns off randomly whenever it is on? Or turns on randomly when it is off?

pacobyte avatar Jan 24 '18 15:01 pacobyte

Hi

When it is turned on, sometimes it goes off. I think some of the scenes turns it off after a while, I don’t think it is all of them.

zamzon avatar Jan 24 '18 21:01 zamzon

When the LED strip turns off by itself, does it actually report as having been turned off in Home Assistant?

pacobyte avatar Jan 24 '18 21:01 pacobyte

Yes is send a OFF signal to the MQTT broker

zamzon avatar Jan 24 '18 21:01 zamzon

Hmm...that's odd. Does that only happen while it's "playing" one particular animation?

If any animation triggers it, does it also happen if you leave it on solid?

pacobyte avatar Jan 24 '18 22:01 pacobyte

I am also having this issue

nickboucher avatar Feb 01 '18 06:02 nickboucher

I haven’t tested all the animations because it is not a fixed time it turns off. But I have the issue with the rainbow

I haven’t tested the solid.

zamzon avatar Feb 01 '18 07:02 zamzon

I am having the same issue. I have not tested all the effects but it definitely happened on the “twinkle” effect. HomeAssistant shows it was on for 1 hour and 45 mins before turning itself off. I will continue to test and see if the times are consistent.

balsman225 avatar Feb 07 '18 02:02 balsman225

I have the same issue with my strip. Seem to be an issue in all automations.

Rudertier avatar Feb 11 '18 19:02 Rudertier

Has anyone made any progress on this?

Is anyone using hardware components different than the components recommended in the YouTube video? If so and you are still experiencing problems, we can begin to rule out hardware issues and assume that there is indeed a software problem.

nickboucher avatar Mar 01 '18 20:03 nickboucher

It was working fine for many months however when I upgraded the device to the now JSON based approach it never operates for more than a few minutes.

I am using an ESP12. I use WS2811 approx 5m. I do not use a level shifter as the first LED is only 10cm away.

craig3050 avatar Mar 06 '18 19:03 craig3050

That's interesting -- I had a suspicion that the problem was related to the FastLED issue discussed in #60 (https://github.com/bruhautomation/ESP-MQTT-JSON-Digital-LEDs/issues/60), but perhaps it is related to JSON parsing? @craig3050, have you been able to your setup working correctly again?

nickboucher avatar Mar 10 '18 20:03 nickboucher

Not yet, I have downloaded a fresh copy, re-installed FastLED and the other libraries, however it is still crashing after about 5-10 mins (so a small improvement but still not consistant).

I have now deleted the arduino IDE from the computer and re-installed from scratch but so far I've not had time to re-test. I will do so ASAP and report back.

craig3050 avatar Mar 12 '18 11:03 craig3050

Hi, can you have serial monitor connected when strip crash so we see reason? I using ESP-01 and have crash problem because #define FASTLED_ALLOW_INTERRUPTS 0. Reason of restart was 4 "watch dog reset".

Murasakicz avatar Mar 13 '18 23:03 Murasakicz

Anyone ever find a solution for this ? - I recently built a small light for my kid using this setup and it randomly turns itself off (solid colour, not effect).

realroywalker avatar Jul 31 '18 13:07 realroywalker

https://github.com/bruhautomation/ESP-MQTT-JSON-Digital-LEDs/issues/92

encor50 avatar Jul 31 '18 13:07 encor50

Remove " #define FASTLED_ALLOW_INTERRUPTS 0" , that fixed my issues.

highground88 avatar Dec 03 '18 10:12 highground88