Weather Plugin (WIP) Pt.2

All your questions about LcdStudio 2.0 Plugins

Moderator: LcdStudio2 Experts

Weather Plugin (WIP) Pt.2

Postby coorz » Mon Mar 20, 2006 4:43 pm

Continued from Pt.1 to be found here.
Last edited by coorz on Sun Oct 01, 2006 8:29 pm, edited 1 time in total.
coorz
Site Admin
 
Posts: 1829
Joined: Sun Jun 06, 2004 7:23 pm
Location: Amsterdam, The Netherlands

weather

Postby spock » Mon Mar 20, 2006 4:52 pm

Now, let's continue here, just keep in mind this is the Weather plug-in thread...
Keep posting!
Live long and prosper...
User avatar
spock
Site Admin
 
Posts: 4541
Joined: Mon Feb 17, 2003 6:01 pm
Location: Athens, Greece

Postby JOJU » Tue Mar 21, 2006 8:24 am

Ok i make the Work from the Mods here ;)

here it is a Destilation of the Input from the old Post:

Here you can get => Weather Plug In from Abnormal1 old Version

Mirror here => Weather Plugin from Abnormal1 Hostet by joshua_70448 old Version

Mirror here => Weather Plugin from Abnormal1 Hostet by blap_psx old Version

latest Version 0.93 => Weather Plugin from Abnormal1 - Hostet by blap_psx


Changelog:
Version 0.93
Added: Toolbar for location settings
Changed: Compiled using .NET Framework v2.0
Fixed: Remove location message when location not selected
Fixed: Stopped Location Information display the first location at load of options
Fixed: Safety message etc when refresh time set to 00:00:00

Version 0.92.2
Added: About section
Changed: Improved error log for multi Locations
Fixed: Multi Locations error

Version 0.92
Added: Simple Readme file
Added: Location Info
Added: Import and Export Settings
Added: Override Proxy Settings
Added: Reset All Settings
Changed: Total Re-design of GUI
Changed: Refresh Time now uses time format instead of milliseconds






Here are two nice Weather Gifs for the weather Items:

Image<= 49 Singelpictures
Image<= 48 Singelpictures


Here are several Pictures for the Moon / Winddirections / and Speed

Image<=361Singelpictures
Image<=16Singelpictures
Image<=29Singelpictures
Image<=13Singelpictures
Image<=134Singelpictures
Image<=17Singelpictures
Image<=1Singelpictures
Image<=19Singelpictures
Image<=19Singelpictures
Image<=19Singelpictures


And here are some Customer Variables for the Speed and the Direction:

Code: Select all
if ((String)GetData("weather.cc.WindDirection") == "S") return "1";
else if ((String)GetData("weather.cc.WindDirection") == "SSW") return "2";
else if ((String)GetData("weather.cc.WindDirection") == "SW") return "3";
else if ((String)GetData("weather.cc.WindDirection") == "WSW") return "4";
else if ((String)GetData("weather.cc.WindDirection") == "W") return "5";
else if ((String)GetData("weather.cc.WindDirection") == "WNW") return "6";
else if ((String)GetData("weather.cc.WindDirection") == "NW") return "7";
else if ((String)GetData("weather.cc.WindDirection") == "NNW") return "8";
else if ((String)GetData("weather.cc.WindDirection") == "N") return "9";
else if ((String)GetData("weather.cc.WindDirection") == "NNE") return "10";
else if ((String)GetData("weather.cc.WindDirection") == "NE") return "11";
else if ((String)GetData("weather.cc.WindDirection") == "ENE") return "12";
else if ((String)GetData("weather.cc.WindDirection") == "E") return "13";
else if ((String)GetData("weather.cc.WindDirection") == "ESE") return "14";
else if ((String)GetData("weather.cc.WindDirection") == "SE") return "15";
else if ((String)GetData("weather.cc.WindDirection") == "SSE") return "16";
else if ((String)GetData("weather.cc.WindDirection") == "VAR") return "17";
else if ((String)GetData("weather.cc.WindDirection") == "CALM") return "18";
else return 0;


Code: Select all
if ((String)GetData("weather.cc.speed") == "1") return "1";
else if ((String)GetData("weather.cc.speed") == "2") return "1";
else if ((String)GetData("weather.cc.speed") == "3") return "1";
else if ((String)GetData("weather.cc.speed") == "4") return "1";
else if ((String)GetData("weather.cc.speed") == "5") return "1";
else if ((String)GetData("weather.cc.speed") == "6") return "2";
else if ((String)GetData("weather.cc.speed") == "7") return "2";
else if ((String)GetData("weather.cc.speed") == "8") return "2";
else if ((String)GetData("weather.cc.speed") == "9") return "2";
else if ((String)GetData("weather.cc.speed") == "10") return "2";
else if ((String)GetData("weather.cc.speed") == "11") return "2";
else if ((String)GetData("weather.cc.speed") == "12") return "3";
else if ((String)GetData("weather.cc.speed") == "13") return "3";
else if ((String)GetData("weather.cc.speed") == "14") return "3";
else if ((String)GetData("weather.cc.speed") == "15") return "3";
else if ((String)GetData("weather.cc.speed") == "16") return "3";
else if ((String)GetData("weather.cc.speed") == "17") return "3";
else if ((String)GetData("weather.cc.speed") == "18") return "3";
else if ((String)GetData("weather.cc.speed") == "19") return "3";
else if ((String)GetData("weather.cc.speed") == "20") return "4";
else if ((String)GetData("weather.cc.speed") == "21") return "4";
else if ((String)GetData("weather.cc.speed") == "22") return "4";
else if ((String)GetData("weather.cc.speed") == "23") return "4";
else if ((String)GetData("weather.cc.speed") == "24") return "4";
else if ((String)GetData("weather.cc.speed") == "25") return "4";
else if ((String)GetData("weather.cc.speed") == "26") return "4";
else if ((String)GetData("weather.cc.speed") == "27") return "4";
else if ((String)GetData("weather.cc.speed") == "28") return "4";
else if ((String)GetData("weather.cc.speed") == "29") return "5";
else if ((String)GetData("weather.cc.speed") == "30") return "5";
else if ((String)GetData("weather.cc.speed") == "31") return "5";
else if ((String)GetData("weather.cc.speed") == "32") return "5";
else if ((String)GetData("weather.cc.speed") == "33") return "5";
else if ((String)GetData("weather.cc.speed") == "34") return "5";
else if ((String)GetData("weather.cc.speed") == "35") return "5";
else if ((String)GetData("weather.cc.speed") == "36") return "5";
else if ((String)GetData("weather.cc.speed") == "37") return "5";
else if ((String)GetData("weather.cc.speed") == "38") return "5";
else if ((String)GetData("weather.cc.speed") == "39") return "6";
else if ((String)GetData("weather.cc.speed") == "40") return "6";
else if ((String)GetData("weather.cc.speed") == "41") return "6";
else if ((String)GetData("weather.cc.speed") == "42") return "6";
else if ((String)GetData("weather.cc.speed") == "43") return "6";
else if ((String)GetData("weather.cc.speed") == "44") return "6";
else if ((String)GetData("weather.cc.speed") == "45") return "6";
else if ((String)GetData("weather.cc.speed") == "46") return "6";
else if ((String)GetData("weather.cc.speed") == "47") return "6";
else if ((String)GetData("weather.cc.speed") == "48") return "6";
else if ((String)GetData("weather.cc.speed") == "49") return "6";
else if ((String)GetData("weather.cc.speed") == "50") return "7";
else if ((String)GetData("weather.cc.speed") == "51") return "7";
else if ((String)GetData("weather.cc.speed") == "52") return "7";
else if ((String)GetData("weather.cc.speed") == "53") return "7";
else if ((String)GetData("weather.cc.speed") == "54") return "7";
else if ((String)GetData("weather.cc.speed") == "55") return "7";
else if ((String)GetData("weather.cc.speed") == "56") return "7";
else if ((String)GetData("weather.cc.speed") == "57") return "7";
else if ((String)GetData("weather.cc.speed") == "58") return "7";
else if ((String)GetData("weather.cc.speed") == "59") return "7";
else if ((String)GetData("weather.cc.speed") == "60") return "7";
else if ((String)GetData("weather.cc.speed") == "61") return "7";
else if ((String)GetData("weather.cc.speed") == "62") return "8";
else if ((String)GetData("weather.cc.speed") == "63") return "8";
else if ((String)GetData("weather.cc.speed") == "64") return "8";
else if ((String)GetData("weather.cc.speed") == "65") return "8";
else if ((String)GetData("weather.cc.speed") == "66") return "8";
else if ((String)GetData("weather.cc.speed") == "67") return "8";
else if ((String)GetData("weather.cc.speed") == "68") return "8";
else if ((String)GetData("weather.cc.speed") == "69") return "8";
else if ((String)GetData("weather.cc.speed") == "70") return "8";
else if ((String)GetData("weather.cc.speed") == "71") return "8";
else if ((String)GetData("weather.cc.speed") == "72") return "8";
else if ((String)GetData("weather.cc.speed") == "73") return "8";
else if ((String)GetData("weather.cc.speed") == "74") return "8";
else if ((String)GetData("weather.cc.speed") == "75") return "9";
else if ((String)GetData("weather.cc.speed") == "76") return "9";
else if ((String)GetData("weather.cc.speed") == "77") return "9";
else if ((String)GetData("weather.cc.speed") == "78") return "9";
else if ((String)GetData("weather.cc.speed") == "79") return "9";
else if ((String)GetData("weather.cc.speed") == "80") return "9";
else if ((String)GetData("weather.cc.speed") == "81") return "9";
else if ((String)GetData("weather.cc.speed") == "82") return "9";
else if ((String)GetData("weather.cc.speed") == "83") return "9";
else if ((String)GetData("weather.cc.speed") == "84") return "9";
else if ((String)GetData("weather.cc.speed") == "85") return "9";
else if ((String)GetData("weather.cc.speed") == "86") return "9";
else if ((String)GetData("weather.cc.speed") == "87") return "9";
else if ((String)GetData("weather.cc.speed") == "88") return "9";
else if ((String)GetData("weather.cc.speed") == "89") return "10";
else if ((String)GetData("weather.cc.speed") == "90") return "10";
else if ((String)GetData("weather.cc.speed") == "91") return "10";
else if ((String)GetData("weather.cc.speed") == "92") return "10";
else if ((String)GetData("weather.cc.speed") == "93") return "10";
else if ((String)GetData("weather.cc.speed") == "94") return "10";
else if ((String)GetData("weather.cc.speed") == "95") return "10";
else if ((String)GetData("weather.cc.speed") == "96") return "10";
else if ((String)GetData("weather.cc.speed") == "97") return "10";
else if ((String)GetData("weather.cc.speed") == "98") return "10";
else if ((String)GetData("weather.cc.speed") == "99") return "10";
else if ((String)GetData("weather.cc.speed") == "100") return "10";
else if ((String)GetData("weather.cc.speed") == "101") return "10";
else if ((String)GetData("weather.cc.speed") == "102") return "10";
else if ((String)GetData("weather.cc.speed") == "103") return "11";
else if ((String)GetData("weather.cc.speed") == "104") return "11";
else if ((String)GetData("weather.cc.speed") == "105") return "11";
else if ((String)GetData("weather.cc.speed") == "106") return "11";
else if ((String)GetData("weather.cc.speed") == "107") return "11";
else if ((String)GetData("weather.cc.speed") == "108") return "11";
else if ((String)GetData("weather.cc.speed") == "109") return "11";
else if ((String)GetData("weather.cc.speed") == "110") return "11";
else if ((String)GetData("weather.cc.speed") == "111") return "11";
else if ((String)GetData("weather.cc.speed") == "112") return "11";
else if ((String)GetData("weather.cc.speed") == "113") return "11";
else if ((String)GetData("weather.cc.speed") == "114") return "11";
else if ((String)GetData("weather.cc.speed") == "115") return "11";
else if ((String)GetData("weather.cc.speed") == "116") return "11";
else if ((String)GetData("weather.cc.speed") == "117") return "11";
else if ((String)GetData("weather.cc.speed") == "118") return "12";
else if ((String)GetData("weather.cc.speed") == "119") return "12";
else if ((String)GetData("weather.cc.speed") == "120") return "12";
else if ((String)GetData("weather.cc.speed") == "121") return "12";
else if ((String)GetData("weather.cc.speed") == "122") return "12";
else if ((String)GetData("weather.cc.speed") == "123") return "12";
else if ((String)GetData("weather.cc.speed") == "124") return "12";
else if ((String)GetData("weather.cc.speed") == "125") return "12";
else return 0;
Last edited by JOJU on Mon May 21, 2007 7:18 am, edited 27 times in total.
JOJU
 
Posts: 84
Joined: Wed Feb 22, 2006 9:08 am
Location: Germany

Postby coorz » Tue Mar 21, 2006 8:49 am

Nice summary JOJU, good job.
Someone should host Abnormal1's plugin, FileFactory is REALLY annoying.
Last edited by coorz on Tue Mar 21, 2006 9:00 am, edited 1 time in total.
coorz
Site Admin
 
Posts: 1829
Joined: Sun Jun 06, 2004 7:23 pm
Location: Amsterdam, The Netherlands

Postby joshua_70448 » Tue Mar 21, 2006 8:59 am

coorz wrote:Nice summary JOJU, good job.
Someone should host Abnormal1's plugin, FileFactiry is REALLY annoying.


Consider it done.
Check out the LCDStudio plugins I've written at http://jfsoftware.com/category/11
joshua_70448
 
Posts: 62
Joined: Mon Mar 20, 2006 7:32 am
Location: College Station, TX

Host

Postby spock » Tue Mar 21, 2006 9:37 am

Thanks a lot, Josh... Very nice to have such a crew like you guys!
Keep up the good work!

Note: have in mind that the two small GIFs for wind direction actually show the opposite direction; where the wind comes from, not the direction it's flowing...
Live long and prosper...
User avatar
spock
Site Admin
 
Posts: 4541
Joined: Mon Feb 17, 2003 6:01 pm
Location: Athens, Greece

Postby blap_psx » Tue Mar 21, 2006 10:06 am

There's also my mirror :

http://blapounet.info/weather/

Regards
blap_psx
 
Posts: 85
Joined: Mon Feb 20, 2006 12:30 pm

Host #2

Postby spock » Tue Mar 21, 2006 10:22 am

The community's regards and appraisals to you too!
Live long and prosper...
User avatar
spock
Site Admin
 
Posts: 4541
Joined: Mon Feb 17, 2003 6:01 pm
Location: Athens, Greece

Postby coorz » Tue Mar 21, 2006 10:23 am

You too blap_psx, thanks for your support on the plugin.
coorz
Site Admin
 
Posts: 1829
Joined: Sun Jun 06, 2004 7:23 pm
Location: Amsterdam, The Netherlands

Postby JOJU » Tue Mar 21, 2006 10:39 am

Ok i have made 2 new gifs for using the Winddirection direktly without the custom variable :

You can take the
Code: Select all
weather.day01.Day.WindDirectiondegress


direkt to this pictures : (361 singelpictures)


Shows in the Wind
Image



Go with the wind

Image


I will to edit the first post for the mirror
Last edited by JOJU on Tue Jan 09, 2007 4:43 pm, edited 3 times in total.
JOJU
 
Posts: 84
Joined: Wed Feb 22, 2006 9:08 am
Location: Germany

Postby lemago » Fri Mar 24, 2006 3:27 am

the weather plugin(08.zip) seem don't work on my computer !
Nothing can be view in lcldstudio :(
all values are blank.

The weather 06 plugin works fine, but i delete it!
Someone can post a link to download the weather06.zip ?

thanks.
lemago
 
Posts: 3
Joined: Thu Mar 23, 2006 1:51 am

Postby Abnormal1 » Fri Mar 24, 2006 4:59 pm

@lemago

Do all the values say Nothing. Also is there anything in the LastError value.
Something else, Does the search for location work.
Abnormal1
 
Posts: 180
Joined: Mon Feb 20, 2006 1:23 pm
Location: Kent, England

Postby lemago » Fri Mar 24, 2006 10:11 pm

Abnormal1 wrote:@lemago

Do all the values say Nothing. Also is there anything in the LastError value.
Something else, Does the search for location work.


All the value say nothing and lasterror too :(
The search location work, the result : FRXX0099

Any solution master ;)
lemago
 
Posts: 3
Joined: Thu Mar 23, 2006 1:51 am

Postby Abnormal1 » Sun Mar 26, 2006 7:10 pm

A new version is now available
http://www.yourfilelink.com/get.php?fid=59476

I have added Multiple Locations. The way i have added this feature to the GUI is only temporary. If you know the ID's then type them in with a comma in between them. Otherwise use the Add ID button.

I have added a basic Logging feature. When you enable it in the GUI you will have to restart LCDStudio to generate the log. The log appears as WeatherLog.txt in the LCDStudio folder. Once it has finished the first retrieval of weather data the log is disabled. I will probably make the log more sophisticated in the future.

@lemago
Could you use the log feature if this new version does not work and PM me the log.

Change Log
Added: Multiple Locations
Added: Simple Debug log
Added: Added IE User Agent to HTML retrival code
Fixed: Error with Humidity value
Abnormal1
 
Posts: 180
Joined: Mon Feb 20, 2006 1:23 pm
Location: Kent, England

Postby Ray » Sun Mar 26, 2006 7:58 pm

Okay I have to admid, I did not try your plugin yet so I might be talking out of my ass (i'm know for doing that)

Could you include the images and scripts? (if everybody that made them is ok with that ofcourse) preferably just include the scripts in the dll so people don't have to mess with them.

Just an idea...

You could also make a bunch of Custom widgets you drag them om, set the postal code and it automaticly displays the right image.
Ray
Site Admin
 
Posts: 3359
Joined: Sat Apr 23, 2005 11:48 am

Next

Return to Plugins

Who is online

Users browsing this forum: No registered users and 0 guests