Page 1 of 1
Does reef angel support email alert sending ?
Posted: Thu Jan 26, 2012 5:05 pm
by chercm
Does it support ? Any program needed ?
Thanks a million
Re: Does reef angel support email alert sending ?
Posted: Thu Jan 26, 2012 5:37 pm
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.
Re: Does reef angel support email alert sending ?
Posted: Thu Jan 26, 2012 7:46 pm
by chercm
Where do u specify the email address ?
Re: Does reef angel support email alert sending ?
Posted: Thu Jan 26, 2012 7:48 pm
by rimai
Serial.print("GET /status/alert.asp?e=
5555555555@messaging.sprintpcs.com&id=");
Does reef angel support email alert sending ?
Posted: Mon Aug 06, 2012 1:26 pm
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..
Re: Does reef angel support email alert sending ?
Posted: Mon Aug 06, 2012 2:30 pm
by rimai
You can do it in the Portal.
Pretty much all triggers can be set.
Re: Does reef angel support email alert sending ?
Posted: Mon Aug 06, 2012 4:59 pm
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