Page 1 of 1

Repeater Power failure shutdown

Posted: Sat May 23, 2020 1:12 am
by KD4EG
Greetings folks!

I am looking for a method to safety power down Raspberry Pi and Pi-Star on my repeater in the event of a power intruption. A shutdown board can be bought form this site https://technobygeorge.com However, I am not sure how to add code to be able to use the feature.

Anyone else have a solution?

Thanks
Ted

Re: Repeater Power failure shutdown

Posted: Sat May 23, 2020 10:33 am
by KD4EG
Thanks for responding. Will look around for RPi UPS options.

Re: Repeater Power failure shutdown

Posted: Sat May 23, 2020 3:46 pm
by MW0MWZ
In essence, this isn't too hard, you need a method to detect the power failure, and then depending on how you do that, either use some of the Pi's GPIO pins to tell it that the power is out, or ssh to it and shut it down, or connect to the web server and post the form to turn it off... so options for shutdown, there are many, these are not the issues that you need to be too worried about honestly - the harder part is turning off the power supply to the Pi, and then turning it back on when the power is back...(since the Pi has no on button either).

Work out your options for actually monitoring the power, and go from there.