How I Add the Weather to My Obsidian Daily Note
Automatically adding live weather data to my daily note template in Obsidian.
--
Note: I am now using iOS Shortcuts to accomplish this. You can still add the weather using these steps, but if you are looking for a simple Apple-only solution, check out:
As you may have noticed from my last few articles, I’ve been kind of obsessed with dialing in my Daily Note Template in Obsidian. If you don’t use a daily note or Obsidian, check out my daily note template post to understand what it is and where this obsession started.
Ultimately, I am hoping to use these daily notes as a place to enter most of my day-to-day tasks and work notes and as a journal for my work life in general.
I’ve been a software developer for over 25 years. One of my biggest regrets is not documenting more of the work I’ve done. Obsidian is the first App that has given me a simple path to getting this done going forward.
Before the pandemic, I worked traveled all over or work. I would love to be able to look back now and see where I worked and when. But, unfortunately, I was never one for journaling or blogging, so now I only have my photo album to know when I was in a specific city, and if I’m lucky, I have an idea what the weather was.
When thinking about how I’m going to add journal entries to my daily note, I thought it would be nice to automate the insertion of the day’s weather into my note when I create it. So I looked around for an API and a solution. I quickly realized I could use a CURL command in Templater to get the weather if I found a service. And wttr.in answered all my needs.