Cydgets – Time, Weather, Flashlight… [Updated]

Available In: Cydia       Price: Free  

##ICON_NAME## Last week I wrote about Cydget, a “framework for managing lock screen plugins.” Over the week-end there were a few Cydgets (like Widgets for Cydget) released that are pretty decent.

The first is HTC Hero Cydget. This Cydget includes the current Time, Temperature and Weather Conditions. Once you have installed the Cydget, you will need to go into the stock Settings application under Cydget and activate it. I did find that this particular Cydget does not display immediately on the lock screen, there is a slight delay. (strike)Though, it does know your current time and weather info without having to edit a .plist which is nice. (/strike)

The second cydget is LockLight Cydget. This is basically a flashlight Cydget. It displays a completely white screen at full brightness. I don’t know about you guys but, I actually use my iPhone as a flashlight quite often! So, to have it available from the lock screen comes in handy for me.

Both the HTC Hero and the LockLight Cydgets are available via the modmyi source.

Remember, Cydgets can be used at the same time as the LockInfo mod and other lock screen mods as long as they are compatible with SBAwayViewPlugins.

Another Reminder, you toggle through all your activated Cydgets by pressing the Home Button while on your lock screen (Quick Dismiss still works with Cydget). You can reorder your Cydgets in the stock Settings application under Cydget.

NOTE: Do not activate only the LockLight Cydget!! You will not be able to “slide to unlock” your device. If you activate the LockLight Cydget be sure to have another one activated as well.

[UPDATE]
Ok, so apparently the app is not pulling in the specific weather info for your location. Below is a quick tutorial on how to update the info for it works correctly for your location. This does require ssh.

How to set-up the HTC Hero Cydget
1. SSH into your device

2. Locate the /System/Library/LockCydgets/HTCHero.cydget/Private folder.

3. Open the ConfigureMe.js file.
*You may need to save it to your computer before you are able to open it. This can be done by simply dragging the file onto your desktop.

4. This is what the ConfigureMe.js file will look like:

var iconExtWall = ‘.png’
var iconExtLock = ‘.png’
var locale = ‘USIL0490’
var iconSetWall = ‘HTC1’
var iconSetLock = ‘HTC1’
var enableWallpaper = true
var isCelsius = false
var useRealFeel = false
var enableLockScreen = false
var source = ‘yahooWeather’
var stylesheetWall = ‘twoLine’
var stylesheetLock = ‘Under_StatusBar’
var updateInterval = 30

5. Change the var locale to your zip code.
* If you are outside of the US, you will need to search for your city on Weather.com. After you have searched for your city, copy the code out of the link in the browser (examples… UKXX0085, BRXX0232, ASXX0112… etc) and put that code into the var locale.

var iconExtWall = ‘.png’
var iconExtLock = ‘.png’
var locale = ‘55901’
var iconSetWall = ‘HTC1’
var iconSetLock = ‘HTC1’
var enableWallpaper = true
var isCelsius = false
var useRealFeel = false
var enableLockScreen = false
var source = ‘yahooWeather’
var stylesheetWall = ‘twoLine’
var stylesheetLock = ‘Under_StatusBar’
var updateInterval = 30

6. Save the changes you have made to the ConfigureMe.js
* If you saved the file to your computer you will need to drag it back into the /System/Library/LockCydgets/HTCHero.cydget/Private folder on your device. Make sure you save the changes you made to the file before dragging in back onto your device.

7. Respring your device.

8. That’s it. It will now display the correct weather info.

9. If you would like the temperature on your lock screen to display in Celsius instead of Fahrenheit, you will need to change the var isCelsius to true instead of false (true = Celsius, false = Fahrenheit).

var iconExtWall = ‘.png’
var iconExtLock = ‘.png’
var locale = ‘55901’
var iconSetWall = ‘HTC1’
var iconSetLock = ‘HTC1’
var enableWallpaper = true
var isCelsius = true
var useRealFeel = false
var enableLockScreen = false
var source = ‘yahooWeather’
var stylesheetWall = ‘twoLine’
var stylesheetLock = ‘Under_StatusBar’
var updateInterval = 30

10. Follow steps 6-8.

ScreenShots

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Comments

  1. Do any of you guys know of a lightweight lockscreen calendar? Not the ones that just display the current date, nor the ones that display upcoming events in the calender, but rather, a monthly view. I’ve found one, Golden Calendar or something, but it’s ugly and it makes the lockscreen laggy and slow.

  2. Is there a trick to changing the weather city on HTC Hero? Mine says Grayslake and that is incorrect. I’ve changed the stock weather app to my city and still no help.

  3. Clive Weller says

    HTC Hero Cydget – Wonderful if I could get it to show my local weather. Any chance of a full ‘How To Do’ writeup. Without this info the add on is pretty useless.

    Thanks Clive

  4. Getting the right weather is a challenge. I’m surprised Brooke didn’t address it.

  5. I had to use iFile to edit the Yahoo javascript file to manually add a “zip” variable..

    zip = “30303”; // for atlanta, ga

    Good luck!

  6. Yeah the HTC widget certainly needs a lot of refining. I am sure that will come with time, but as of right now it is pretty useless. Unless you actually live in Grayslake.

  7. Here are the steps to change the zip code:

    Go to:
    /System/Library/LockCydgets/HTCHero.cydget/Private

    and edit the configureme.js

    Point browser here to get your zip code:

    http://weather.msn.com/local.aspx?wealocations=wc:USIL0490&q=Grayslake%2c+IL

    and type in your zip code. You will see that Grayslake is USIL0490 in the address bar so you just need to copy what your zip code is and place it in the configureme.js file for the “var locale” value.

    Hope that helps everyone.

  8. how did u edit the Yahoo javascript file to manually ??

  9. /System/Library/LockCydgets/HTCHero.cydget/Private/configureMe.js you change it yourself

    var iconExtWall = ‘.png’
    var iconExtLock = ‘.png’
    var locale = ‘your zip code’
    var iconSetWall = ‘HTC1’
    var iconSetLock = ‘HTC1’
    var enableWallpaper = true
    var isCelsius = false
    var useRealFeel = false
    var enableLockScreen = false
    var source = ‘yahooWeather’
    var stylesheetWall = ‘twoLine’
    var stylesheetLock = ‘Under_StatusBar’
    var updateInterval = 15

  10. SSH into your phone and navigate to
    /System/Library/LockCydgets/HTCHero.cydget/Private
    edit the configureMe.js file into any location

    You can change your location code and Fahrenheit or Celsius
    I changed mine to NLXX0011 and Clecius to ‘true’
    Works Great !

    • I tired it using the terminal program on my IPhone I keep geting an error message file or directory not found.

    • What do you mean “edit the ConfigureMe.js file into any location. How do you do that? Also, I don’t see celsius anywhere.

    • Never mind. For those of you as geek challenged as I am here is what you do.

      -Open weather.com
      -type in your city and search
      -in the menu bar, you’ll find an 8 digit code that looks like this CAXX0504
      -SSH into the device
      -go to /System/Library/LockCydgets/HTCHero.cydget/Private
      -find ConfigureMe.js and download it to your desktop
      -open ConfigureMe.js with a text editor
      -if you want celsius, change var isCelsius = false to true
      -beside var locale = put your city code. Mine is CAXX0504

      That’s it folks. That is how it’s explained for 99.9% of the people out there.

      If you think it’s worth the hassle, enjoy.

  11. Do we know if rss feeds is going to be a widget…i love that feature on intelli and prob wouln’t switch without it, but i am excited about cydget as a whole.

  12. Oh my goodness guys… we have a Grayslake in the city we live in and the time, temp and weather conditions matched ours so I thought it was pulling in the correct info! I’m so sorry! I will take a look at it tonight when we get home and write up a quick tutorial!

    • See quick tutorial above. This is for 99.9% of the people out there who do not understand the shorthand used around here, and on every other board.

      This is a tutorial for civilians.

    • Ok, I’ll bite. What tutorial above? Am I missing something?

    • Obviously you are missing something. Here is the tutorial from above:

      -Open weather.com
      -type in your city and search
      -in the menu bar, you’ll find an 8 digit code that looks like this CAXX0504
      -SSH into the device
      -go to /System/Library/LockCydgets/HTCHero.cydget/Private
      -find ConfigureMe.js and download it to your desktop
      -open ConfigureMe.js with a text editor
      -if you want celsius, change var isCelsius = false to true
      -beside var locale = put your city code. Mine is CAXX0504

    • Actually they weren’t missing something, the comment was in moderation and I approved it last night so they were not able to see it until I approved it.

    • After you make all the adjustments with the text editor, upload the file back up to the phone.

  13. yes!! if you jailbrocken, you can use ifile in cydia. it work!!!

  14. Hi, I like this cydget but is there any way to have it display the clock in 24 hour format ?

  15. File: HTC.html
    change line 229 to this:

    else if(hr>112){am_pm=’pm’;}

    It works.

  16. anybody know the code for indianapolis in… thank you….!!!!!!

  17. Tactical Flashlights,Zoom Lens Flashlights,Rechargeable Flashlights,LED Flashlights,HID Flashlights,Xenon Flashlights