How to shut down the printer on print finish
So I have one of these fancy smart plugs. I intercepted its traffic and now I know what rest commands i need to send to shut it down and turn it on.
What I wanted to do is create a small python script that would poll the message directory and scan for "print finished" messages so it knows when it should shut down, after a timer.
I guess all I really need to know is where can I find these messages on repetier server on the raspberry pi?
What I wanted to do is create a small python script that would poll the message directory and scan for "print finished" messages so it knows when it should shut down, after a timer.
I guess all I really need to know is where can I find these messages on repetier server on the raspberry pi?
Comments
I am trying to do the same thing but am a little new to this. Would it be possible please to elaborate some more about what needs to be done to implement this functionality?
Many thanks in advance.
Cheers
Dan