Description
I would like to get "Action" commands when some print issue occur, for example crash detection.
In Octoprint it is possible to react on printer "actions" but for that the printer must sent threw the terminal a message like "action:crashdetected". This can be added for several different things like filament runout, power panic, etc. This way I can send a message from octoprint to my phone (via telegram for example) with a picture, or I can pause the print make a alert or whatever I want.
Send: N21272 G1 X140.372 Y123.808 E0.00075*103
Recv: echo:enqueing "G1 E-1.000 F2700.000"
Recv: echo:enqueing "G1 Z 10.199 F 800.000"
Recv: echo:enqueing "CRASH_DETECTEDX"
NEW = action:crashdetected
Recv: tmc2130_home_enter(axes_mask=0x01)
Recv: echo:busy: processing
Recv: echo:busy: processing
Recv: 0 step=30 mscnt= 482
Recv: tmc2130_goto_step 0 29 2 1000
Recv: tmc2130_home_exit tmc2130_sg_homing_axes_mask=0x01
Recv: tmc2130_home_enter(axes_mask=0x02)
Recv: echo:busy: processing
Recv: 0 step=18 mscnt= 291
Recv: tmc2130_goto_step 1 17 2 1000
Recv: tmc2130_home_exit tmc2130_sg_homing_axes_mask=0x02
Recv: echo:enqueing "CRASH_RECOVER"
Recv: T:215.2 E:0 W:1
Recv: T:215.3 E:0 W:0
Recv: echo:busy: processing
Recv: echo:busy: processing
Recv: echo:busy: processing
Recv: Resend: 21242
Recv: ok
Send: N21242 G1 X143.783 Y126.239 E0.03352*101
Recv: ok
Activity