..., install libraries 561, 562, and 563 with "platformio lib install", adapt the WeatherStationDemo.ino file to your needs. The simple class uses the header date and time to set the clock. NTP-based time class written by Fabrice Weinberg. We fixed many bugs and improved performance and changed the API a little bit. Either compare your code to the updated WeatherStationDemo or read through the upgrade guide.