Microblog
-
Some thoughts from having lunch outside:
- It is nice to get some sun!
- I am really looking forward to spring and summer this year.
- Also looking forward to the garden this year.
- Very first mint shoots are already popping up. I’m very happy to let it take over the spot it is in.
- The last two years I’ve had to reseed big parts of my yard in the spring. This year it will only be a small patch. I’ll probably put down clover seed.
-
Decided to just roll with it and pushed my work-in-progress to https://cagrimmett.com/weather/
-
I write directly into the #WordPress block editor on a daily basis. It has been at least three years since I’ve lost anything I’ve written because it didn’t save.
-
TIL the plant I’ve been calling Moonflower is actually Datura and very toxic to humans. Better not plant them while we have a toddler in the yard.
-
Updated the weather station data forwarding script to fetch and update data every 5 minutes instead of every minute, as I’m starting to hit daily API usage limits from Wunderground now that I added my custom block. It looks like the limit is 1500 requests a day (day resets in UTC time). I’m having trouble finding the limits documented anywhere, but around 1500 I start getting errors back for my requests.
Side note: Don’t use multiple Google Docs for your public API documentation. Makes it very difficult to search across documents.
-
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.
Data is not available.
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
-
Today I had trouble with Valet not being properly linked to the correct PHP version installed via Homebrew. Here is how I fixed it. I’m sure I’ll need this again, so putting it here.
brew unlink php && brew link php brew services restart --all composer global update valet start



