Does reef angel support email alert sending ?

Basic / Standard Reef Angel hardware
Post Reply
chercm
Posts: 17
Joined: Wed Jan 25, 2012 6:15 pm

Does reef angel support email alert sending ?

Post by chercm »

Does it support ? Any program needed ?

Thanks a million
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Does reef angel support email alert sending ?

Post by rimai »

Yes, you can use this function:

Code: Select all

void WifiSendAlert(byte id, boolean IsAlert)
{
  static byte alert_status;

  if (IsAlert)
  {
    if ((alert_status & 1<<(id-1))==0)
    {
      alert_status|=1<<(id-1);
      Serial.print("GET /status/alert.asp?e=5555555555@messaging.sprintpcs.com&id=");
      Serial.println(alert_status,DEC);
      Serial.println("\n\n");
    }
  }
  else
  {
    if (id==0)
    {
      alert_status=0;
      delay(900);
    }
    else
    {
      alert_status&=~(1<<(id-1)); 
    }
  }
}
But, there is a better feature coming up. Stay tuned.
Roberto.
chercm
Posts: 17
Joined: Wed Jan 25, 2012 6:15 pm

Re: Does reef angel support email alert sending ?

Post by chercm »

Where do u specify the email address ?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Does reef angel support email alert sending ?

Post by rimai »

Serial.print("GET /status/alert.asp?e=5555555555@messaging.sprintpcs.com&id=");
Roberto.
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Does reef angel support email alert sending ?

Post by lnevo »

Is this "new" feature out yet? I'm using a gravity fed ATO and hoping to send an alert if my reservoir is low...and maybe the other if any drain issue and DT is filling..
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Does reef angel support email alert sending ?

Post by rimai »

You can do it in the Portal.
Pretty much all triggers can be set.
Roberto.
rossbryant1956
Posts: 471
Joined: Sat Jan 14, 2012 2:08 pm
Location: Montgomery Village, MD

Re: Does reef angel support email alert sending ?

Post by rossbryant1956 »

Roberto helped me do something like this. Check out our conversation on page 4 of this post. Works like a charm:

http://forum.reefangel.com/viewtopic.ph ... 5&start=30
Roscoe's Reefs - Starting Over Again:

Building new 29g Nano after landlord went berserk over my 4 75 gallon tanks, Multiple RA's, Water mixing stations, etc. Your help welcomed in remembering all I've forgotten.
Post Reply