I created a plugin to pull down data from my home weather station and display it in a custom block. The data updates every 10 minutes. I’m also gathering daily summaries behind the scenes for future blocks to come.

Here is the block in action. It is currently “no frills” and needs some styling and a round of code clean up, but I’m happy with the first working version.

Current weather conditions from KNYPEEKS11

Last updated: 2023-03-25 12:24:21

40°FHeat Index
40°FActual Temp
40°FWind Chill
90%Humidity
1UV IndexUV index sparkline over the past 48 hours
Low risk, no protection needed.
0.07 in/hrPrecip Rate
0.11 inTotal Precip
37 °FDew Point
30.22 inHgPressure
Falling ↘️
0 mphWind Speed
WDirection
0 mphWind Gust

This block will live permanently at https://cagrimmett.com/weather/

You can find the plugin code on GitHub: https://github.com/cagrimmett/wunderground-pws-wp-blocks


One response to “I created a plugin to pull down data …”

Leave a Reply

Your email address will not be published. Required fields are marked *