Weather Station with Lilygo T-Display


I had a Lilygo T-Display S3R8 sitting around that came as a promotional item with some other electronics and finally put it to use. Despite the size and cheap price (under $10) of the T-Display it has wifi and bluetooth. This weather station uses the openweathermap.org API to pull information for a 3 day forecast with the daily High/Low Temperature, Weather Description (rainy, cloudy, etc), and displays the Current Temperature and Current Weather Description.

The cyan text is for the current conditions, and the data is pulled every 30 minutes which is well below the free tier API usage for openweathermap.org. If the device cannot update the data for 2 hours, a red asterisk will appear to let you know the connection has failed. The wifi, location, and API are all set during install. This was created using Cursor, which has been an interesting and quick tool to use for coding small devices like this. Overall it is a pretty simple project and a great introduction to these small devices.

Full instructions and code are available over on Github.