Main Content

Weather station
Not very original but I decided to also build a weather station project. My version is created with a NodeMCU (8266) controller, a BME280 sensor and a Nextion display.

The code connects the 8266 to the local WiFi network, reads the current time from the nearest NTP server and then loops displaying 2 screens on the Nextion display. It refreshes the time after approx. 24 hours.

The 1st page displays the date and time, initially set by the NTP server and the local temperature, humidity and air pressure read by the BME280 sensor.

The 2nd page displays the weather forecast for several cities (as defined in the Sketch) as read from the openweathermap.org website.”

Link to article