Please login or register.

Login with username, password and session length

Author Topic: Stink Bugs broke my HG!  (Read 1292 times)

mike

  • Hero Member
  • *****
  • Helpful Post Rating: 14
  • Posts: 1057
Stink Bugs broke my HG!
« on: March 31, 2021, 10:05:58 AM »

I moved my pi with HG to run on a UPS to prevent those annoying power disconnects that seem to always happen.  So 3am the other night power goes off in a hi wind storm.  Off 3 hours.  Next  morning I found the UPS off, so of course the pi was off.  Now for the stink bug culprits...

Turns out our backup 22kw generac generator did not power our buildings;  it had a fault!  So checking, found the transfer contactor was full of stink bugs!  When it switched, it had a few stink bugs between the contacts!  So the UPS ran out of juice in that 3 hours and shut off, incorrectly pulling power from the pi.  Of course the alarms all went off next morning when opening doors since HG was not running to disarm.

Unfortunately, THIS power disconnect scrambled HG;  the pi rebooted and HG ran but lost all its module names again, so I began a restore, forgetting I had a PW on HG.  That did not go well and ended up locking up HG.  Pi still talked via teamviewer and putty so did a reboot to find HG would no longer run.  it seemed to try to load mono and then do nothing.    No reboots brought HG back.

On a long shot, I sudo apt update & sudo apt upgrade (had done this only a week ago so fairly upto date) and reboot and HG came back! 

I certainly will now remember other's advice to NOT restore with a HG PW!
Logged

bkenobi

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 24
  • Posts: 2081
Re: Stink Bugs broke my HG!
« Reply #1 on: March 31, 2021, 08:32:15 PM »

If this is an APC branded unit, you can use the App and widget from the old forum in conjunction with apcupsd to monitor the status of your UPS and shut down gracefully.

mike

  • Hero Member
  • *****
  • Helpful Post Rating: 14
  • Posts: 1057
Re: Stink Bugs broke my HG!
« Reply #2 on: April 01, 2021, 03:21:46 PM »

Neat, thanks bkenobi.  Yes, it this one is APC;  I never had an APC serial port app actually work right in windows to shut down.  i will check this out!
Logged
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.