Page 1 of 1
WiFi Alerts Compiling Error
Posted: Fri Nov 22, 2013 7:15 pm
by ReefingHavoc
I'm trying to implement lnevo's Wifi alerts and am getting the following compiling errors:
C:\Users\Spencer\Documents\Arduino\libraries\WiFiAlert\WiFiAlert.cpp: In member function 'void WiFiAlert::WiFiSendAlert(char*)':
C:\Users\Spencer\Documents\Arduino\libraries\WiFiAlert\WiFiAlert.cpp:30: error: 'class ReefAngelClass' has no member named 'portalusername'
C:\Users\Spencer\Documents\Arduino\libraries\WiFiAlert\WiFiAlert.cpp:32: error: 'class ReefAngelClass' has no member named 'portalkey'
I thought I added the latest libraries, but something's not working correctly...any suggestions?
Mike
Re: WiFi Alerts Compiling Error
Posted: Fri Nov 22, 2013 7:34 pm
by lnevo
Check the first or second post in the thread. I should have the wifialert updated there. It should have updates to the RAWiFi class as well
Re: WiFi Alerts Compiling Error
Posted: Fri Nov 22, 2013 8:08 pm
by ReefingHavoc
Got it, thanks. Is testing this as simple as pulling the power from the RA unit and waiting for an email?
Re: WiFi Alerts Compiling Error
Posted: Sat Nov 23, 2013 6:03 am
by lnevo
If you have it setup correctly to send the alert on losing a relay box.
Re: WiFi Alerts Compiling Error
Posted: Tue Dec 24, 2013 12:02 pm
by aranax
Hey Lee et al,
I'm having the same compile error but I can't find the fix in your other thread. I unzipped the files into the appropriate folders but I'm still getting the compiling error below:
"C:\Program Files (x86)\Reef Angel Controller\libraries\WiFiAlert\WiFiAlert.cpp:32: error: 'class RA_Wifi' has no member named 'portalkey'"
I'm sure I missed something. Please help. Thanks.
Jeremiah
Re: WiFi Alerts Compiling Error
Posted: Tue Dec 24, 2013 12:11 pm
by lnevo
Yes your missing the updates i posted after 1.1.0 came out.
The good news is that i successfully made a pull request to add this to the libs
Check my thread for the latest link to the new version
Re: WiFi Alerts Compiling Error
Posted: Tue Dec 24, 2013 12:31 pm
by aranax
Thanks Lee. Trying to find the link now. This is the code I used from your thread (
http://forum.reefangel.com/viewtopic.php?f=11&t=2328). Thanks again.
Jeremiah
Re: WiFi Alerts Compiling Error
Posted: Tue Dec 24, 2013 12:40 pm
by lnevo
Yeah try redownloading the wifialert.zip. It should have 4 files in it...
Re: WiFi Alerts Compiling Error
Posted: Tue Dec 24, 2013 12:46 pm
by aranax
Still no go. Same compile error. I'm on version 1.1.0
What I did:
Copied latest code from (
http://forum.reefangel.com/viewtopic.php?f=11&t=2328) second post.
Grabbed Libraries-master from your github to make sure I have the latest.
Installed WifiAlert/Tide/Moon/Sun into C:\Users\jmaza\Documents\Arduino\libraries
Replaced Reefangel with version from github to C:\Users\jmaza\Documents\Arduino\libraries
Installed WifiAlert/Tide/Moon/Sun into C:\Program Files (x86)\Reef Angel Controller\libraries (did this originally until I realized that I copied into the wrong place).
Added appropriate lines to update/features file
Compiled but still got the same error. (above)
What am I still missing? Thanks again Lee.
Jeremiah
Re: WiFi Alerts Compiling Error
Posted: Tue Dec 24, 2013 12:51 pm
by aranax
posted before I saw your post. The wifialert.zip I have only has two files:
.cpp
.h
I grabbed that from your github (and the original post). I'll look for the updated version now.
Re: WiFi Alerts Compiling Error
Posted: Tue Dec 24, 2013 12:55 pm
by aranax
Compile error fixed. User error as usual. Thanks Lee.
Re: WiFi Alerts Compiling Error
Posted: Tue Dec 24, 2013 1:40 pm
by lnevo
Yeah hopefully next version you won't have to do anything
