Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LED effects seem to cause issue with recent update #50

Closed
srothwel opened this issue Apr 18, 2022 · 11 comments · Fixed by #54
Closed

LED effects seem to cause issue with recent update #50

srothwel opened this issue Apr 18, 2022 · 11 comments · Fixed by #54
Assignees
Labels
bug Something isn't working

Comments

@srothwel
Copy link

Love the LED effects, but I have just updated Klipper, Moonraker and the Raspberry Pi OS via the links in Fluid and now I get an error 'internal error during ready callback: PrinterNeoPixel instance has no attribute 'chain_count' If I comment out the effects in the config file then everything back to normal but no LED Effects. Declaring Neopixels in the config is still okay just not the effects.

@julianschill
Copy link
Owner

There were some changes in the LED code of klipper today. So LED effects might need some fix.

@julianschill
Copy link
Owner

Just to be sure: Have you defined chain_count in the neopixel configuration?

@julianschill julianschill added the bug Something isn't working label Apr 18, 2022
@meganssmith
Copy link

I got the same issue with mainsail today as well. and yes all my neopixles had the chain_count set on them

@w35t13
Copy link

w35t13 commented Apr 19, 2022

wish i saw this before i hit update haha

@julianschill
Copy link
Owner

As a workaround until I fix this, you can add the indices to the LED definition like this: neopixel:my_leds (1-8)
So e.g.:

[led_effect panel_idle]
autostart:              true
frame_rate:             24
leds:
    neopixel:panel_ring (1-8)
layers:
    breathing  10 1 top (.5,.5,1)

@srothwel
Copy link
Author

srothwel commented Apr 19, 2022 via email

@meganssmith
Copy link

thank you, that fixed my issues

@seb449
Copy link

seb449 commented Apr 19, 2022

Parfait cela contourne bien le pb, merci

@devolf92
Copy link

thanks! fix works

( start led # - end led #)

@srothwel
Copy link
Author

srothwel commented Oct 11, 2022 via email

@julianschill
Copy link
Owner

This should be fixed already. Please update LED Effect to the newest version. If you still have problems, please provide the klippy.log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants