hub
Posts: 36
Joined: Sun Apr 07, 2013 11:07 pm

Auto Shutdown

Mon Sep 30, 2013 2:04 am

Does anyone know of a way to have the pi shut itself off completely? I can handle to auto boot, I jus need it to shut down (without pulling the plug)

elatllat
Posts: 1337
Joined: Sat Dec 17, 2011 5:05 pm

Re: Auto Shutdown

Mon Sep 30, 2013 3:18 am

you could have a script monitor a button on the gpio, but I just pull the plug.
SBC with 32GB RAM: https://hardkernel.com

FAQ : https://raspberrypi.stackexchange.com

Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered

klricks
Posts: 6586
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Auto Shutdown

Mon Sep 30, 2013 3:32 am

hub wrote:Does anyone know of a way to have the pi shut itself off completely? I can handle to auto boot, I jus need it to shut down (without pulling the plug)
Not without adding external circuitry such as a relay.
The RPi is much like any modern PC..... the 5V standby circuits in the power supply and motherboard remain powered even when the computer is shutdown.
Unless specified otherwise my response is based on the latest and fully updated Raspbian Buster w/ Desktop OS.

ramstrong
Posts: 36
Joined: Thu Aug 15, 2013 11:14 pm
Contact: Website

Re: Auto Shutdown

Mon Sep 30, 2013 3:51 am

I connected mine to powered USB hub. By switching off the hub, I shut off the Pi. After I did a "sudo halt", of course.
Raspberry Pi Journal: http://simpletongeek.blogspot.com/p/raspberry-pi-journal-directory_4.html

confuseling
Posts: 144
Joined: Mon Aug 26, 2013 1:41 pm

Re: Auto Shutdown

Mon Sep 30, 2013 8:40 am

Kind of depends what you mean. You can schedule tasks (such as a shutdown) with cron or at.

But it'll still be powered.

http://debian-handbook.info/browse/stab ... n-atd.html
http://forums.debian.net

Return to “General discussion”