You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use my neopixel matrix 64 rgbw as a light source for my plant growing project.
I have a light script, that implements sunrise, noon and sunset.
basically, the light dims up, sleeps while noon (16 hours in my case) and then it dims down again.
The pixels = neopixel.NeoPixel(...) was defined on top of the script, after the includes and some config. It was working fine, dimming the light up and down. But after updating to v6.3.0 (i guess, but nothing fancy was changed there) the neopixels won't respond after 16h sleep of the script.
Because I didn't want to upset my basil, i was not able to test it thoroughly, but i guess that 15-20 minutes after the last change to the neopixels is sent, the library silently fails to change the neopixels any further (the log says it dims down, but nothing happens at all).
I circumvent this, by invoking neopixel.NeoPixel(...) when i need it, as you can see here in my commit to my light daemon here
I believe that this is a bug in the library, but I am also willing to admit that my code is bad :-)
The text was updated successfully, but these errors were encountered:
The Board is an Raspberry Pi 3 Model B Rev 1.2 and i run the script with python 3.9.2. The libraries are all up to date. Unfortunately i can't tell what version adafruit-circuitpython-neopixel was, before i updated it (blindly) to 6.3.0..
Hello there! ^^
I use my neopixel matrix 64 rgbw as a light source for my plant growing project.
I have a light script, that implements sunrise, noon and sunset.
basically, the light dims up, sleeps while noon (16 hours in my case) and then it dims down again.
The
pixels = neopixel.NeoPixel(...)
was defined on top of the script, after the includes and some config. It was working fine, dimming the light up and down. But after updating to v6.3.0 (i guess, but nothing fancy was changed there) the neopixels won't respond after 16h sleep of the script.Because I didn't want to upset my basil, i was not able to test it thoroughly, but i guess that 15-20 minutes after the last change to the neopixels is sent, the library silently fails to change the neopixels any further (the log says it dims down, but nothing happens at all).
I circumvent this, by invoking
neopixel.NeoPixel(...)
when i need it, as you can see here in my commit to my light daemon hereI believe that this is a bug in the library, but I am also willing to admit that my code is bad :-)
The text was updated successfully, but these errors were encountered: