OpenSprinkler Forums OpenSprinkler Unified Firmware Free Weather Underground API keys for PWS non-commercial users Reply To: Free Weather Underground API keys for PWS non-commercial users

#60173

fennsen
Participant

@franzstein
thanks for the feedback and hints. Seems that Node MCU / a normal ESP8266 doesn’t have a RTC (only software emulated). Then it’s clear that the statement runs into errors.

Which means that I’ve to order this ESP32 module… sig…

After downloading the ESP32 board definitions and used the ‘ESP32 Wrover Module’ as board for a test run, compiling suceeded without any errors! GBY… 🙂

The second issue while compiling before was also related to that:
,,OS_WU_WeatherService_V2:121:26: error: ‘esp_deep_sleep_start’ was not declared in this scope”
After reading the article about deep sleep on ESP32 it’s clear that this must be included in the ESP32 board definitions. Hey joe 😉

Furthermore it also resolved the issue with errors from
#include <WiFi.h>
#include <HTTPClient.h>

(as idiot…) I tried to use
#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>

Just for information to others who might also struggle with this.

enyou your vacation! Will come with an update when the module arrives and set up…