Raspberry Shutdown after Print finished?

Hello.

I like to shutdown the Octoprint Pi automatically on a safe way when the printer has finished printing.

But how do i do this, i need to implement a command that automatically stops Octoprint when the print is done, and i need a command to shut down the Raspberry after stopping Octoprint. Where and how can i do this?

Thanks & Best regards

Sven

Have a look at this plugin:

1 Like

But after the octoprint system shutdown, the Raspberry still power on?

To the best of my knowledge, yes. The Pi would still be powered on. It would be safely shutdown, though.

You might want to look into using the TPLinkSmartplug plugin.

1 Like

Thanks man, I want to use Xiaomi Smart Plug Socket Enhanced Dual USB ,but can not use the TP link Smartplug plugin to Gcode trigger shutdown command. M81

There's this but it's for Google Home Assistant. You might be able to go to school on this, though.

1 Like

That plugin now longer exists any idea how to get it please any help would be greatly appreciated

Idonotunderstandthatsentecepleaseexplainyoumayuseinterpunctationsorlinebreaks

1 Like

Also, I don't understand what you mean by 'no longer exists' since you can click the link and it opens the plugin's page.

i did click the link and that's what i got no longer being supported or something along those lines

I'll give it another go today to see I can get it lol thanks for your help