Portal not sending alerts

Related to the Portal
Post Reply
AlanM
Posts: 263
Joined: Wed Jan 01, 2014 7:26 am

Portal not sending alerts

Post by AlanM »

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?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Portal not sending alerts

Post by rimai »

Do you get other types of alerts correctly?
Roberto.
AlanM
Posts: 263
Joined: Wed Jan 01, 2014 7:26 am

Re: Portal not sending alerts

Post by AlanM »

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.
AlanM
Posts: 263
Joined: Wed Jan 01, 2014 7:26 am

Re: Portal not sending alerts

Post by AlanM »

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
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Portal not sending alerts

Post by lnevo »

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.
AlanM
Posts: 263
Joined: Wed Jan 01, 2014 7:26 am

Re: Portal not sending alerts

Post by AlanM »

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
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Portal not sending alerts

Post by lnevo »

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
AlanM
Posts: 263
Joined: Wed Jan 01, 2014 7:26 am

Re: Portal not sending alerts

Post by AlanM »

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
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Portal not sending alerts

Post by lnevo »

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
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Portal not sending alerts

Post by binder »

Post Reply