Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - cfernandes

Pages: [1] 2 3 ... 21
1
Developers / Re: Developing a Weather Plugin, videos
« on: March 04, 2015, 02:37:57 pm »
Hi ,

i finished the code  and resolve some issues off 100% use off cpu .

Feedback is appreciated.

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

2
Developers / Re: Developing a Weather Plugin, videos
« on: February 26, 2015, 11:57:27 am »
Jim,

my changes   is:  change NOAA and WWO (word Weather Online) to read  configuration parameter on  web admin.

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

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

3
Developers / Re: Developing a Weather Plugin, videos
« on: February 24, 2015, 07:28:56 pm »
Hi Jim

i made some change  on code, now  is working  with NOAA  and  Word Weather online.
I'll leave running for a few days at home to see if everything is ok!


Carlos

4
Developers / Re: Developing a Weather Plugin, videos
« on: February 17, 2015, 12:39:33 pm »
Hi jim,
you can share the code with me, i can help integrate other api.

Carlos Fernandes

5
Developers / Re: Developing a Weather Plugin, videos
« on: February 14, 2015, 12:46:06 pm »
Hi J.

I think we could have a script for each data source, and one page in webadmin to configure which we would like, and include your own key api when needed, and also the time interval.

 I believe that the information in the table pluto_main.installation covers all data necessary for the pursuit of climate data.

in my case I can not use the zip. not all sites are located just by zip

 I'm running in cron with every 8 hours

6
Developers / Re: Developing a Weather Plugin, videos
« on: February 09, 2015, 11:54:03 am »

the api does not have the radar option, however the site has the following animation that I think I can capture it


http://www.worldweatheronline.com/weather-map/6/USA.aspx

7
Developers / Re: Developing a Weather Plugin, videos
« on: February 05, 2015, 06:09:02 pm »
i need   to know  the city  and state  to find  weather info

i use this query
 "select LC.City,State,Country_code,CC.City as C2,Region FROM Installation LC left join Country C on (LC.FK_Country=C.PK_Country) left join City CC on (LC.FK_city=CC.PK_CITY) left join Region R on (LC.State=R.Code and LC.FK_Country=R.FK_Country"


8
Developers / Re: Developing a Weather Plugin, videos
« on: February 05, 2015, 03:26:48 pm »
for now I am seeking information regarding the location in the installation table.
and seeking weather information at:
www.worldweatheronline.com


9
Developers / Re: Developing a Weather Plugin, videos
« on: February 04, 2015, 10:45:10 am »
Hi J.

ig you hame  some  free time we can talk to make my script more efficient

Cfernandes

10
Developers / Re: Developing a Weather Plugin, videos
« on: December 20, 2014, 02:11:47 pm »
i make some progress  using  worldweatheronline.com

now i need to fix  some records from  install table 

11
Developers / Re: Developing a Weather Plugin, videos
« on: December 13, 2014, 10:06:10 pm »
i'll try

12
Developers / Re: Developing a Weather Plugin, videos
« on: December 13, 2014, 09:30:43 pm »
another thing  on this test script  is  that i use a local  url  from brazil  to get   textual forecast for my area.

the variable on script 

$url2="http://www.climatempo.com.br/rss/destaque.xml"
 
this  need to changed.

i need to search other sites  that offer this services.

if some one know some sites   i can test.

13
Developers / Re: Developing a Weather Plugin, videos
« on: December 13, 2014, 09:15:01 pm »
posde

this script is only one test  that  i build .

is simple to use php longname

a make the corrections .


 

14
Developers / Re: Developing a Weather Plugin, videos
« on: December 13, 2014, 08:18:14 pm »
when change  C to F   you used capital letters ?

sorry  for that  the language.

days off week  is in portugues .

you can  change   "Domingo"  to "Sunday"
                          'Seguna-Feira" to "Monday"  ....

15
Developers / Re: Developing a Weather Plugin, videos
« on: December 13, 2014, 07:00:03 pm »

i update the script  and  now  have  3 variables to configure 

to change from "C"  to "F"

uncomment the lines

#$temp_type="F";
#$temp_current="temp_F";
#$temp_max="tempMaxF";
#$temp_min="tempMinF";



Pages: [1] 2 3 ... 21