Klipper-WS281x_LED_Status icon indicating copy to clipboard operation
Klipper-WS281x_LED_Status copied to clipboard

Constant blinking and errors trying to run commands

Open ropie opened this issue 1 year ago • 2 comments

So I just got this installed and everything went off without a issue. But now my Led strap constantly turn off, flash white, off, back to the predefined setting, i.e. Idle colors, off, full white, off, idle color. I saw a reddit post from 2 years ago saying this issue was solved in an update.

I also copied the scripts to be able to use macros to turn off the leds, make them white, or make them purple. When running the command, the console returns 'Error running command ...'

I'm at a loss of what to try. I've rebooted, ensured the service is setup correctly, verified config files. Any tips or suggestions?

ropie avatar Sep 26 '23 23:09 ropie

i have the constant blink issue as well (eg: the face, or chase works, but there's a loop somewhere pushing a 255 255 255 to put. everything white) i suspect the issue to be with this section: for state in self.pixel_map: effect_color_1 = effects_settings[state]['color_1'] if ('color_1' in effects_settings[state] and effects_settings[state]['color_1']) else [255, 255, 255] effect_color_2 = effects_settings[state]['color_2'] if ('color_2' in effects_settings[state] and effects_settings[state]['color_2']) else None self.pixel_map[state] = self.set_pixel_map(effect_color_1, effect_color_2)

Or the fact that moonraker does not return the right status, although this is what i'm getting back from the API:

{"result": {"eventtime": 18507.183254913, "status": {"print_stats": {"filename": "", "total_duration": 0.0, "print_duration": 0.0, "filament_used": 0.0, "state": "standby", "message": "", "info": {"total_layer": null, "current_layer": null}}}}}

@11chrisadams11 have you ever experienced something like this?

stephbellemare avatar Jun 30 '24 19:06 stephbellemare