Results 1 to 7 of 7

Thread: GoodWeather for GDesklets hacked for Environment Canada weather feeds

  1. #1
    Join Date
    May 2009
    Beans
    13

    Thumbs up GoodWeather for GDesklets hacked for Environment Canada weather feeds

    Hello,

    I just spent all day hacking the the GoodWeather gdesklet so that it uses Environment Canada for its weather feeds.

    Download it Here (Gdesklets Site). See the ReadMe in the Displays directory for more information and for finding your location code.

    This includes a manually mapping of the environment canada "Conditions" and "Brief Descriptions" to the weather icons in GoodWeather (sorry not to the official environment canada ones). This could be useful for someone who needs these mapping for another project.

    Enjoy!
    Last edited by Emilie; May 10th, 2009 at 06:36 PM. Reason: Uploaded it to gdesklets main-site

  2. #2
    Join Date
    May 2009
    Beans
    13

    Re: GoodWeather for GDesklets hacked for Environment Canada weather feeds

    Updated to use the new environment canada xml location.

  3. #3
    Join Date
    Nov 2008
    Beans
    2

    Re: GoodWeather for GDesklets hacked for Environment Canada weather feeds

    When the detail information is too long, GUI will have a problem.

    It's better to truncate the detail information:

    /usr/share/gdesklets/Sensors/GoodWeather# diff __init__.py.orig __init__.py
    956c956
    < today.details(details);
    ---
    > today.details(details[0:100]);
    1045c1045
    < forecast.details(details);
    ---
    > forecast.details(details[0:100]);

  4. #4
    Join Date
    Feb 2010
    Beans
    3

    Re: GoodWeather for GDesklets hacked for Environment Canada weather feeds

    For those who may be struggling to get the right codes, the location listed in the INSTALL file is no longer available. I have found them at:

    http://dd.weatheroffice.ec.gc.ca/cit...l/siteList.xml

  5. #5
    Join Date
    Feb 2010
    Beans
    3

    Re: GoodWeather for GDesklets hacked for Environment Canada weather feeds

    And for the very lazy who may live in Toronto, the code for TO is ON/s0000458

  6. #6
    Join Date
    Jul 2010
    Beans
    4

    Re: GoodWeather for GDesklets hacked for Environment Canada weather feeds

    Thanks guys!

    But the site is asking for a user name & password??







    --------------------------------------------

    <site code="s0000788"><nameEn>Regina</nameEn><nameFr>Regina</nameFr><provinceCode>SK</provinceCode>
    Last edited by Clutchface; April 25th, 2011 at 01:27 AM.

  7. #7
    Join Date
    May 2009
    Beans
    13

    Re: GoodWeather for GDesklets hacked for Environment Canada weather feeds

    It looks like it's something with the gdesklets site. If you go to the base site (gdesklets.de) you can access it.

    Or click this link here!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •