Page 11 of 380 FirstFirst ... 9101112132161111 ... LastLast
Results 101 to 110 of 3794

Thread: Conky Weather Forecast Python Script

  1. #101
    Join Date
    Aug 2008
    Location
    Vancouver B.C.
    Beans
    Hidden!
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Conky Weather Forecast Python Script

    Would just like to thank everyone that's posted copies of their conky files/scripts/how to's

    without you all us linux/ubuntu noobs would be lost at where to start

    been using windows since 1.0 (LOL)

    just recently (like 2 weeks ago) dumped my drive and setup a dualboot, and although I had done it in the past, I probably didn't have more then 12 hours on a linux OS up until ... well 2 weeks ago

    Linux can be frustrating at times but the pro's far outweigh the con's thus far.

    Anyways, here's what I've managed to accomplish desktop wise in 2 weeks in my spare time ...heh

    once again thanks to all I've scrounged snippets and info from for this

    ** Still have some drives too add to it and well....who knows, but this is it thus far....
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Damon68; August 10th, 2008 at 09:08 AM.

  2. #102
    Join Date
    Apr 2008
    Beans
    382

    Re: Conky Weather Forecast Python Script

    @Bruce, is it possible to get this in English. Do mind sharing your template and conky code. Thanks

  3. #103
    Bruce M. is offline Chocolate Ubuntu Mocha Blend
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by wariskampar View Post
    @Bruce, is it possible to get this in English. Do mind sharing your template and conky code. Thanks
    Sharing is what it's all about.

    I had to create it in English for you and the spacing is a bit off, but you can play with it. I've also included the font I use as it's a "part" of what my spacing is.

    Enjoy and have a nice day.
    Bruce
    Attached Images Attached Images
    Attached Files Attached Files

  4. #104
    Join Date
    Apr 2008
    Beans
    382

    Re: Conky Weather Forecast Python Script

    Thanks Bruce. You're the man!!!

  5. #105
    Bruce M. is offline Chocolate Ubuntu Mocha Blend
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by wariskampar View Post
    Thanks Bruce. You're the man!!!
    You're welcome.

    Have a great day.
    Bruce

    EDIT: Show us your screen shot when done.

  6. #106
    Join Date
    Jan 2008
    Location
    Faversham UK
    Beans
    54

    Re: Conky Weather Forecast Python Script

    Totally new to Ubuntu and conky but have a conky going i like, can this be used to retrieve weather from the uk version of weather.com

    http://uk.weather.com/weather/today-Faversham-UKXX1583

  7. #107
    Bruce M. is offline Chocolate Ubuntu Mocha Blend
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by Icerat View Post
    Totally new to Ubuntu and conky but have a conky going i like, can this be used to retrieve weather from the uk version of weather.com

    http://uk.weather.com/weather/today-Faversham-UKXX1583
    Interesting question, kaivalagi, the creator of the script, is in the UK.

    If you talk nicely to him he just might create a UK version.

    I wonder if they have an AR version ... hmmmmm
    ar.weather.com ????? ---> Nope!

    Oh well.
    Good Luck
    Bruce

  8. #108
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by Icerat View Post
    Totally new to Ubuntu and conky but have a conky going i like, can this be used to retrieve weather from the uk version of weather.com

    http://uk.weather.com/weather/today-Faversham-UKXX1583
    As this is a weather.com feed I suggest you use my weather forecast script on this thread, which gets all it's data from weather.com too, albeit using an alternative method.

    The script is used by quite a few people now, and I think it has stood the test of time.

    Check it out, and if you have any questions about it post them on this thread. conkyForecast.py veterans such as myself and Bruce will be able to help

    for example:

    Code:
    {iexec 1800 python /path/to/script/conkyForecast.py --location=UKXX1583 --startday=1 --datatype=HT}
    will get you tomorrows high temp in celsius for Faversham
    Last edited by kaivalagi; August 11th, 2008 at 07:17 PM.

  9. #109
    Join Date
    Jan 2008
    Location
    Faversham UK
    Beans
    54

    Thumbs down Re: Conky Weather Forecast Python Script

    Total noob here followed the guide and got up to the part about testing.

    Tried:
    Code:
    {execi 1800 python /path/to/script/conkyForecast.py --location=UKXX1583 --startday=1 --datatype=HT}
    and it gave me an error about invalid location (screenshot-1)

    When i tried Canterbury :
    Code:
    ${execi 3600 python /home/mike/Conky/conkyForecast.py --location=UKXX0029 --template=/home/mike/Conky/conkyForecast.template}
    It gave me some details but no cloud pics or that, (screenshot-2)

    I'm guessing it don't like Faversham as a UK location and that I not done something right to get pics.

    Ideas?
    Mike
    Attached Images Attached Images

  10. #110
    Bruce M. is offline Chocolate Ubuntu Mocha Blend
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by Icerat View Post
    It gave me some details but no cloud pics or that, (screenshot-2)

    I'm guessing it don't like Faversham as a UK location and that I not done something right to get pics.

    Ideas?
    Mike
    In the first post here it mentions that you have to "register" to get your own keys for this to work.

    Step 4: Weather.com XOAP Service Registration

    Due to the risk of having the previously registered xoap weather.com account terminated because of high volumes of requests, I have upgraded the script to use a users own registered details.

    The following are the lines in the script, which will require your own registration codes (Partner ID & License Key):

    Code:
    XOAP_PAR = u"1234567890" #Invalid code, needs replacing
    XOAP_KEY = u"ac12ab12ab12ab12" #Invalid code, needs replacing
    To register and obtain the necessary codes you need to visit http://www.weather.com/services/xmloap.html and fill out the required form.

    After successfully completing the form, you will then receive a couple of emails providing you with the necessary codes to update conkyForecast with, along with the software development kit and terms and conditions.

    Did you do that?
    I'm guessing you overlooked that little detail.
    Bruce

    EDIT:
    Ooops! Oh well, I have been wrong before as well.
    That's 1 for today, nothing to get nervous about.
    Last edited by Bruce M.; August 12th, 2008 at 07:37 PM.

Page 11 of 380 FirstFirst ... 9101112132161111 ... LastLast

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
  •