[arm-allstar] UPS Suggestions...

Jesse Royall w5los at yahoo.com
Mon Jul 2 14:48:10 EST 2018


 I don't remember. I built it back in feb. when I was running allstar mobile. When I did a update in april the node stopped working with registration errors then another update killed the node and it wouldn't boot anymore so I had to rebuild. I haven't put it back in the mobile yet but I have this week off and its on my todo list to get it back on the air and running again. 
I actually didn't use the sample but used what was in it and on the site in a new file to get it running. I seem to remember the sample file gave me errors as well. 
I saw Doug post that they have a power switch as well but with this option I don't have to shutdown. I just unplug from the car and move inside the house then issue a reboot if the nic doesn't get a new IP. But usually it'll pick up a new one and start working again after a few mins. I do this with my Pi-Star as well but since its wifi, it just changes automatically and I don't have to reboot it either.
When I get things backup, i'll share the script here for those interested in this UPS setup.  
    On Monday, July 2, 2018, 9:43:37 AM CDT, Sean McCarthy via arm-allstar <arm-allstar at hamvoip.org> wrote:  
 
 Jesse,

What did you need to do to get the script to run? I followed the
instructions from Alchemy with no luck, but it was written for Rasberrian,
so theres that...

Here is my failure:

[root at K8FBI UPS]# sudo python GPIO-shutdown-sample.py
Traceback (most recent call last):
  File "GPIO-shutdown-sample.py", line 32, in <module>
    import RPi.GPIO as GPIO
ImportError: No module named 'RPi'
[root at K8FBI UPS]#

Thanks!

On Thu, Jun 28, 2018 at 10:21 PM "Jesse Royall via arm-allstar" <
arm-allstar at hamvoip.org> wrote:

> Sean,
> Yes it will restart when power is applied and will start charging again.
> If you do a shutdown then no. You have to remove power and apply it to
> start back up. But it will start up if the batteries go dead and power
> comes back on. It has a smart charge built on. You setup a python script to
> monitor the voltage and it will initiate a safe power down before they go
> dead. Then when they go dead it will restart the pi when power is applied
> back to charge the batteries. What sold me is that one power supply to
> power the ups then since it’s a hat, it supplies the pi with power on the
> header. If the cells go bad you just replace them like AA batteries. You
> can replace them one at a time without loosing power. You can also stack
> them to increase the battery time and they have connections to daisy  them
> and charge the next ups. Has a reset button on board to force a restart
> when pressed. The only problem I’ve had is I had one bad cell once and it
> would take the other cell down with it. But the voltage monitor would catch
> it and shut down the pi when unplugged it. The other is when picking up the
> pi, I had a habit of hitting the reset accidentally.
>
> I’m was working on a script to watch the voltage and when it sees a
> voltage drop it tells you via courtesy tone your on battery and possibly
> speak voltage at intervals. Since the cron job looks for low voltage to
> safe power down I figure I could use that check to report back to allstar
> and either tattle via tone or voice.
>
>
> Sent from my iPhone
>
> > On Jun 28, 2018, at 10:11 AM, Sean McCarthy via arm-allstar <
> arm-allstar at hamvoip.org> wrote:
> >
> > I was looking at the pi uptime ups, but it was unclear if it would
> restart
> > the PI unattended. If it does, thats probably the way I'll go...
> >
> > On Thu, Jun 28, 2018 at 10:26 AM "Jesse Royall via arm-allstar" <
> > arm-allstar at hamvoip.org> wrote:
> >
> >> http://alchemy-power.com/pi-uptime-ups/
> >>
> >> This is the one I use. Uses 2 18650 batteries. I get about 10 hrs of
> >> backup. It’s stackable. Has a reset button on it. Monitors the voltage
> for
> >> a safe power off. And boots back up when power is applied.
> >>
> >> Sent from my iPhone
> >>
> >> _______________________________________________
> >>
> >> arm-allstar mailing list
> >> arm-allstar at hamvoip.org
> >> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> >>
> >> Visit the BBB and RPi2/3 web page - http://hamvoip.org
> > _______________________________________________
> >
> > arm-allstar mailing list
> > arm-allstar at hamvoip.org
> > http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> >
> > Visit the BBB and RPi2/3 web page - http://hamvoip.org
>
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
_______________________________________________

arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar

Visit the BBB and RPi2/3 web page - http://hamvoip.org  


More information about the arm-allstar mailing list