Weather Workflow for Alfred 2
The Weather workflow for Alfred 2 i somewhat of a remake of my previous weather extension for Alfred 1. With this extension, you will be able to set your default weather location and then quickly check current conditions, or the forecast for your location.
Searching for your default location is very easy thanks to Alfred 2′s new feedback system. Enter the name of the city you want to set, and suggestions are populated into Alfred’s results.
Special thanks to Javier Esquivel (@jovotrox) for supplying the icons. Javier is super talented and has been helping me with some other icons and artwork for upcoming workflows.
Update: 3/18
- NOTE: Be sure to set your location again first to set a default temp unit, then you can change it.
- Dropped functionality of saving settings to Workflow Data folder and moved it back to the workflow folder. This provides syncing of the settings and hopefully will alleviate the issue of some users having trouble saving settings.
I'm David Ferguson, Alfred Guru, programmer, and general nerd. I was recently added as an official member of the
Did you consider making configurable icon sets maybe?
I really like Climacons Light (http://adamwhitcroft.com/climacons/), they’re very clean, and I believe the designer allows free use of them as long as you give him credit.
On a similar note, you should check out the icon sets offered through the Eye in Sky app from the Play Store (https://play.google.com/store/apps/details?id=com.citc.weather), sorry Android only I believe, but you can check out some the offered icon sets in the screenshots, and I’d be more than happy to help out with further exploration of the icon sets in the app.
Ben,
The workflow was originally done with Climacons. I changed it because so many people complained that the icons were really hard to see in Alfred with themes that were dark, and they make a good point. I personally use a light colored theme and they looked great.
Additionally, if I go adding icon sets, the package size gets larger and all that. I’d like to just keep it simple. If you want to change the icons yourself, feel free to do so. There are only a handful of icons really. So you could just replace the current ones with the set you wish to use.
Were are the icons stored if you want to change them?
Thanks
they are stored in the workflow folder. right click on the workflow in the list on the left in the workflows area, and select “show in finder”
Awesome work as ever David
Great work! Awesome. Bombastic.
Thanks.
Outstanding!
Well done and very useful–thanks for sharing! And congrats on the Alfred 2 release!
Not sure what I’m missing…
I imported the workflow, then used “weather sacramento” to set my default location. (I got a notification that default location was saved.) But when I run “forecast”, it stops at “Requesting local forecast…” It never goes any further.
Two or three people have reported this, I’m looking into the cause and will try to get a fix out ASAP.
Thanks
I have my location saved but when I enter ‘forecast’ it just says ‘partly cloudy’ ‘chance of snow’ etc. No mention of high or low temps etc.
Screen shot here http://goo.gl/U0huj
Am I missing a setting somewhere?.
Do you have subtext hidden in the Alfred appearance settings?
Hi David,
Yes that was exactly the reason. I was just messing with Alfred this morning and unchecked it and I came back to say that I had made the mistake.
Sorry about that.
Awesome workflow – thank you? Is there a way to turn off the second temp unit completely? Where would I have to edit/comment out?
Right now there isn’t an easy to just just remove it. I’ll see if I can add that as an option soon.
I’ve update the workflow to hopefully fix the issue with people being unable to save settings.
What weather site are you using? The Norwegian site yr.no?
No? It uses weatherunderground.com. Why?
Just a quick note to say THANK YOU, this is awesome. The Internet rules.
Very nice, like the new icons. Just one thing, and it’s no biggie, but maybe it could be achieved? Right now, the conditions for my locale (Auckland) says “Clear” and there’s a lovely icon of a bright sun. Except it’s almost midnight. Any chance that the workflow can check if it’s night, and show a moon phase icon or something, like the Apple weather widgets do?
I will get around to this eventually, I’ve been pretty busy trying to keep up with Alfred Support lately. Once things start slowing down a little I want to get some updates and several new workflows created.
Hi, I’ve added your workflow to the [Alfred Workflow List Website] to share with more users. Hope you like it.
http://www.alfredworkflow.com/#Weather
Bit off-topic, but does that screenshot show Alfred blurring the background behind the window? I like to use a theme with a fairly low opacity, and some blurring would help make it more legible when it’s over complex backgrounds
Yeah it’s a hack available for Alfred 2
wonderful!
A very nice workflow indeed!
A shame that it uses Wunderground instead of Yahoo as Wunderground doesn’t let me specify a location that is local enough whereas Yahoo does.
I’ll probably keep using v1 of this extension that I ported to Alfred v2.
THANK YOU!
Thanks a lot its great! Just one question! I’m using Celsius as my unit, is there a way to remove the F thats in brackets? I don#t really want it, just makes it a bit cluttered
Thanks a lot
you can but it would require modifying the code