Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: UPS Trigger? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
niels
Newbie
Newbie


Joined: September 23 2007
Location: United States
Online Status: Offline
Posts: 12
Posted: September 29 2007 at 23:47 | IP Logged Quote niels

Has anyone figured out whether there's a way to fire a trigger when the PH computer is running on UPS power?

I happen to be running APC's PowerChute utility, don't know if that has a hook that anyone knows of?

Alternately, since the UPS shows up as a battery in Windows, and since switching to UPS looks the same on this machine as switching to battery power on a laptop, I guess it would also be possible to simply look at the Windows power management and figure this out.

Either way, it would be a pretty good indicator that power is out / came back, which will allow for code to get everything back in sync when the power comes back on.

Niels.
Back to Top View niels's Profile Search for other posts by niels
 
cmhardwick
Senior Member
Senior Member
Avatar

Joined: July 08 2006
Location: United States
Online Status: Offline
Posts: 290
Posted: September 30 2007 at 09:46 | IP Logged Quote cmhardwick

It would be a nice way to have a history log of power outages, etc, since sometime the utilities that come free with various UPS don't do the logging.

__________________
Cicero, Enjoying automation!
Back to Top View cmhardwick's Profile Search for other posts by cmhardwick Visit cmhardwick's Homepage
 
gatchel
Newbie
Newbie


Joined: December 21 2006
Location: United States
Online Status: Offline
Posts: 24
Posted: September 30 2007 at 11:52 | IP Logged Quote gatchel

If you have an elk or an input of some sort you can simply wire a 120v relay powered from a standard outlet to the input. They also make this:

http://www.winland.com/PS-110.htm


there is a built in delay that may or may not be beneficial.


Edited by gatchel - September 30 2007 at 11:54


__________________
Sign Here:____________________
Back to Top View gatchel's Profile Search for other posts by gatchel
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: September 30 2007 at 12:33 | IP Logged Quote BeachBum

There is also a message generated in SDM when the power is restored but to my knowledge PH does not catch it. I run on a laptop and face a recovery problem with X10 devices when there is a power failure. Insteon pretty much takes care of itself.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
sharby
Groupie
Groupie


Joined: May 13 2007
Location: United States
Online Status: Offline
Posts: 50
Posted: September 30 2007 at 19:13 | IP Logged Quote sharby

You can also put a "tap" on the serial port between the APC and the serial port to the computer (running Powerchute). You can then figure out the ASCII commands that the battery backup sends and write a complete ruleset within Powerhome.

-=*Sharby*=-
Back to Top View sharby's Profile Search for other posts by sharby
 
cmhardwick
Senior Member
Senior Member
Avatar

Joined: July 08 2006
Location: United States
Online Status: Offline
Posts: 290
Posted: October 01 2007 at 09:44 | IP Logged Quote cmhardwick

not all are serial, some are USB now, but I assume same principle would apply

__________________
Cicero, Enjoying automation!
Back to Top View cmhardwick's Profile Search for other posts by cmhardwick Visit cmhardwick's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum