There was a problem loading the comments.

Shutting down OctoPrint/EZPi with EZPlug

Support Portal  »  Products  »  Viewing Article

  Print

If you have an EZPlug with an EZPi running off of it you will want to let the Pi shut down before the plug turns off. This tip comes from Ulderico Cirello who is an awesome customer of ours and community member.

You'll want to setup the plug similar to the below screenshot. Notably these 2 changes:

  1. Turn on "Use Countdown Timers" and set it to use a 60s delay in the "Off Delay Countdown" section.
  2. Turn on "Run System Command Before Off" and add the command "I use "sudo shutdown now" to shutdown the OS with a delay of 5 seconds.

Once you set these options the plug will shut off after 60 seconds and send a shutdown command to the Pi after 5 seconds. Once these 2 things run the Pi will safely shut down and then the plug will turn off.


Share via

Related Articles


On-Premise Help Desk Software by SupportPal

Tags

© TH3D Studio