Microblog post

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-06-16 02:26:36

58°FHeat Index
58°FActual Temp
58°FWind Chill
91%Humidity
0UV IndexUV index sparkline over the past 48 hours
Low risk, no protection needed.
0 in/hrPrecip Rate
0 inTotal Precip
56 °FDew Point
29.99 inHgPressure
Holding steady ↔️
0 mphWind Speed
EDirection
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



Comments

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

Leave a Reply

Webmentions

If you've written a response on your own site, you can enter that post's URL to reply with a Webmention.

The only requirement for your mention to be recognized is a link to this post in your post's content. You can update or delete your post and then re-submit the URL in the form to update or remove your response from this page.

Learn more about Webmentions.