Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MetalGearTW

macrumors member
Original poster
Feb 3, 2013
61
0
619
The page where I download the tweak says to change the weather location through settings.js, but it doesn't explain how to and I have no idea how to do this. I tried a youtube/google search and there are no tutorials on this.

Does anyone use this Lockscreen? How do I change it to my local weather instead of Amsterdam?
 
The page where I download the tweak says to change the weather location through settings.js, but it doesn't explain how to and I have no idea how to do this. I tried a youtube/google search and there are no tutorials on this.

Does anyone use this Lockscreen? How do I change it to my local weather instead of Amsterdam?

Actually it does.

Open it with text edit:

// Seiva Lockscreen Setup //
// Settings - Please change to your liking :

// Clock Related
var Clock = "24h"; // Enter 12h between "" to change to 12h clock, or "24h" for military time.

// Change Language For Complete Lockscreen / Day of the week / Month / Forecast Days / Weather Condition
var lang = "en"; // fr=French // de=German // sp=Spanish // it=Italian // en=English // nl=Dutch

// Weather Related
var gps = false; // GPS Disabled to save battery.
var locale = 733075; // Yahoo WOEID Weather code, check http://woeid.rosselliot.co.nz/ and search for your city, copy it's WOEID to this file. Rotterdam-South Holland-Netherlands- -> 733075 <-
var updateInterval = 30; // Weather update time - In minutes, save battery by increasing to at least 30minutes.
var tempUnit = "c"; // Change to : C - Celcius or F - Fahrenheit.

// Theme Related - Current icons created by : Andreas-Hellqvist // http://andreas-hellqvist.deviantart.com // Thanks!
var IconSet = "Weather"; // Icons - You can change this to your own icon set and copy your icons to the Images/*youriconset* directory.

Go to yahoo.com, punch in your local for weather, for example, Boston:

http://weather.yahoo.com/united-states/massachusetts/boston-2367105/

Take the bolded digits, which will be generated by the link, and put them in the Settings.js that is bolded above. Voila.
 
The page where I download the tweak says to change the weather location through settings.js, but it doesn't explain how to and I have no idea how to do this. I tried a youtube/google search and there are no tutorials on this.

Does anyone use this Lockscreen? How do I change it to my local weather instead of Amsterdam?

Instructions should be listed under the actual file name.
To access settings.js, you have to access the phone. For windows, download openSSH on your phone, and winSCP on your computer. Run it, and use your wifi IP address with the user name as root and password as alpine. Connect to it, and go to /Library/Themes/<Your Theme Name>

Inside that folder, keep looking around, you'll find the settings.js and just open it. Use http://edg3.co.uk/snippets/weather-location-codes/ to find your Amsterdam code, and copy it in there where there should be another code that looks similar and replace it.

Hope my instructions are clear. Good luck
 
thanks you guys, i managed to successfully change my location!! :D

Both of your instructions were very clear!!
 
I don't know if this will work, but it might be worth trying depending on if this tweak is GPS aware or not.

You can install GPS Weather Lockscreen. This is a Winteboard them, but you don't need to activate it. The behind the scenes part is what's important. There's a little app that installs with it called MyWeather. You can set Sig and GPS (Sig standing for Signal), but the dev recommends just Sig for battery life.

In any case, if your tweak is GPS aware then it will read the info from GPS because this tweak is installed. The is better because weather will follow you. For instance. I live in Phoenix. I can set my weather for Phoenix using the weather codes and if I am in Glendale my weather will say Phoenix. But using this tweak my weather will read from the GPS and show Glendale when I am in Glendale. Much more useful.

Worth a shot anyway.
 
Yes I was using this for quite a while. But having your lockscreen, which is already updating every so often use your location, it's a major battery drain. But it does indeed work well.

However I don't think it has been updated for iOS6. I know for iOS 5.1.1 it was having problems and had to use alternate methods, as iOS 4.2.1 was running perfectly.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.