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
112 stars 26 forks source link

ERROR: RuntimeError('ws2811_init failed with code -13 (Unable to initialize SPI)') #189

Closed volt64bolt closed 2 years ago

volt64bolt commented 2 years ago

Describe your problem

I can't get the lights to turn on, at first I thoughts the lights were dodgy but I checked the logs and found the line ERROR: RuntimeError('ws2811_init failed with code -13 (Unable to initialize SPI)') (they might still be dodgy lights but this seems like the main culprit) this log is without debug logging enabled: plugin_ws281x_led_status_debug.log this is after i enabled debug logging: plugin_ws281x_led_status_debug.log plugin_ws281x_led_status_debug.log

I am running a raspberry pi 4b and ws2812 5v leds, powered with a 600ma 4.5v power supply, can change this from 3v to 5v and have tested on each setting, attached below are images of the setup, with the pins unplugged. I did triple check I plugged them into the right slots PXL_20220414_172143962 PXL_20220414_172250355 PXL_20220414_172325554 PXL_20220414_172303997

Please confirm the following

Log files

plugin_ws281x_led_status_debug.log octoprint.log

volt64bolt commented 2 years ago

how do i close this now?

cp2004 commented 2 years ago

There should usually be a close button at the bottom, but I can do it too.

(Resolved on discord, changed PSU, in case I forget why this is closed now)