Author Topic: Developing a Weather Plugin, videos  (Read 45971 times)

cfernandes

  • Guru
  • ****
  • Posts: 357
    • View Profile
    • my company web site
Re: Developing a Weather Plugin, videos
« Reply #105 on: March 21, 2015, 01:00:44 pm »
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

  • LinuxMCE God
  • ****
  • Posts: 1749
    • View Profile
Re: Developing a Weather Plugin, videos
« Reply #106 on: March 22, 2015, 02:04:43 am »
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.

SBCC

  • Guru
  • ****
  • Posts: 164
    • View Profile
Re: Developing a Weather Plugin, videos
« Reply #107 on: March 22, 2015, 02:23:10 pm »
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

  • Guru
  • ****
  • Posts: 357
    • View Profile
    • my company web site
Re: Developing a Weather Plugin, videos
« Reply #108 on: March 22, 2015, 03:35:26 pm »
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

  • LinuxMCE God
  • ****
  • Posts: 1749
    • View Profile
Re: Developing a Weather Plugin, videos
« Reply #109 on: March 23, 2015, 05:55:25 am »
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.

cfernandes

  • Guru
  • ****
  • Posts: 357
    • View Profile
    • my company web site
Re: Developing a Weather Plugin, videos
« Reply #110 on: March 23, 2015, 11:43:07 am »
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

  • Guru
  • ****
  • Posts: 164
    • View Profile
Re: Developing a Weather Plugin, videos
« Reply #111 on: March 29, 2015, 06:22:01 pm »
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

  • LinuxMCE God
  • ****
  • Posts: 1749
    • View Profile
Re: Developing a Weather Plugin, videos
« Reply #112 on: March 31, 2015, 09:29:08 pm »
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

darkwizard864

  • Veteran
  • ***
  • Posts: 124
    • View Profile
Re: Developing a Weather Plugin, videos
« Reply #113 on: June 07, 2015, 05:49:43 am »
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

  • Guru
  • ****
  • Posts: 357
    • View Profile
    • my company web site
Re: Developing a Weather Plugin, videos
« Reply #114 on: June 07, 2015, 01:55:00 pm »
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

  • Veteran
  • ***
  • Posts: 124
    • View Profile
Re: Developing a Weather Plugin, videos
« Reply #115 on: June 07, 2015, 08:06:17 pm »
how do i go about that?

RayBe

  • Guru
  • ****
  • Posts: 315
    • View Profile
Re: Developing a Weather Plugin, videos
« Reply #116 on: June 07, 2015, 10:00:33 pm »
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

  • Guru
  • ****
  • Posts: 357
    • View Profile
    • my company web site
Re: Developing a Weather Plugin, videos
« Reply #117 on: June 07, 2015, 10:23:40 pm »

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

  • Guru
  • ****
  • Posts: 315
    • View Profile
Re: Developing a Weather Plugin, videos
« Reply #118 on: June 07, 2015, 10:33:20 pm »
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.

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3669
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Developing a Weather Plugin, videos
« Reply #119 on: June 08, 2015, 12:41:56 am »
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