The Case for Optimism

These days it’s trendy to be pessimistic. Every time we sign into Facebook our friends (or moms) are telling us about how crime is up, incomes are down, morality is on the way out, Zika virus is about to infect us all, and if that doesn’t kill us, Islamic Terrorism definitely will.

Continue Reading →

A Nice Little Place

Good afternoon! I’m glad you could make it. Today I’d like to show you a special place. It’s a sort of a refuge for the weary; a natural charger of human batteries. I like to go there when the demands of life are closing in, but it’s a fine place to visit on any occasion.

Continue Reading →

Losing A Friend

When a human dies we have certain rituals we perform. Mine might be different from yours, but they’re probably similar. We mourn, we reminisce, we sell old things, or donate them. We consider the acute causes, the ways we hope to avoid them ourselves. And then we erect memorials; physical objects to remind us of the dearly departed.

Continue Reading →

Thunderbirds

Two US Air Force Thunderbirds fly in formation at the 2016 Luke AFB Airshow.

April 25, 2016
Canon EOS 60D, Shutter: 1/1250, f28/5, ISO: 125

Monitoring an APC UPS with a Raspberry Pi

If you’re looking to monitor an APC USP (many of the latest models have a USB port for monitoring) this is the best walk-through I’ve found:

http://www.anites.com/2013/09/monitoring-ups.html

Thanks to Kenneth Burgener for his great write up.

Being able to query the UPS or perform actions based on Power Off/Power On state is fantastic.

$ apcaccess 
CABLE    : USB Cable
DRIVER   : USB UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2016-03-09 09:10:19 -0700  
MODEL    : Back-UPS ES 550G 
STATUS   : ONLINE 
LINEV    : 122.0 Volts
LOADPCT  : 6.0 Percent
BCHARGE  : 100.0 Percent
TIMELEFT : 107.5 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME  : 0 Seconds
SENSE    : Medium
LOTRANS  : 92.0 Volts
HITRANS  : 139.0 Volts
ALARMDEL : 30 Seconds
BATTV    : 13.5 Volts
LASTXFER : Automatic or explicit self test
NUMXFERS : 2
XONBATT  : 2016-04-04 06:36:26 -0700  
TONBATT  : 0 Seconds
CUMONBATT: 16 Seconds
XOFFBATT : 2016-04-04 06:36:34 -0700  
LASTSTEST: 2016-04-04 06:36:26 -0700  
STATFLAG : 0x05000008
SERIALNO : 4B1414P00197  
BATTDATE : 2014-03-31
NOMINV   : 120 Volts
NOMBATTV : 12.0 Volts
END APC  : 2016-04-10 09:13:05 -0700

Continue Reading →