This is a high level conceptual question. I have a extrudinare extruder prototype. Really cool piece of tech you should check it out. The controller board does not function. I need to control the pellet delivery with klipper.
There are two hoppers. One big storage hopper that is heated with a powerful cpap fan that blows pellets to a small hopper on the print head.
The small hopper has an IR endstop to tell when the pellets are low.
When the endstop is triggered the fan must run a minimum of X seconds so that the hopper is filled to a predetermined level past the IR endstop.
If the endstop is still triggered after the fan run is completed the print must be stopped with a filament runout prompt.
Is this doable in klipper? If yes, please point me in the correct direction.
I looked at “kick_start_time” but I’d need a way of controlling the function in a macro.