Power Failure Notification

Posted on
Thu Feb 12, 2009 8:59 pm
yergeyj offline
Posts: 260
Joined: Dec 29, 2004

Power Failure Notification

I've used the power failure notification feature happily for several years, having Indigo e-mail me at home and work if there's a power failure.

What I've been trying to figure out is how to have Indigo determine the length of the power failure, and I can't see how to do so?

Any suggestions?

Jim

Posted on
Thu Feb 12, 2009 9:08 pm
Matt offline
Posts: 406
Joined: Aug 13, 2006
Location: Northern Idaho

(No subject)

I am guessing Mac OS X has a log file, that tracks crashes and start ups, somewhere that you can email to yourself when the computer starts back up.

Posted on
Fri Feb 13, 2009 4:37 pm
yergeyj offline
Posts: 260
Joined: Dec 29, 2004

(No subject)

I believe that the Indigo power failure notification only works if Indigo remains live but the PowerLinc loses power, which is what happens in my case for a power outage.

My Mac and Indigo are on a UPS. If the power on the Mac with Indigo goes off then upon restart Indigo restarts, but it does not generate a power failure notification because it can't differentiate restart from power out.

Jim

Posted on
Fri Feb 13, 2009 5:03 pm
DPattee offline
Posts: 453
Joined: Jan 14, 2004
Location: Redmond, WA

(No subject)

You need to set up a trigger for the "connection established" event. (something like that, I'm at work so can't check the exact wording).

When the power comes back your powerlinc will turn back on, re-establish a connection with the mac and you can do whatever you want at that point. I have an email go out when the power dies, and then another email go out when the power returns.

The trick to not getting a 'power returned' email every time you start indigo server though is to not have the 'connection established' trigger active at all times. Have the 'power failure' trigger enable the connection established' trigger, and have the 'connection established' trigger disable itself when it fires.

Posted on
Fri Feb 13, 2009 7:17 pm
hwitten offline
Posts: 627
Joined: Dec 26, 2007
Location: British Columbia

(No subject)

I have the MacMini on a UPS and a trigger defined to send email on "power failure". Works well. Unfortunately no trigger available for power back on. (Unless I missed a recent addition of such).

In my case the power comes back 30 seconds later as Emergency Power kicks in. I'm going to add an I/O relay plugged in to an outlet that does not get emergency power. That will be my "hydro back" trigger.

I'm also going to be using the power off trigger to kill power to an A/C unit until Hydro is back or temp gets too warm so as to save some load on the GenSet.

The power off trigger has been very reliable. A power on trigger would be very nice as for me, it would be confirmation that Emergency Power has kicked in. As it is I'll probably end up using another I/O device to give me that initial power back. Bit of an overkill perhaps, but like anything mechanical, emergency power does not 'always' kick in.

Posted on
Fri Feb 13, 2009 7:24 pm
DPattee offline
Posts: 453
Joined: Jan 14, 2004
Location: Redmond, WA

(No subject)

You must have missed my message above yours :lol:

Look for the 'communication established' event, that triggers every time the powerlink regains power and is basically equivalent to 'power is back' if you follow the other step I mentioned too.

Posted on
Fri Feb 13, 2009 7:31 pm
hwitten offline
Posts: 627
Joined: Dec 26, 2007
Location: British Columbia

(No subject)

Yes, I missed that :)

Not perfect as I suspect each restart will generate the trigger, but that's ok as If I caused the restart I'll know and ignore the email but it will/should give me confirmation that the GenSet is online.

Thanks for the extra 2x4 whack.

Heinz

Edit:
I think I might have an even better solution for my scenario.
On the Power Fail trigger I'll set a variable and then only send emails on interface connect if variable is set. Should work better than what I have now :)

Posted on
Fri Feb 13, 2009 7:41 pm
DPattee offline
Posts: 453
Joined: Jan 14, 2004
Location: Redmond, WA

(No subject)

Only enabling the reconnect trigger when a power failure has occured / disabling the reconnect trigger when the power has returned is what I mentioned and has worked perfectly for me. The only false alarm I've received was due to my mini crashing before it turned that trigger back off, so I got 1 false 'power returned mail' when the reboot completed, then it set itself back to normal.

Posted on
Sat Feb 14, 2009 3:12 pm
yergeyj offline
Posts: 260
Joined: Dec 29, 2004

(No subject)

Sorry Don, but what is your trigger for power restoration?

DPattee wrote:
You need to set up a trigger for the "connection established" event. (something like that, I'm at work so can't check the exact wording).

When the power comes back your powerlinc will turn back on, re-establish a connection with the mac and you can do whatever you want at that point. I have an email go out when the power dies, and then another email go out when the power returns.

The trick to not getting a 'power returned' email every time you start indigo server though is to not have the 'connection established' trigger active at all times. Have the 'power failure' trigger enable the connection established' trigger, and have the 'connection established' trigger disable itself when it fires.


I tried using Trigger on "Interface Connection Initialized," as the log does say "Connected to SmartHome PowerLinc USB E" upon power returning, but that trigger doesn't seem to work??

Jim

Posted on
Sun Feb 15, 2009 11:17 am
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

(No subject)

Hi Jim,

That should work. Can you troubleshoot it some more? Make sure the trigger is enabled and that you don't have a conditional on it.

If you don't have any luck, then please copy/paste what you see in the Event Log and explain exactly what you did (as far as disconnecting and reconnecting the PowerLinc) so we can try to figure it out.

Image

Posted on
Sun Feb 15, 2009 2:19 pm
yergeyj offline
Posts: 260
Joined: Dec 29, 2004

(No subject)

Works fine today? Maybe I needed a server restart for some reason ...

or maybe it's because I finally ponied up the money for the upgrade, even though it's still in beta! :lol:

Posted on
Mon Dec 24, 2012 8:10 pm
ukie offline
Posts: 69
Joined: Oct 15, 2010

Re: Power Failure Notification

Are there any type of devices that can be used externally to determine when there is no voltage potential inside an outlet and then use that to update a variable inside indigo?

Posted on
Wed Dec 26, 2012 4:18 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: Power Failure Notification

Just for a single outlet? So the house has power (Mac with Indigo and INSTEON modules?) but you want to monitor if one outlet or circuit loses power?

Image

Posted on
Mon Dec 31, 2012 2:34 am
ukie offline
Posts: 69
Joined: Oct 15, 2010

Re: Power Failure Notification

Isn't the PowerLinc 2413U powered by the outlet?
Because I was thinking that if I can keep it on a UPS I can still send out commands, while the power is out, to other Insteon devices on running on a different UPS. Thus I would need another method of determining a power outage.

Posted on
Mon Dec 31, 2012 11:43 am
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: Power Failure Notification

That might work, but if you have the 2413U plugged into a UPS then it isn't going to be able to send power line commands out on to other circuits (even when the power is ON) since it will be isolated. So it will be only using RF.

Image

Who is online

Users browsing this forum: No registered users and 25 guests