This code works best with the NodeMCU V2 ESP8266 module and an 0.96" OLED display. To get you up and running in no time we created a kit that contains all the necessary parts. By buying this and other kits from us you are funding the maintenance and development of this library. Make sure you use a version of the Arduino IDE which is supported by the ESP8266 platform. If you are using the PlatformIO environment for building, choose one of the available IDE integration or the Atom-based IDE, 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.