Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Again, conditions are provided by Yahoo I'm afraid.

Just asking because I'm running this on the main screen and iWeather Widget on my menu screen.
Both are fetching info from Yahoo and both the .js files look the same but on occasions your lock screen shows the same as iWeather yet the icons are different.
 
Could you enlighten me at all?

The words in quotations in the following refer to the filename of the weather image found in images/icons.
You can change as you please, you can find this code in src/YahooWeather.js:

Code:
var weatherImages =
[
	"tstorm3",		//0 	tornado
	"tstorm3",		//1 	tropical storm
	"tstorm3",		//2 	hurricane
	"tstorm3",		//3 	severe thunderstorms
	"tstorm2",		//4 	thunderstorms
	"sleet",		//5 	mixed rain and snow
	"sleet",		//6 	mixed rain and sleet
	"sleet",		//7 	mixed snow and sleet
	"sleet",		//8 	freezing drizzle
	"light_rain",	//9 	drizzle
	"sleet",		//10 	freezing rain
	"showers",		//11 	showers
	"showers",		//12 	showers
	"snow1",		//13 	snow flurries
	"snow2",		//14 	light snow showers
	"snow4",		//15 	blowing snow
	"snow4",		//16 	snow
	"hail",			//17 	hail
	"sleet",		//18 	sleet
	"mist",			//19 	dust
	"fog",			//20 	foggy
	"fog",			//21 	haze
	"fog",			//22 	smoky
	"cloudy1",		//23 	blustery
	"cloudy1",		//24 	windy
	"overcast",		//25 	cold
	"cloudy",		//26 	cloudy
	"cloudy4_night",//27 	mostly cloudy (night)
	"cloudy4",		//28 	mostly cloudy (day)
	"cloudy1_night",//29 	partly cloudy (night)
	"cloudy1",		//30 	partly cloudy (day)
	"sunny_night",	//31 	clear (night)
	"sunny",		//32 	sunny
	"mist_night",	//33 	fair (night)
	"mist",			//34 	fair (day)
	"hail",			//35 	mixed rain and hail
	"sunny",		//36 	hot
	"tstorm1",		//37 	isolated thunderstorms
	"tstorm2",		//38 	scattered thunderstorms
	"tstorm2",		//39 	scattered thunderstorms
	"tstorm2",		//40 	scattered showers
	"snow5",		//41 	heavy snow
	"snow3",		//42 	scattered snow showers
	"snow5",		//43 	heavy snow
	"cloudy1",		//44 	partly cloudy
	"storm1",		//45 	thundershowers
	"snow2",		//46 	snow showers
	"tstorm1",		//47 	isolated thundershowers
	"dunno",		//3200  (48)	not available
]
 
Pasted everything in fine but it doesn't seem to want to update even though i have it set to update every hour :confused:

Updates after a reboot though, will see how it goes.
 
Last edited:
Just wanted to say awesome work andy :) its the best htc skin out there. Looks really complete and beautiful, good work!

Just one question, i currently dont have a dataplan for my iphone 4, and im wondering how often this plugin gets updated/pulled from yahoo to get weather etc, cause i dont want to have a huge bill
 
This lockscreen will also update every time you lock your phone. It does not run the caching system I created for Sublime Lock HD.

Each fetch uses just over 1kb of data, so if you set it to update every 1440 minutes (24 hours), it will only use 1kb PLUS 1kb every time you lock your phone per day. It won't amount to too much, but do try to keep track. Plus, you'll lock your phone often enough to keep it updated(ish).

Just in-case, I'll say now; I'm not responsible if the above calculations turn out to be incorrect.
 
The words in quotations in the following refer to the filename of the weather image found in images/icons.
You can change as you please, you can find this code in src/YahooWeather.js:

Code:
var weatherImages =
[
	"tstorm3",		//0 	tornado
	"tstorm3",		//1 	tropical storm
	"tstorm3",		//2 	hurricane
	"tstorm3",		//3 	severe thunderstorms
	"tstorm2",		//4 	thunderstorms
	"sleet",		//5 	mixed rain and snow
	"sleet",		//6 	mixed rain and sleet
	"sleet",		//7 	mixed snow and sleet
	"sleet",		//8 	freezing drizzle
	"light_rain",	//9 	drizzle
	"sleet",		//10 	freezing rain
	"showers",		//11 	showers
	"showers",		//12 	showers
	"snow1",		//13 	snow flurries
	"snow2",		//14 	light snow showers
	"snow4",		//15 	blowing snow
	"snow4",		//16 	snow
	"hail",			//17 	hail
	"sleet",		//18 	sleet
	"mist",			//19 	dust
	"fog",			//20 	foggy
	"fog",			//21 	haze
	"fog",			//22 	smoky
	"cloudy1",		//23 	blustery
	"cloudy1",		//24 	windy
	"overcast",		//25 	cold
	"cloudy",		//26 	cloudy
	"cloudy4_night",//27 	mostly cloudy (night)
	"cloudy4",		//28 	mostly cloudy (day)
	"cloudy1_night",//29 	partly cloudy (night)
	"cloudy1",		//30 	partly cloudy (day)
	"sunny_night",	//31 	clear (night)
	"sunny",		//32 	sunny
	"mist_night",	//33 	fair (night)
	"mist",			//34 	fair (day)
	"hail",			//35 	mixed rain and hail
	"sunny",		//36 	hot
	"tstorm1",		//37 	isolated thunderstorms
	"tstorm2",		//38 	scattered thunderstorms
	"tstorm2",		//39 	scattered thunderstorms
	"tstorm2",		//40 	scattered showers
	"snow5",		//41 	heavy snow
	"snow3",		//42 	scattered snow showers
	"snow5",		//43 	heavy snow
	"cloudy1",		//44 	partly cloudy
	"storm1",		//45 	thundershowers
	"snow2",		//46 	snow showers
	"tstorm1",		//47 	isolated thundershowers
	"dunno",		//3200  (48)	not available
]

Just so someone doesn't really screw this up, you can change a name in the quotations to a different name in quotations. You cannot make up a name. Also, if you are using weather widgets that request information from different servers (ie accuweather and yahoo) it is often not possible to make the icons always match (in my experience) because the servers sometimes return different conditions at the same time. I guess you could name them all "sunny" and it would be okay.
 
//Update the weather every __ minutes...
var updateWeatherEvery = 90;

I guess that means it will update every 90 minuets, if the screen is idle, and everytime i lock the screen and turn it on, it gets updated?

Sorry for asking, just want to know for sure.
 
//Update the weather every __ minutes...
var updateWeatherEvery = 90;

I guess that means it will update every 90 minuets, if the screen is idle, and everytime i lock the screen and turn it on, it gets updated?

Sorry for asking, just want to know for sure.

That's exactly correct - no need to apologise! It's a fairly daunting idea that the 'update every X' doesn't necessarily mean that's the case.

I've had a little more interest in this theme lately so I may get round to re-working it into a Safari configurable theme with caching system.
 
htcwallpaper01.jpg


i think this android wallpaper looks better then the one posted on the first page.

Anyone care to make it into a iphone 4 resolution? and cut out the dark parts.

i think this with the weather widget will look awesome
 
27" iMac, 2.8 GHz i5, 4 GB RAM, 1 TB HDD, ATI 5750
13,3" Macbook Pro, 2.4 GHz, 4 GB RAM, 250 GB HDD, NVIDIA 320M

iPad 64 GB - iPhone 3GS 32GB

Yet you do not know how to crop an image? I find that amusing to read.

I'm sorry my background wasn't up to your standards. Perhaps you could borrow MS Paint on your friend's Acer to sort out that background of yours.
 
Just so someone doesn't really screw this up, you can change a name in the quotations to a different name in quotations. You cannot make up a name.

So you can change the name of a condition/icon but it has to be one already present?

Wish you could add (night) on the end of one condition and rename the icon to something else, only have one icon for 'Light Snow' and at the moment it's 01:05am and it's snowing in front of the sun.
 
Last edited:
So you can change the name of a condition/icon but it has to be one already present?

Wish you could add (night) on the end of one condition and rename the icon to something else, only have one icon for 'Light Snow' and at the moment it's 01:05am and it's snowing in front of the sun.

What you're changing isn't the description of the condition (ie. the bit that says 'Light Snow'), you're changing the icons used. You must therefore use filenames of images which exist in the weather icons folder.

The detail/relevance of the icons is down to the designer and the limitations of Yahoo. Yahoo does not send 'night time' back for all conditions at the moment - only a select few which are described in the link I provided earlier.

As a temporary fix, why not change the snow icon to just a default snow (ie. one without a sun or moon). I've done that with a couple of other themes in the past.
 
htcwallpaper01.jpg


i think this android wallpaper looks better then the one posted on the first page.

Anyone care to make it into a iphone 4 resolution? and cut out the dark parts.

i think this with the weather widget will look awesome

This pic is only 800 pixels high, you need at least 960 to make it iPhone 4 resolution. Or you will just lose some detail by blowing it up a bit. When I tried to cut out some of that black on the bottom, it was even less, something around 600 pixels high. Not gonna work.
 
.

As a temporary fix, why not change the snow icon to just a default snow (ie. one without a sun or moon). I've done that with a couple of other themes in the past.

That worked a treat mate, changed a few and AndroiHD and iWeather widget are looking much much better.

Thanks Andy :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.