Written on November 26th, 2009 by Alvin

How to Display your City’s Weather on HTC Hero Cydget

Last night, I was tweaking around the HTC Hero Cydget that is installed on my iPhone 3GS. Since I live in Singapore, I wish to have Singapore instead of the Grayslake (default) weather and now, HTC Hero cydget is showing my city’s weather on my iPhone 3GS lockscreen.

If you’ve HTC Hero cydget installed and you want it to display your city’s weather instead, follow the step-by-step guide below, which is the guide I used to set the weather on my iPhone 3GS.

1. Launch cydia installer, search and install “OpenSSH” on your iPhone. After that, I recommend you to change the root password immediately. Follow this step-by-step guide to change it using putty.

2. Install and launch WinSCP on your PC and SSH into your iPhone. Please use the new password to login if you’ve changed at step 1.

3. Navigate to this path: /System/Library/LockCydgets/HTCHero.cydget/Private, right click configureMe.js and select “Edit”.

configureme

4. Change the value of “var locale” to your city’s code.

varlocale

5. “snxx0006″ is the code for Singapore, you can go to theweathernetwork.com and search your city.

newyork

6. Save and Exit after you’ve made changes. Then, restart your iPhone and you’ll find HTC Hero cydget is not showing Grayslake weather anymore.

newyorklock

Can you do me a favor? Please copy the code you’ve entered for your city and paste it in the comment below. So that, anyone who lives in the same city can use it on the HTC Hero cydget. Eg. Singapore – snxx0006.

Related Posts

Enter your email address to subscribe:

Delivered by FeedBurner


{ 16 comments… read them below or add one }

1 Noel December 2, 2009 at 5:03 am

Any idea how to possibly drop in another clock to this so it matches the htc theme?

2 Britt January 1, 2010 at 12:47 am

Thank you so much this was extremely helpful.
Salt Lake City, UT code is usut0225

3 mike January 9, 2010 at 10:06 am

Macon, GA code is usga0346
Perfect directions, worked great.

4 jeremiah January 10, 2010 at 1:14 am

not every place work on hero cydget… not for melbourne australia

5 marcel February 8, 2010 at 8:03 pm

Stuttgart, GERMANY gmxx0128

6 marcel February 8, 2010 at 8:21 pm

it says 30° Degrees for Stuttgart,Germany although we have winter ?!

7 Dom February 13, 2010 at 4:14 am

I spent a while searching for Portsmouth UK which I manage to find in the end.

Here is a link for all the places in UK

http://www.edg3.co.uk/snippets/weather-location-codes/united-kingdom/

8 Alvin February 13, 2010 at 2:28 pm

Hi Dom,

Thanks for posting the useful link for our UK’s friends…

Cheers~~~

9 Jane March 15, 2010 at 12:33 am

Most of the towns near me all go back to the weather reading at the local airport. None of the location codes work. My zip is 28651 which corresponds to the Wilkes County airport weather reading. I have tried Millers Creek, Pulear, North Wilkesboro and Wilkesboro but none work. What else can I do?

10 Gonzo April 15, 2010 at 1:38 pm

For people having issue for Melbourne, Victoria this is the code ‘SXX0075′ Try http://www.weather.com/ for alternative weather location code.

11 alex May 4, 2010 at 8:04 pm

dallas texas ustx0327
thanks for the help

12 Brian Sandoval May 5, 2010 at 7:13 am

nice,

Downey, CA – usca0693

13 alex m May 6, 2010 at 2:25 pm

anyone can tell me how to get my citys code?

14 ryan May 8, 2010 at 3:49 pm

can anyone help with getting the cydget to show fahrenheit? i am a dumb american :O)

15 vince May 25, 2010 at 10:38 am

Newcastle upon Tyne , England- ukxx0098

16 Glax June 28, 2010 at 11:43 pm

Pune, India locale code inxx0002

Leave a Comment


Your Ad Here
The iPhone Blogging hosted at BLUEHOST.COM
Copyright © 2009
Get smart with The Thesis Theme for WordPress from DIYthemes.