LuckyX182 / Filament_sensor_simplified

OctoPrint Filament sensor simplified plugin repository
Apache License 2.0
29 stars 41 forks source link

Multiple gcodes? #31

Closed slvrsky07 closed 3 years ago

slvrsky07 commented 3 years ago

Is there a way to add more than one gcode to be triggered? I would like it to do M25 and also an action item like M118 if possible.

concres commented 3 years ago

I don't know if you already found a way, but one option that I tested in other similar plugins and worked was to edit the scripts After print job is paused and Before print job is resumed on the OctoPrint. This page show a great example. In this plugin I don't test it yet.

LuckyX182 commented 3 years ago

No, currently there is only one gcode command possible.