Portal not sending alerts

Related to the Portal

Posts: 263
Joined: Wed Jan 01, 2014 7:26 am
PostPosted: Fri Jun 12, 2015 4:26 pm
I have an alert configured in portal settings for when my LowATO goes to off or 0. I caused it to trigger on purpose, verified by looking at the portal that it was set to 0. Verified with the app that it was set to 0. But I never got an email from the portal. What should I try to debug it?

Posts: 12248
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Fri Jun 12, 2015 6:48 pm
Do you get other types of alerts correctly?
Roberto.

Posts: 263
Joined: Wed Jan 01, 2014 7:26 am
PostPosted: Sat Jun 13, 2015 6:56 am
Nope. I just dropped the skimmate locker sensor into the sump and left it there for a minute or so to see if that one, on HighATO would cause an alert when it went to 0 either. It did do the action on the RA, which was to shut off the skimmer recirc pump, but I didn't get any email.

Posts: 263
Joined: Wed Jan 01, 2014 7:26 am
PostPosted: Sat Jun 13, 2015 6:58 am
I am getting data to the portal, but I did recently enable portal key. The key must be correct because it is getting pH and temp and relay box status every 5 minutes. Does the portal key interfere with portal alerts?
User avatar
Posts: 5349
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Sat Jun 13, 2015 10:30 am
You should start with sending an http request to see if its working as expected. You could also check serial monitor to see if it's triggering the http request. Check the wifialert class code to see the url syntax or look at serial monitor first.

Posts: 263
Joined: Wed Jan 01, 2014 7:26 am
PostPosted: Sat Jun 13, 2015 10:47 am
I haven't played with any wifialert class functions in my info file. I assumed it happened automatically once you add alerts in the portal. . Does it not? What http requests would I send to the portal to simulate one?
User avatar
Posts: 5349
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Sat Jun 13, 2015 11:44 am
Oh if your just doing portal alerts it should be fine but it may only trigger when the portal receives not when querying live data

Posts: 263
Joined: Wed Jan 01, 2014 7:26 am
PostPosted: Sat Jun 13, 2015 12:27 pm
Ah, so does it wait to contact the portal with the alert until the regular 5 minute checkin time? That could explain it.

So where is wifialert documented? I have seen references to it in threads but no how to.
User avatar
Posts: 5349
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Sat Jun 13, 2015 2:56 pm
I have a thread somewhere with example api. It's pretty straight forward. By default it will only send one alert every 15 minutes per instance of the class. Take a look at the header file it should make sense. The only danger is the potential to flood yourself if you don't pay attention
User avatar
Posts: 2740
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
PostPosted: Sun Jun 14, 2015 5:25 am
Here's where it starts...

viewtopic.php?f=9&t=3197&hilit=wifialert&start=30

Return to Portal

Who is online

Users browsing this forum: No registered users and 2 guests