Page 1 of 16 12311 ... LastLast
Results 1 to 10 of 155

Thread: Weather CCF, GML and LUA, support if you need it.....!

  1. #1
    Join Date
    Nov 2003
    Location
    Hove, E Sussex, UK
    Posts
    4,005

    Default Weather CCF, GML and LUA, support if you need it.....!

    Hi

    Please use this thread if you need help with the weather scripts and CCF

    It is available from here

    http://www.blackwidowaudio.com/misc/weather.zip

    See this post for pictures

    http://www.promixis.com/phpBB2/viewt...864&highlight=

    You will requireGirder 3.3 or later and the LUA plugins for LUA Events, Win LUAEx

    To get your location Code, use the following url, replace corvallis, with your town name.

    http://xoap.weather.com/search/search?where=corvallis

    The code for your town will be displayed

    File had been updated to include

    Sunset and Sunrise for today/Current Conditions page. Available in NR via {sunr.current} and {sunr.current}

    Minor correction to CCF Today page, for wind speed.

    Fix for data that provides current conditions pressure as "n/a"

    Fix for read error caused by Girder link not being present.

    Fix for data that provides current conditions visability as "n/a" or nil

    Fix for possible error in temps

    Added UK Date Variable, in format dd/mm/yy, available via, {cc.uklsup} within NR

    Added improvement to code to stop Current conditions displaying "Calm, mph". If the wind speed from the data is "Calm", the display will now only dis play "Calm"

    Fixed vis problem. With lua incorectly rounding it.

    Removed need to call girder event for day

    Improved loading code.

    Fixed weather icon coding fault

    Changed function to work out what day it is to reflect a bug fix from Promixis. "local Day1 = tonumber(os.date("%w")+1);"

    Improved one of the on variable change bit's, to remove some unnecessary junk.

    Fixed stupid little date bug in forecast

  2. #2

    Default

    Thanks for doing this Dan. Great work. Two questions before I get started on this tonight:

    1. What Girder plugins are required?

    2. Will it run on 3.2.9 or do I need to upgrade?
    JLee
    OpusNR & JLee CCF/GML available in the downloads section.

  3. #3
    Join Date
    Nov 2003
    Location
    Hove, E Sussex, UK
    Posts
    4,005

    Default

    Ummmm,,

    Plugins Reqd!!!.

    You need

    LUA Events, Win LUAEx, I think! I don't know....

    It should work fine with 3.2.9

    I am using 3.3.4

    Not Very helpful, but hey!

    Dan

  4. #4
    Join Date
    Feb 2001
    Location
    Plano, TX, USA
    Posts
    3,055

    Default

    I *think* the call to luacom_CreateObject() precludes Girder before 3.3.
    Mark F

  5. #5
    Join Date
    Apr 2004
    Posts
    391

    Default

    where do I find the location code at weather.com?

    THanks
    == Cocophone ==

  6. #6
    Join Date
    Nov 2003
    Location
    Hove, E Sussex, UK
    Posts
    4,005

    Default

    Hi

    Thanks Mark Post ammended. To say 3.3 or later.

    Cocophone,

    Search on weather.com for your area. then take the URL and extract the code, from it as below, for myself I search Hove.

    1. Goto weather.com
    2. Search your town (Hove)
    3. When weather for your town is displayed, extract code from URL.

    http://www.weather.com/outlook/trave...om=search_city

    I need this code
    Code:
    UKXX1738
    from the above URL.

    4. place this in the two scripts in Girder.

    Done!

    Hope that helps :wink:

    Cheers

    Dan

  7. #7
    Join Date
    Apr 2004
    Posts
    391

    Default

    Figured it out after downloading the SDK

    In my web browser I went to

    http://xoap.weather.com/search/search?where=corvallis


    corvallis is my city.

    The web page then load with the location id.
    == Cocophone ==

  8. #8
    Join Date
    Nov 2003
    Location
    Hove, E Sussex, UK
    Posts
    4,005

    Default

    We posted at the same time!

    and ....

    you can do it that way too!

    Dan

  9. #9
    Join Date
    Nov 2003
    Location
    Hove, E Sussex, UK
    Posts
    4,005

    Default

    How do I update the download section of the site, does anyone know?

    Thanks

    Dan

  10. #10
    Join Date
    Apr 2004
    Posts
    391

    Default

    Next step is converting C to F degrees
    == Cocophone ==

Page 1 of 16 12311 ... LastLast

Posting Permissions

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