ryanriccio1 / rpi-sacn-neopixel

Python Program for control of WS2811/2b pixels from SBCs, OLAD integration
4 stars 0 forks source link

Works but stops responding after 5 minutes #1

Open skutassy opened 1 year ago

skutassy commented 1 year ago

I can get this to work well using a pixelstrip and etc eos software. However after around 5 minutes it stops responding. Stopping and restarting the light.py script restarts it but again it stops. Can you show how i might go about troubleshooting this. Where are the log files located. I could not seem to locate.

I'd like to utilise it in a theatre production but obviously it needs to be reliable

I am using a 3b

Thanks

Simon

ryanriccio1 commented 3 months ago

Hi @skutassy, haven't touched this program for a while, but I do know that the RPi 3b cannot expose the proper SPI chips to all of the GPIOs, hence the reason I used an RPI4 for this project. Also 3b and 4 have different SPI chips entirely if I'm not mistaken. Now while it sounds like the SPI chip is being utilized properly, it's hard to troubleshoot since this program is so simple that logging would be mostly useless (logging was going to be implemented, but I lost time for this project and it was never properly finished). This program is basically just a sACN relay that performs some simple calculations to determine how to write data to GPIOs. The sACN library is not mine, and neither is the Neopixel library. If the program is crashing, odds are the only thing the could "block" the program is writing to a log, otherwise the issue lies in one of the other libraries. In the config you could try turning off logging. It's hard to say for sure since the hardware could be the issue in the first place.