Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated type definitions #207

Open
larsinka opened this issue Nov 30, 2022 · 0 comments
Open

Deprecated type definitions #207

larsinka opened this issue Nov 30, 2022 · 0 comments

Comments

@larsinka
Copy link

Expected behavior

Trying to use this library with ESP32.

Actual behavior

On compilation I get a ton of errors,

.pio/libdeps/nodemcu-32s/WeatherStation/src/Astronomy.cpp:24:10: fatal error: Astronomy.h: No such file or directory

*******************************************************************
* Looking for Astronomy.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:Astronomy.h"
* Web  > https://registry.platformio.org/search?q=header:Astronomy.h
*
*******************************************************************

compilation terminated.
*** [.pio/build/nodemcu-32s/lib438/WeatherStation/Astronomy.cpp.o] Error 1
In file included from .pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.cpp:26:
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.h:33:5: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
     sint16_t tempC;
     ^~~~~~~~
     uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.h:34:5: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
     sint16_t tempF;
     ^~~~~~~~
     uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.h:35:5: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
     sint16_t dewpointC;
     ^~~~~~~~
     uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.h:36:5: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
     sint16_t dewpointF;
     ^~~~~~~~
     uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.h:63:5: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
     sint16_t heatindexC;
     ^~~~~~~~
     uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.h:64:5: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
     sint16_t heatindexF;
     ^~~~~~~~
     uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.h:65:5: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
     sint16_t windchillC;
     ^~~~~~~~
     uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.h:66:5: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
     sint16_t windchillF;
     ^~~~~~~~
     uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.h:67:5: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
     sint16_t feelslikeC;
     ^~~~~~~~
     uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.h:68:5: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
     sint16_t feelslikeF;
     ^~~~~~~~
     uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.cpp: In member function 'void AerisObservations::doUpdate(AerisObservationsData*, String)':
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.cpp:46:31: error: no matching function for call to 'WiFiClient::connect(const String&, const uint8_t&)'
   if(client.connect(host, port)) {
                               ^
In file included from /Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFi.h:37,
                 from .pio/libdeps/nodemcu-32s/WeatherStation/src/ESPWiFi.h:4,
                 from .pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.cpp:24:
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:52:9: note: candidate: 'virtual int WiFiClient::connect(IPAddress, uint16_t)'
     int connect(IPAddress ip, uint16_t port);
         ^~~~~~~
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:52:9: note:   no known conversion for argument 1 from 'const String' to 'IPAddress'
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:53:9: note: candidate: 'virtual int WiFiClient::connect(IPAddress, uint16_t, int32_t)'
     int connect(IPAddress ip, uint16_t port, int32_t timeout);
         ^~~~~~~
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:53:9: note:   candidate expects 3 arguments, 2 provided
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:54:9: note: candidate: 'virtual int WiFiClient::connect(const char*, uint16_t)'
     int connect(const char *host, uint16_t port);
         ^~~~~~~
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:54:9: note:   no known conversion for argument 1 from 'const String' to 'const char*'
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:55:9: note: candidate: 'virtual int WiFiClient::connect(const char*, uint16_t, int32_t)'
     int connect(const char *host, uint16_t port, int32_t timeout);
         ^~~~~~~
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:55:9: note:   candidate expects 3 arguments, 2 provided
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.cpp: In member function 'virtual void AerisObservations::value(String)':
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.cpp:103:25: error: 'AerisObservationsData' {aka 'struct AerisObservationsData'} has no member named 'tempC'
     this->observations->tempC = value.toInt();
                         ^~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.cpp:107:25: error: 'AerisObservationsData' {aka 'struct AerisObservationsData'} has no member named 'tempF'
     this->observations->tempF = value.toInt();
                         ^~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.cpp:111:25: error: 'AerisObservationsData' {aka 'struct AerisObservationsData'} has no member named 'dewpointC'
     this->observations->dewpointC = value.toInt();
                         ^~~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.cpp:115:25: error: 'AerisObservationsData' {aka 'struct AerisObservationsData'} has no member named 'dewpointF'
     this->observations->dewpointF = value.toInt();
                         ^~~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.cpp:221:25: error: 'AerisObservationsData' {aka 'struct AerisObservationsData'} has no member named 'heatindexC'
     this->observations->heatindexC = value.toInt();
                         ^~~~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.cpp:225:25: error: 'AerisObservationsData' {aka 'struct AerisObservationsData'} has no member named 'heatindexF'
     this->observations->heatindexF = value.toInt();
                         ^~~~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.cpp:229:25: error: 'AerisObservationsData' {aka 'struct AerisObservationsData'} has no member named 'windchillC'; did you mean 'windDir'?
     this->observations->windchillC = value.toInt();
                         ^~~~~~~~~~
                         windDir
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.cpp:233:25: error: 'AerisObservationsData' {aka 'struct AerisObservationsData'} has no member named 'windchillF'; did you mean 'windDir'?
     this->observations->windchillF = value.toInt();
                         ^~~~~~~~~~
                         windDir
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.cpp:237:25: error: 'AerisObservationsData' {aka 'struct AerisObservationsData'} has no member named 'feelslikeC'
     this->observations->feelslikeC = value.toInt();
                         ^~~~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisObservations.cpp:241:25: error: 'AerisObservationsData' {aka 'struct AerisObservationsData'} has no member named 'feelslikeF'
     this->observations->feelslikeF = value.toInt();
                         ^~~~~~~~~~
In file included from .pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:26:
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:33:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t maxTempC; //20
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:34:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t maxTempF; //69
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:35:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t minTempC; //14
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:36:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t minTempF; // 56
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:37:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t avgTempC; // 17
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:38:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t avgTempF; // 62
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:39:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t tempC; // null
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:40:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t tempF; // null
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:41:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t pop; // 20
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:56:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t feelslikeC; // 14
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:57:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t feelslikeF; // 56
   ^~~~~~~~
   uint16_t
*** [.pio/build/nodemcu-32s/lib438/WeatherStation/AerisObservations.cpp.o] Error 1
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:58:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t minFeelslikeC; // 14
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:59:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t minFeelslikeF; // 56
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:60:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t maxFeelslikeC; // 20
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:61:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t maxFeelslikeF; // 69
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:62:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t avgFeelslikeC; // 17
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:63:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t avgFeelslikeF; // 63
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:64:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t dewpointC; // 11
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:65:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t dewpointF; // 51
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:66:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t maxDewpointC; // 13
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:67:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t maxDewpointF; // 55
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:68:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t minDewpointC; // 10
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:69:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t minDewpointF; // 51
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:70:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t avgDewpointC; // 11
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:71:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t avgDewpointF; // 52
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.h:76:3: error: 'sint16_t' does not name a type; did you mean 'uint16_t'?
   sint16_t windDirMinDEG; // 39
   ^~~~~~~~
   uint16_t
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp: In member function 'void AerisForecasts::doUpdate(AerisForecastData*, String, uint8_t)':
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:48:31: error: no matching function for call to 'WiFiClient::connect(const String&, const uint8_t&)'
   if(client.connect(host, port)) {
                               ^
In file included from /Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFi.h:37,
                 from .pio/libdeps/nodemcu-32s/WeatherStation/src/ESPWiFi.h:4,
                 from .pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:24:
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:52:9: note: candidate: 'virtual int WiFiClient::connect(IPAddress, uint16_t)'
     int connect(IPAddress ip, uint16_t port);
         ^~~~~~~
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:52:9: note:   no known conversion for argument 1 from 'const String' to 'IPAddress'
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:53:9: note: candidate: 'virtual int WiFiClient::connect(IPAddress, uint16_t, int32_t)'
     int connect(IPAddress ip, uint16_t port, int32_t timeout);
         ^~~~~~~
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:53:9: note:   candidate expects 3 arguments, 2 provided
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:54:9: note: candidate: 'virtual int WiFiClient::connect(const char*, uint16_t)'
     int connect(const char *host, uint16_t port);
         ^~~~~~~
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:54:9: note:   no known conversion for argument 1 from 'const String' to 'const char*'
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:55:9: note: candidate: 'virtual int WiFiClient::connect(const char*, uint16_t, int32_t)'
     int connect(const char *host, uint16_t port, int32_t timeout);
         ^~~~~~~
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:55:9: note:   candidate expects 3 arguments, 2 provided
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp: In member function 'virtual void AerisForecasts::value(String)':
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:113:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'maxTempC'
     this->forecasts[currentForecast].maxTempC = value.toInt();
                                      ^~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:117:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'maxTempF'
     this->forecasts[currentForecast].maxTempF = value.toInt();
                                      ^~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:121:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'minTempC'
     this->forecasts[currentForecast].minTempC = value.toInt();
                                      ^~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:125:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'minTempF'
     this->forecasts[currentForecast].minTempF = value.toInt();
                                      ^~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:129:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'avgTempC'
     this->forecasts[currentForecast].avgTempC = value.toInt();
                                      ^~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:133:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'avgTempF'
     this->forecasts[currentForecast].avgTempF = value.toInt();
                                      ^~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:137:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'tempC'
     this->forecasts[currentForecast].tempC = value.toInt();
                                      ^~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:141:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'tempF'
     this->forecasts[currentForecast].tempF = value.toInt();
                                      ^~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:145:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'pop'
     this->forecasts[currentForecast].pop = value.toInt();
                                      ^~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:205:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'feelslikeC'
     this->forecasts[currentForecast].feelslikeC = value.toInt();
                                      ^~~~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:209:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'feelslikeF'
     this->forecasts[currentForecast].feelslikeF = value.toInt();
                                      ^~~~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:213:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'minFeelslikeC'
     this->forecasts[currentForecast].minFeelslikeC = value.toInt();
                                      ^~~~~~~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:217:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'minFeelslikeF'
     this->forecasts[currentForecast].minFeelslikeF = value.toInt();
                                      ^~~~~~~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:221:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'maxFeelslikeC'
     this->forecasts[currentForecast].maxFeelslikeC = value.toInt();
                                      ^~~~~~~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:225:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'maxFeelslikeF'
     this->forecasts[currentForecast].maxFeelslikeF = value.toInt();
                                      ^~~~~~~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:229:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'avgFeelslikeC'
     this->forecasts[currentForecast].avgFeelslikeC = value.toInt();
                                      ^~~~~~~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:233:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'avgFeelslikeF'
     this->forecasts[currentForecast].avgFeelslikeF = value.toInt();
                                      ^~~~~~~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:237:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'dewpointC'
     this->forecasts[currentForecast].dewpointC = value.toInt();
                                      ^~~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:241:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'dewpointF'
     this->forecasts[currentForecast].dewpointF = value.toInt();
                                      ^~~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:245:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'maxDewpointC'
     this->forecasts[currentForecast].maxDewpointC = value.toInt();
                                      ^~~~~~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:249:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'maxDewpointF'
     this->forecasts[currentForecast].maxDewpointF = value.toInt();
                                      ^~~~~~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:253:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'minDewpointC'
     this->forecasts[currentForecast].minDewpointC = value.toInt();
                                      ^~~~~~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:257:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'minDewpointF'
     this->forecasts[currentForecast].minDewpointF = value.toInt();
                                      ^~~~~~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:261:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'avgDewpointC'
     this->forecasts[currentForecast].avgDewpointC = value.toInt();
                                      ^~~~~~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:265:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'avgDewpointF'
     this->forecasts[currentForecast].avgDewpointF = value.toInt();
                                      ^~~~~~~~~~~~
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisForecasts.cpp:285:38: error: 'AerisForecastData' {aka 'struct AerisForecastData'} has no member named 'windDirMinDEG'; did you mean 'windDirMaxDEG'?
     this->forecasts[currentForecast].windDirMinDEG = value.toInt();
                                      ^~~~~~~~~~~~~
                                      windDirMaxDEG
*** [.pio/build/nodemcu-32s/lib438/WeatherStation/AerisForecasts.cpp.o] Error 1
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisSunMoon.cpp: In member function 'void AerisSunMoon::doUpdate(AerisSunMoonData*, String)':
.pio/libdeps/nodemcu-32s/WeatherStation/src/AerisSunMoon.cpp:47:31: error: no matching function for call to 'WiFiClient::connect(const String&, const uint8_t&)'
   if(client.connect(host, port)) {
                               ^
In file included from /Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFi.h:37,
                 from .pio/libdeps/nodemcu-32s/WeatherStation/src/ESPWiFi.h:4,
                 from .pio/libdeps/nodemcu-32s/WeatherStation/src/AerisSunMoon.cpp:24:
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:52:9: note: candidate: 'virtual int WiFiClient::connect(IPAddress, uint16_t)'
     int connect(IPAddress ip, uint16_t port);
         ^~~~~~~
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:52:9: note:   no known conversion for argument 1 from 'const String' to 'IPAddress'
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:53:9: note: candidate: 'virtual int WiFiClient::connect(IPAddress, uint16_t, int32_t)'
     int connect(IPAddress ip, uint16_t port, int32_t timeout);
         ^~~~~~~
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:53:9: note:   candidate expects 3 arguments, 2 provided
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:54:9: note: candidate: 'virtual int WiFiClient::connect(const char*, uint16_t)'
     int connect(const char *host, uint16_t port);
         ^~~~~~~
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:54:9: note:   no known conversion for argument 1 from 'const String' to 'const char*'
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:55:9: note: candidate: 'virtual int WiFiClient::connect(const char*, uint16_t, int32_t)'
     int connect(const char *host, uint16_t port, int32_t timeout);
         ^~~~~~~
/Users/lars/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:55:9: note:   candidate expects 3 arguments, 2 provided
*** [.pio/build/nodemcu-32s/lib438/WeatherStation/AerisSunMoon.cpp.o] Error 1

Test code

Provide a Minimal, Complete, and Verifiable example which will reproduce the problem.

lib_deps = squix78/WeatherStation#ESP32

Weather Station version

ESP32 branch

Hardware

ESP32 Devkit (AZDelivery)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant