fraschetti / Octoslack

OctoPrint plugin for Slack, Mattermost, Pushbullet, Pushover, Rocket.Chat, Discord, Riot/Matrix, & Microsoft Teams
MIT License
74 stars 34 forks source link

Add M112 to commands? #94

Open dorfman2 opened 4 years ago

dorfman2 commented 4 years ago

@fraschetti Is it possible to add M112 - Emergency Stop to the list of commands?

My current use case is when the printer runs out of filament, but is in an Makerspace I can't get into for a few days. To save electricity, I'd like to be able to stop the printer with M112. Using E-stop is not ideal, but "cancelling" during a filament change does not currently work, since the printer is in a paused state.

Thanks for your consideration and this awesome plugin!

fraschetti commented 3 years ago

Hi @dorfman2

I had intended to add the option to send GCODE to the printer but it didn't make the earlier releases. I'll keep this in mind for my next rounf of updates.