WiFi Alerts Compiling Error
-
- Posts: 54
- Joined: Tue Jul 23, 2013 5:56 pm
WiFi Alerts Compiling Error
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
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
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
-
- Posts: 54
- Joined: Tue Jul 23, 2013 5:56 pm
Re: WiFi Alerts Compiling Error
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
If you have it setup correctly to send the alert on losing a relay box.
Re: WiFi Alerts Compiling Error
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
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
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
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
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
Jeremiah
Re: WiFi Alerts Compiling Error
Yeah try redownloading the wifialert.zip. It should have 4 files in it...
Re: WiFi Alerts Compiling Error
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
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 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.
.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
Yeah hopefully next version you won't have to do anything 
