Repeater Power failure shutdown

General support for the Pi-Star System
Post Reply
KD4EG
Posts: 20
Joined: Thu Apr 12, 2018 11:42 am

Repeater Power failure shutdown

Post 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
KD4EG
Posts: 20
Joined: Thu Apr 12, 2018 11:42 am

Re: Repeater Power failure shutdown

Post by KD4EG »

Thanks for responding. Will look around for RPi UPS options.
User avatar
MW0MWZ
Site Admin
Posts: 1505
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: Repeater Power failure shutdown

Post 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.
Andy

73 de MW0MWZ
http://pistar.uk
Post Reply