klipper-led_effect icon indicating copy to clipboard operation
klipper-led_effect copied to clipboard

Effect affects all LEDs not just defined

Open Komet opened this issue 3 years ago • 3 comments

Hi, thanks for your work! Really a nice addition :)

I have two LED strips on different pins and an effect defined for one of them. If I start the effect it also toggles the LEDs of the other strip. This means: Setting the toolhead LEDs to red and then starting the fire effect, the toolhead LEDs will turn off. I don't think that this is the intended behaviour (?) I would assume that the other LEDs would simply be not affected.

pin: PB6
chain_count: 17
color_order: GRB

[neopixel toolhead]
pin: PB7
chain_count: 3
color_order: GRBW

[led_effect fire]
frame_rate: 24
leds:
    neopixel:top_lights
layers:
    fire 45 40 top (0.0, 0.0, 0.0),(1.0, 0.0, 0.0),(1.0, 1.0, 0.0),(1.0, 1.0, 1.0)

Komet avatar Aug 04 '22 18:08 Komet

I suppose you set the other LEDs to red using SET_LED? I have to look into this. As a workaround, you could try defining an effect with static red and run that. Let me know if this works.

julianschill avatar Aug 14 '22 18:08 julianschill

Also: Can you provide a log and/or your complete configuration?

julianschill avatar Aug 14 '22 19:08 julianschill

@Komet Any news on that? I can't reproduce it on my side.

julianschill avatar Sep 21 '22 00:09 julianschill

Closing because of inactivity. Feel free to reopen or open a new one, when further support is needed.

julianschill avatar Oct 23 '22 17:10 julianschill