Searched this forum, could not find it, but it must be easy.
I want to pause/resume/stop/cancel/forwardgcode Octoprint through an external script.
The moment when I send this command could be anything, from a fire-alarm to a doorjam, or any switch that would be triggered by any of the GPIO's which on it's turn could come from an Arduino etc...
Is there a simple way to send Octoprint one of those commands? To Octoprint, not to the printer.
thanks for any answer