Page 1 of 1

Notification when a relay turns on or off.

Posted: Mon Jun 03, 2013 11:16 am
by Sacohen
I want to set a notification trigger in the portal to tell me when Relay6 turns on or off.

I see the R6, RON6 and ROFF6 in the drop down menu, but what should the <=, = or>= be set to and what goes in the field below?

Is it something like R6<=1.
Assuming 1 is on and 0 is off.

Re: Notification when a relay turns on or off.

Posted: Mon Jun 03, 2013 11:41 am
by lnevo
Unfortunately those represent the entire relay bar...

What you can do is set a custom portal var and alert on that...

ReefAngel.CustomVar[0]=ReefAngel.Relay.Status(Port6)+1;

Then use C0>1 if you want to know when its on or C0<2 to be notified if it turns off.

Re: Notification when a relay turns on or off.

Posted: Mon Jun 03, 2013 12:04 pm
by Sacohen
Sounds Good Lee.
Thanks.

Re: Notification when a relay turns on or off.

Posted: Tue Jun 04, 2013 2:38 pm
by binder
R6 also represents the 6th expansion relay box. R contains the data for the first relay box and you have to do bitmask checks on it to determine if the port is on or off.

the way lee suggested is probably the easiest way for you to accomplish what you want.

Sent from my Nexus 7

Re: Notification when a relay turns on or off.

Posted: Tue Jun 04, 2013 4:03 pm
by Sacohen
It's not that big of a deal I was just looking for an easy way to know when the ATO kicks on after setting up that code of the De-Nit Chamber I want to watch everything for a little bit.

I set up a notification when the WL goes below 28% put that happens during the water exchange process so knowing when the actual port goes on would be better, but it was going to be e temporary thing and I'm pretty secure that everything has been working ok since setting up the code, so I don't really need it any more.

Re: Notification when a relay turns on or off.

Posted: Tue Jun 04, 2013 4:26 pm
by lnevo
There's probably a better way for you to monitor your process. We could set the same variable with different numbers based on the step that it is on. You could then set a notification when it's > 0 and the page would tell you what step you were in.

Keep in mind the portal only sends alerts every 15 minutes and only receives data every 5 so not sure how useful it is...

Re: Notification when a relay turns on or off.

Posted: Tue Jun 04, 2013 7:03 pm
by Sacohen
It's not necessary anymore. I just wanted to monitor it for a couple of days, but I know everything is working fine now so I don't need it. Thanks anyway.

Re: Notification when a relay turns on or off.

Posted: Wed Oct 02, 2013 8:25 am
by Rita
So, I want to know if there's a blackout in my house (so the whole relay box turns off). I go to "Portal settings", I write my email address and then set R<2?