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


{ 8 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~~~

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.