cp2004 / OctoPrint-WS281x_LED_Status

Add some RGB LEDs to your printer for a quick status update!
https://plugins.octoprint.org/plugins/ws281x_led_status
GNU Affero General Public License v3.0
111 stars 26 forks source link

First 24 LEDs stuck to blue color wipe pattern #208

Closed jvnguyen121 closed 1 year ago

jvnguyen121 commented 1 year ago

Describe your problem

I am having an issue where the first 24 LEDs are stuck to a blue "moving" pattern. When I try to set a color in the utilities menu, the first 24 flashes the correct color then reverts back to the moving pattern. The rest of the LED strip seems to work as intended. Here is a video of me trying to set the strip to red, green, blue, white, and the random pattern using the utilities menu: https://drive.google.com/file/d/1aFVLhwwsIRHWJsQyILhFRZrzojo-vbVV/view?usp=share_link

I am using the following: 12V WS2811 Strip: https://www.amazon.com/dp/B01CNL6K52/ref=dp_iou_view_item?ie=UTF8&th=1 External 12V power supply: https://www.adafruit.com/product/5450 + USB-C PD Charger outputting 12V 3A Level Shifter: https://www.adafruit.com/product/1787

These are wired up similarly to the guide but with 5V power for the 74AHCT125 VCC coming from Pi 5V instead of an external power supply. image

Things I've tried to fix the issue:

I am really stumped on what could be wrong here. Any guidance would be greatly appreciated!

Please confirm the following

Log files

plugin_ws281x_led_status_debug.log octoprint (2).log

jvnguyen121 commented 1 year ago

I finally figured out that the issue was caused by my second instance of octopi was fighting with my main instance. The second instance was trying to send signals for "idle" and would overwrite my commands for the first 24 LEDs (the default number). If anyone in the future is trying to resolve an issue like this, try checking on other instances of octopi!