Show printer Status via RGB Strip

I installed a basic adressable rgb led strip in my rr long ago but just used it only kina as a flashlight via macro (off most of the time) My thought was showing the printer status like blinking red for error, orange for calibrating/homing, white when printing (and maybe even changing the color with the print percentage). Any hints how to tackle this? I haven't really found a solution other than to add them to the print start macro or something. But isn't the print status something that can be called?
5 Replies
blacksmithforlife
you probably want to start looking into the moonraker APIs. If you want it independent of the klipper macros you will probably need to write a linux daemon (python would probably be a good choice) to do all the work
blacksmithforlife
Configuring RatOS Macros | RatOS
RatOS comes with a bunch of flexible predefined macro's that can be customized via variables and macro hooks.
DBWL
DBWLOP4w ago
wow that sounds like a lot of work maybe I can use the neopixel gcodes from the voron neopixel implementation
blacksmithforlife
which is why I would suggest you just hook into the user-macro-hooks
DBWL
DBWLOP4w ago
oh, that sounds great! now I understand what those can be used for I saw them in the documentation when installing some days ago but thought "why whould I need those" sorry I am new to more custom things on the RR

Did you find this page helpful?