WiFi Connection ;
Change .
char ssid[] = "--------";
char pass[] = "--------";
For correct time, change time zone :
Change .
timeClient.setTimeOffset(7200);
You can also change the NTP server in this line :
NTPClient timeClient(ntpUDP, "be.pool.ntp.org");
Forecast coordinates :
Change latitude, longitude in (First check on open-meteo coordinates .) .
client.println("GET /v1/forecast?latitude=50.6337&longitude=5.5675¤t=temperature_2m,relative_humidity_2m,apparent_temperature,is_day,precipitation,rain,showers,snowfall,weather_code,cloud_cover,pressure_msl,surface_pressure,wind_speed_10m,wind_direction_10m,wind_gusts_10m&timezone=Europe%2FBerlin&forecast_days=1 HTTP/1.1");
Name city of forecast chosen coordinates, (4 times to change) :
Change .
u8g2.print("-Liege-");
English version of jokes :
Change .
clientssl.println("GET /joke/Any?lang=fr&format=xml&type=twopart HTTP/1.1");
To .
clientssl.println("GET /joke/Any?lang=en&format=xml&type=twopart HTTP/1.1");
install libraries :
U8g2lib.h, Wire.h, WiFiS3.h, WiFiSSLClient.h, IPAddress.h, ArduinoJson.h, assert.h,
ArduinoGraphics.h, Arduino_LED_Matrix.h, FastLED.h, NTPClient.h, WiFiUdp.h,
RTC.h, Adafruit_BMP085_U.h, Adafruit_Sensor.h, MQSpaceData.h, DHT.h, AT24C256.h .