Page 4 of 6

Re: Weather.com Plug-in

Posted: Thu Nov 10, 2011 5:37 pm
by Osler
No worries. I will build the device on my end and then make an export as Markd suggested. That way there is very little device configuration for you to do.

Osler

Re: Weather.com Plug-in

Posted: Thu Nov 10, 2011 6:16 pm
by Steve Horn
Osler wrote: Next up, I need to make a dictionary to convert the weather summary that is delivered into a standardized weather number that corresponds to the weather .png images most of us use.
Mighten (?) be easier to just use the jpg's that NOAA selects for their forecast? It might be a bit tedious to load them one time from NOAA (the library link) into a HB dir but after that we're good to go. If that's the way we go I'd be happy to grab them all and zip them into one file. Thoughts?

Re: Weather.com Plug-in

Posted: Thu Nov 10, 2011 6:30 pm
by allanstevens
Hi All,

I'm the developer of the c# weather.com plugin. I have just built a new one using the api from worldweatheronline.com. It will display current weather conditions and the next 5 days.

You will need to get a license key, it's free from http://www.worldweatheronline.com/register.aspx

Source code and dll can be found on codeplex: http://worldweatheronlinehb.codeplex.com/

It's only just been created and tested on my machine for the last few hours. Seems OK, but an early beta. If you get any issues let me know. You might want to run it on a test pc first.

Cheers Al
screenshot.png
screenshot.png (50.58 KiB) Viewed 100599 times

Re: Weather.com Plug-in

Posted: Thu Nov 10, 2011 8:45 pm
by markd
Cool, thanks Allan.

Although I feel a little let down. ;-)

Re: Weather.com Plug-in

Posted: Fri Nov 11, 2011 4:03 am
by allanstevens
markd wrote:Although I feel a little let down. ;-)
Sorry :oops: the noaa.gov feed was not an option for me, being over in Essex, England.

worldweatheronline.com does not return all the same data as weather.com did, but it seemed a good option with the current weather and a forecase for the next 5 days. I'll try an put together a screen for my software remote tonight. If I do i'll share it. It will be based on this page:

http://www.worldweatheronline.com/weather.aspx?q=SS17

Re: Weather.com Plug-in

Posted: Fri Nov 11, 2011 6:04 am
by markd
It's ok, was just enjoying the community. :wink:

Hey, do you know where I can find the icons?

Re: Weather.com Plug-in

Posted: Fri Nov 11, 2011 6:41 am
by allanstevens
markd wrote:Hey, do you know where I can find the icons?
I think this is all of them ...

Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image

I was planning on downloading them all tonight for my software remote :D

Re: Weather.com Plug-in

Posted: Fri Nov 11, 2011 7:02 am
by markd
Ok, thanks! I think I will probably map to the old ones, as I think they work better in my graphics.

Re: Weather.com Plug-in

Posted: Fri Nov 11, 2011 6:13 pm
by markd
Missing a few, assuming that they did not skip any (also a lot of redundant ones ;-). This zip holds all but the missing.

0005,0014, 0015, 0022, 0023, 0030, 0031, 0038, 0039.

Where are they coming from?

Re: Weather.com Plug-in

Posted: Sat Nov 12, 2011 9:15 pm
by markd
Aaaaand here are my mappings. . . I had to make a bunch up as the alignment was not perfect. These are worldweatheronline NAMES put onto weather.com ICONS. And some mashed up weather.com icons. ;-)

Re: Weather.com Plug-in

Posted: Sun Nov 13, 2011 3:04 pm
by allanstevens
markd wrote:Missing a few, assuming that they did not skip any (also a lot of redundant ones ;-). This zip holds all but the missing.

0005,0014, 0015, 0022, 0023, 0030, 0031, 0038, 0039.

Where are they coming from?
Nice one! saved me a job :D

I got the names from some xml from the worldweatheronline.com forum here : http://www.worldweatheronline.com/forum ... osts&t=197

Once I had the names i added "http://www.worldweatheronline.com/image ... 01_png_64/" to the front of the url.

Re: Weather.com Plug-in

Posted: Wed Nov 16, 2011 8:36 am
by markd
Hi Allan-

Any chance of doing a correction for timezones? Even just an offset property that gets added in would do the trick. Ideally, grabbing the number from the OS so that daylight savings is accounted for. . .

Or maybe I should look at the source code. ;-)

Markd

Re: Weather.com Plug-in

Posted: Wed Nov 16, 2011 9:49 am
by allanstevens
markd wrote:Any chance of doing a correction for timezones? Even just an offset property that gets added in would do the trick. Ideally, grabbing the number from the OS so that daylight savings is accounted for. . .
I didn't realised the observation_time was not set to the local time. I have noticed that there is also a timezone api:

http://www.worldweatheronline.com/time-zone-api.aspx

I'll try and updated the code tonight or tomorrow so that it uses the offset value returned against the observation time. I think that will do it?

Thanks,
Allan

Re: Weather.com Plug-in

Posted: Wed Nov 16, 2011 11:58 am
by markd
Sounds like it would work- thanks!

Re: Weather.com Plug-in

Posted: Fri Nov 18, 2011 4:41 am
by allanstevens
markd wrote:Sounds like it would work- thanks!
Updated to version 1.0.2, let me know how you get on.