PDA

View Full Version : Detect if an outlet is off for x minutes?


htjunkie
10/21/2012, 08:50 PM
Sorry if the answer is obvious but I can't seem to find how to program say for my canister filter, for example if it detects the filter has been shut off for more than half an hour, it would estart beeping.

I believe a virtual device is need to have a defer command to change status to ON for example, then have a IF statement to act on it based on the situation.

Much appreciate your help.

swearint
10/21/2012, 10:11 PM
Yes, you will need to use a virtual outlet:

[Cannister_OFF]
Set OFF
If Outlet Cannister = OFF Then ON
Defer xx:xx Then ON

Add a Cannister_OFF outlet check to one of your alarm/email outlets.

Set the Defer duration as needed. Note, this works on the Cannister Outlet state. The Apex cannot detect whether a particular outlet is drawing current. In otherwords, it won't detect a failed device.

Todd

kurt_n
10/21/2012, 10:12 PM
Download the latest "Unofficial User's Manual" that is stickied at the top of this forum. Near the end of it (it's page 144 in my version) there's some sample programming and one of them is to do what you're asking. It's taken from a post here from schwaggs, but I can't find it right now. I've got it bookmarked on a different computer!