X10 Community Forum

📱🖥️PiX10Hub => 💬General Discussion => Topic started by: mike on March 31, 2021, 10:05:58 AM

Title: Stink Bugs broke my HG!
Post by: mike 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!
Title: Re: Stink Bugs broke my HG!
Post by: bkenobi 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.
Title: Re: Stink Bugs broke my HG!
Post by: mike 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!