Page 377 of 380 FirstFirst ... 277327367375376377378379 ... LastLast
Results 3,761 to 3,770 of 3796

Thread: Conky Weather Forecast Python Script

  1. #3761
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by bigdawgte View Post
    This is a really great project. I used the guidelines for configuring conkyForecastWU to get ConkyWeather+Clock going. However, I do not have any weather icons displayed in my conky, but I have gotten the temps and labels to all display. I see that the images are all downloaded to my cache location, but the do not show up on my desktop. Any ideas?
    Could you show us your conky and support scripts, templates (do not include any KEY or sign up code from WU) please.

  2. #3762
    Join Date
    Jul 2008
    Beans
    24

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by Sector11 View Post
    Could you show us your conky and support scripts, templates (do not include any KEY or sign up code from WU) please.
    Sure, first my conkyForecastWU.config:
    Code:
    #=============================================#
    # EXPERT SETTINGS, NOT REQUIRED TO BE ALTERED #
    #=============================================#
    #BASE_WU_JSON_URL = http://api.wunderground.com/api/<WU_STRATUS_LICENCE_KEY>/geolookup/conditions/forecast/alerts/astronomy/q/<LOCATION>.json
    BASE_WU_JSON_URL = http://api.wunderground.com/api/<WU_STRATUS_LICENCE_KEY>/geolookup/conditions/forecast/alerts/astronomy/lang:<LANGCODE>/q/<LOCATION>.json
    #BASE_WU_ICON_URL = http://icons.wxug.com/i/c/<ICON_SET>/<ICON>.gif
    BASE_WU_ICON_URL = http://d2bm3ljpacyxu8.cloudfront.net/width/90/crop/0,0,90x90/weathericon.webs.com/1_<ICON>.png
    MAXIMUM_DAYS_FORECAST = 7
    
    #===============================================#
    # USER SETTINGS, EDIT BASED ON DOCUMENTED SETUP #
    #===============================================#
    #CACHE_FOLDERPATH = /tmp/
    CACHE_FOLDERPATH = /media/3D/BU/Conky/cacheWU
    PERSISTED_CACHE_FOLDERPATH =
    #PERSISTED_CACHE_FOLDERPATH = ~/weather+clock/
    ICON_SET = a
    CONNECTION_TIMEOUT = 5
    EXPIRY_MINUTES = 30
    TIME_FORMAT = %H:%M
    DATE_FORMAT = %Y-%m-%d
    LOCALE = en
    WU_STRATUS_LICENCE_KEY = <SECRET>
    WU_CUMULUS_LICENCE_KEY = <SECRET>
    WU_ANVIL_LICENCE_KEY = <SECRET>
    DEFAULT_LOCATION =  KADW
    AUTO_NIGHT = False
    PROXY_HOST = 
    PROXY_PORT = 8080
    PROXY_USERNAME = 
    PROXY_PASSWORD =
    Next my conky.rc:
    Code:
     # -- Conky settings -- #
        background no
        update_interval 1
    
        cpu_avg_samples 2
        net_avg_samples 2
    
        override_utf8_locale yes
    
        double_buffer yes
        no_buffers yes
    
        text_buffer_size 2048
        imlib_cache_size 0
    
    
        # -- Window specifications -- #
    
        own_window yes
        own_window_type override
        own_window_transparent yes
        own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
    
        border_inner_margin 0
        border_outer_margin 0
    
        minimum_size 310 310
        maximum_width 1000
        
    
        alignment tr
        gap_x 20
        gap_y 40
    
        # -- Graphics settings -- #
        draw_shades no
        draw_outline no
        draw_borders no
        draw_graph_borders yes
    
        # -- Text settings -- #
        use_xft yes
        xftfont MaiandraGD:size=24
        xftalpha 0.4
    
        uppercase no
    
    
        default_color 8b8b8b
    
             TEXT
     ${voffset 60}${font Helvetica LT Std :size=80}${color 707070}${goto 50}${time %H}${goto 200}${color 909090}${time %M}${font Helvetica LT Std :size=40}${color 808080}${goto 350}${time %S}
    ${voffset 7}${goto 30}${font Helvetica LT Std :size=15}${color 909090}${execi 600 conkyForecastWU --location=KADW --datatype=CN --refetch}
    #${voffset 7}${font Helvetica LT Std :size=10}${color 707070}${goto 24}Бургас
    ${font Helvetica LT Std :size=16}${color whitesmoke}${goto 44}${execi 1800 conkyForecastWU --location=KADW --datatype=CT}${voffset -5}${goto 340}${font Helvetica LT Std :size=50}${color 707070}${execi 1800 conkyForecastWU --location=KADW -u
    --datatype=HT}
    ${voffset 57}${font Helvetica LT Std :size=16}${color white}${goto 42}${execi 600 conkyForecastWU --location=KADW --datatype=HT -u --startday=1}/${color 707070}${execi 600 conkyForecastWU --location=KADW --datatype=LT -u --startday=1}${font Helvetica LT Std :size=16}${color white}${goto 150}${execi 600 conkyForecastWU --location=KADW --datatype=HT -u --startday=2}/${color 707070}${execi 600 conkyForecastWU --location=KADW --datatype=LT -u --startday=2}${font Helvetica LT Std :size=16}${color white}${goto 270}${execi 600 conkyForecastWU --location=KADW --datatype=HT -u --startday=3}/${color 707070}${execi 600 conkyForecastWU --location=KADW --datatype=LT -u --startday=3}${font Helvetica LT Std :size=16}${color white}${goto 390}${execi 600 conkyForecastWU --location=KADW --datatype=HT -u --startday=4}/${color 707070}${execi 600 conkyForecastWU --location=KADW --datatype=LT -u --startday=4}
    ${voffset 4}${font Helvetica LT Std :size=16}${color 707070}${goto 57}${execi 600 conkyForecastWU --location=KADW --datatype=DW --shortweekday --startday=1}${font Helvetica LT Std :size=16}${color 707070}${goto 165}${execi 600 conkyForecastWU --location=KADW --datatype=DW --shortweekday --startday=2}${font Helvetica LT Std :size=16}${color 707070}${goto 285}${execi 600 conkyForecastWU --location=KADW --datatype=DW --shortweekday --startday=3}${font Helvetica LT Std :size=16}${color 707070}${goto 405}${execi 600 conkyForecastWU --location=KADW --datatype=DW --shortweekday --startday=4}
    ${image $HOME/weather+clock/images/background1.png -p 12,30 -s 460x320}
    ${image $HOME/weather+clock/images/down.png -p 12,380 -s 460x100}
    ${execpi 600 conkyForecast --location=KADW --template=$HOME/weather+clock/vreme.template}
     ${voffset -500}

    Finally, vreme.template:

    Code:
    ${image [ --datatype=WI] -p 120,105 -s 200x200} 
    ${image [ --datatype=WI --startday=1] -p 30,195 -s 120x120}
    ${image [ --datatype=WI --startday=2] -p 95,195 -s 120x120}
    ${image [ --datatype=WI --startday=3] -p 165,195 -s 120x120}
    ${image [ --datatype=WI --startday=4] -p 230,195 -s 120x120}
    I don't think there are any other files.....

  3. #3763
    Join Date
    Jul 2008
    Beans
    24

    Re: Conky Weather Forecast Python Script

    Figured it out. had conkyForecast instead of conkyForecastWU in the call to the template.

  4. #3764
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by bigdawgte View Post
    Figured it out. had conkyForecast instead of conkyForecastWU in the call to the template.
    Always nice when you discover your own Oops!

  5. #3765
    Join Date
    Jul 2008
    Beans
    24

    Re: Conky Weather Forecast Python Script

    OK, now I got icons but they are fugly. Instead of the beautiful transparent ones that are used for the standard conkyWeather script, the icon source used in WU have blue boxes around them and are not good. I had found and downloaded an appropriate set from somewhere, but I have no idea how to use local icons (I found an interesting discussion about this here, but don't know how it resolved. Any ideas?
    Last edited by bigdawgte; March 23rd, 2013 at 05:00 PM. Reason: misspelling

  6. #3766
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by bigdawgte View Post
    OK, now I got icons but they are fugly. Instead of the beautiful transparent ones that are used for the standard conkyWeather script, the icon source used in WU have blue boxes around them and are not good. I had found and downloaded an appropriate set from somewhere, but I have no idea how to use local icons (I found an interesting discussion about this here, but don't know how it resolved. Any ideas?
    That is a really old thread, it's dead and Teo's scripts have changed ... in fact there was an update just recently. Check my sig for his current weather thread hosted on the CrunchBang Forums. You do not need to sign up to read them - and if you have a mind to read more as well, mrpeachy's v9000 LUA weather thread is there as well.

    I don't use conkyForecastWU I use conkyForecast directly. So I don't have that image problem. Mind you conkyForecastWU is here (comes with conkyForecast), I just don't use it.

    However... if conkyForecastWU stores the images on your computer as conkyForecast does you can copy the conkyForecast images over the WU images (keeping the WU names)

    ConkyForecast images can be found in:
    • /usr/share/conkyforecast/images/bearingicons
    • /usr/share/conkyforecast/images/moonicons
    • /usr/share/conkyforecast/images/weathericons


    I updated this last night for my wife, it is a combo of two weather scripts. I started with conkyForecast only than added mrpeachy's v9000 LUA script to get the moonrise-set times and the day numbers.

    Why the two:
    1. conkyForecast does day and night forecasts - v9000 doesn't
    2. when conkyForecast runs conkyForecast-SunsetSunriseCountdown works, (conkyForecast MUST be running) to get the information as it does NOT call the website at all but uses the inco that conkyForecast collects.
    3. v9000 LUA gets the day numbers and moon rise and moon set times, conkyForecast doesn't.


    Between Sunrise and Sunset times you see a cream coloured 03:26:36 - that's the time left until sundown. At sundown the time becomes a light slate grey and does a countdown to "sunrise" - grey - sun below the horizon - cream coloured - sun above the horizon.

  7. #3767
    Join Date
    Jan 2009
    Location
    Europe-Austria
    Beans
    1,047
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Conky Weather Forecast Python Script

    Hi,
    for few last days my conkyforecast is not working (i thinkf from 24.10). Does anyone know what it can be? Before that everything worked just normal... Now i can´t get any updates...
    MacBook Pro7,1, Ubuntu 11.04 64bit

  8. #3768
    Join Date
    Jul 2007
    Location
    North Central Ohio, USA
    Beans
    Hidden!

    Re: Conky Weather Forecast Python Script

    vickoxy,
    when was your last reboot? sometimes my conkyForecastwill stop working until I reboot. Just a thought.
    AMD Phenom II X4 B55 3.4GHz, 8GB RAM, Galaxy NVIDIA GT620 2GB, Biostar A880G+ mobo, dual-booting LinuxMint 14 Nadia MATE 64-bit , Windows 7 64-bit.

  9. #3769
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Conky Weather Forecast Python Script

    I would have to say that the "original" conkyForecast is down. I've noticed it for a few days as well.

    When Mark was still working on it weather·com change layouts a couple of time and how they did things.
    maybe they have done it again.

    There are a couple of options in my signature. V9000 lua weather on the bottom and one of Teo's 4 scripts on the right.

  10. #3770

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by Sector11 View Post
    I would have to say that the "original" conkyForecast is down.
    Something is "up" with it:
    Code:
    Sunrise:       7:53 AM                  Sunrise:        7:53 AM               Sunrise:        7:53 AM
    Sunset:        6:19 PM                  Sunset:         6:19 PM               Sunset:         6:19 PM
    Daylight:      10:26                    Daylight:       10:26                 Daylight:       10:26
    for all 9 days here.
    Windows assumes the user is an idiot.
    Linux demands proof.

Page 377 of 380 FirstFirst ... 277327367375376377378379 ... 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
  •