Replies: 3 comments
-
think that is possible rn? Line 220 in 14840a4 |
Beta Was this translation helpful? Give feedback.
-
@gretel I expect that's something like |
Beta Was this translation helpful? Give feedback.
-
The problem is that Klipper currently doesn't provide a good way for a macro to detect that the printer has transitioned out of the idle state. So, in the case of dimming LEDs when the printer is idle, you would also expect those LEDs to return to their previous state as soon as you issue any command. Unfortunately there's no good way to do that, so the best you can do is kinda fake it with ugly hacks. The easiest hack is to just ignore the problem, and hope an overridden command eventually gets issued and sets the state after the printer comes out of idle. The problem with that approach is that it's going to be inconsistent, since only a handful of commands are hooked to track the state. So you don't actually know if or when your LEDs will come back on. The more complicated hack is to use Since I didn't like either of those approaches, I chose not to support an idle state. |
Beta Was this translation helpful? Give feedback.
-
Expose the Timeout Idle for event.
Reasonale: I have NEOPIXEL LEDs, would be great if they can dim after idle.
Beta Was this translation helpful? Give feedback.
All reactions