News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Developing a Weather Plugin, videos

Started by tschak909, July 18, 2013, 07:33:38 AM

Previous topic - Next topic

cfernandes

Guys ,

i propose do add to  more weather icons  to cover   night conditions 

night moderate cloudy
night partly cloudy


i using this set of icons !
https://www.dropbox.com/s/y92s4gyhs6o2kkq/Weather%20icons.zip?dl=0

phenigma

If the icons will provide better information about weather conditions then I am happy to look at adding them to the skin pkgs. :D  Watch http://wiki.linuxmce.org/index.php/LinuxMCE-1204_pre-alpha and you'll know when things are ready.  Thanks guys!

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

SBCC

I agree with Carlos. This will add a better visual to night time weather. Along that thought the more icons the better just not sure where the limit should be for that and why.

Thanks for all the hard work Carlos!

I'm having an issue with testing for WWO as they are having server issues on the development side and cannot issue API keys. Other than that it seems to be running very stable for the last week or so. I see no reason why WWO class should not run the same.

I need to make a "feels like" function as Open Weather Map does not offer that. I was thinking of leaving that in the Weather class so any other weather API class can make use of it if needed.

Also thinking about radar. NOAA uses multiple jpg images that overlay. Would it be best to have the Weather class except multiple images and create 1 from that?

Thanks

Jim

cfernandes

jim.

i merged your  last update  with my  and work very well.

my version  include noaa  radar  and wwo.

i will post on   dropbox the last version

Carlos.

phenigma

Ok, becuase I'm doing a billion things at the moment.  Can one of you create a ticket?  Attach the ican pack that needs updating and attach the source when you both agree that its' functional to your satisfaction.  Tag phenigma as the owner of the ticket and I'll be sure to act on it then.  SVN is really the only way I can keep track of anything these days.

Thanks for everything you guys have been (and still are) doing!  I know I'm not the only one who appreciates the work you're doing!

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

cfernandes

Jim


this is your  version  merged  with my  changes  ,  include  radar  for  noaa  and  World weather online .

the WWO  is using the  2 more icons "night moderate cloudy  night partly cloudy"



https://www.dropbox.com/s/3qmrdmo84cfv9gg/weather.tar?dl=0

SBCC

Hi Carlos

I made some changes to the NOAA class. Added the Radar to the wrap and changes the radar image sequence to oldest 1st and limited it to just 3.

Great job with this!!

I will add the night icons to NOAA as well once they are included.

Here is the link
https://www.dropbox.com/sh/o9frlgoybvv1twe/AADffJefSW5pd6KNV87LOoYsa?dl=0

Thanks for all your effort!

Jim

phenigma

Create me a ticket at http://svn.linuxmce.org/ with the required images attached in a tar/zip/whatever and tell me where they need to go.  Then I'll put the images into the skin packages so you guys can continue.

Great work guys!  I'm really excited!

J.

ps.  If you need svn credentials: http://forum.linuxmce.org/index.php?topic=13696.0
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

darkwizard864

open weather
tells me current temp is 279 f ..
if that right damn it is hot out there.
here is ticket
http://svn.linuxmce.org/trac/ticket/2363

cfernandes

the temperature  is represented  in kelvin's  is a default  for  open weather.

check  the parameter  for units

For temperature in Fahrenheit use imperial
For temperature in Celsius use metric
For temperature in Kelvin no need to use units parameter in API call

darkwizard864


RayBe

Hi guys,

Thanks for your awesome work on this.
I installed the weather stain through webadmin in the core section.
On my orbiters i see a Weather icon, when i press it the values all show a "??"
I did set my longitude and latitude, i live in the Netherlands.
I searched the webadmin to see if i must set anything else somewhere, but was unable to find something.
Could someone point me in the right direction?
Thanks in advance,

br,
Raymond

When you were born, you were crying and everybody else was laughing.
Live your life so when you die, you are laughing and everybody else is crying.

cfernandes


for NOAA  Configuration is   API:NOAA:language:units:lat:lon 
                            example API:NOAA:english:0:28.53833355:-81.37923649
for WWO  Configuration is   API:WWO:language:apikey:units:city 
                             example API:WWO:pt:0b6d39679dabe54e9749209aa2e54:C:belo_horizonte
for openweahter  Configuration is   API:OWM:language:apikey:units:city 
                                    example API:OWM:en:xxxxxxxxxxxx:imperial:belo_horizonte

RayBe

cfernandes, you are quick, thanks :)
I must apologize, i *thought* i had read every post in this topic, when i looked again i saw your configuration data format. Thanks for your answer, makes things very clear. :)
Keep up the great work.

br,
Raymond
When you were born, you were crying and everybody else was laughing.
Live your life so when you die, you are laughing and everybody else is crying.

Marie.O

cfernandes or RayBe,

would one of you please be so kind and add the configuration information to the Weather Plugin wiki page, so others have it easier in the future.

Thank you.

http://wiki.linuxmce.org/index.php/Weather_Plugin
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]