@james mutch Hi James The issue here is that what you want to achieve and what i have achieved are two completely different things. My script shuts EVERYTHING down ONLY WHEN THE POWER SUPP...
George Feichter
Posts made by George Feichter
-
x708 software power shutdown
-
x708 software power shutdown
@james mutch My script posted yesterday should turn the pi AND the x708 off. Hence something else is amiss. The rc.local file should only contain: /home/pi/shutdown.sh echo ds1307 0x68 &g...
-
x708 software power shutdown
Hi James Regarding the rc.local file: As you can see, the same lines are repeated over and over again. I would place a '#' in front to make them comments. The only lines you need are the last thr...
-
x708 software power shutdown
@james mutch Hi James I have managed to cobble together yet another script that has now solved all my problems. This may not work for you, James, but I am posting this for everyone needing...
-
x708 software power shutdown
@james mutch Sorry about the delay in replying. You will be able to know that the pi has stopped working (i.e. is turned off) because you will no longer be able to get a response from the c...
-
x708 software power shutdown
@james mutch Hi James I've written a small script that checks the supply voltage and powers down the pi if the voltage drops to below 3.6V. This is just one approach. Other are possib...
-
x708 software power shutdown
Hi Harry I now have added 1 second sleep to: x728softsd.sh #X728 RTC setting up #sudo sed -i '$ i rtc-ds1307' /etc/modules #sudo sed -i '$ i echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/...
-
x708 software power shutdown
@Harry Huang Thanks Harry. I have commented the four lines and rebooted, but it still does not shut down the pi or the hat. Please advise. Many thanks.
-
x708 software power shutdown
Hi I have the x708 (but waiting for a battery to arrive). I am trying to shut down the RPI by doing the following: cd / cd x728 x728off All I am getting is: on the first try - "X728 Shutting...