Turning off the printer after the job is finished

Hi guys! I’m answering this message sent by Sebastien:

Hi Sebastien! I’m just using the following plugin from Octoprint:

image

And all you need is to put the following command at the end of the ending script:
M81 192.168.1.8 ; turn off printer and lights
where 192.168.1.8 is the IP address for my Orvibo S20 switch
An M80 command turns it on.
It’s an old smart switch. I don’t know if it is still available in stores, but probably there are newer solutions. I’m thinking about using one of the relays that you can see in my picture, which are controlled by my Raspberry Pi 4.
If you have any additional questions, just let me know.

Hi All,

I often print while away from home, and I can check OctoPrint remotely. I have a wifi power socket to the power board for all printer appliances so I can turn the whole system on or off through the app. No mods to anything and very safe. Not automatic though like Mauro’s set up sounds like.

Ian

Note from @andrivet : Was posted in the wrong place so move it.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.