Author Topic: Working on updateweatherstation.php (upload weatherunderground)  (Read 2491 times)

0 Members and 1 Guest are viewing this topic.

Offline diego

  • Member
  • *
  • Posts: 32
hi friends!!
 i share with you the modification of the file that is on the server for the WS1000 to update data on our server. Previously I had configured the console to upload data to my server and to weatherunderground; But there were always errors. I almost chose to upload only data to my server (something more secure)
With the help of the work done by Brian and investigating a little, I have modified the file updateweatherstation.php so that every time the console sends data (every 5 minutes) automatically sends them to weatherunderground.
Since then I have not had any data update errors. So this allows me to consume less internet data, I use gprs.
I do not know if anyone had already done it but I think I should share it with you.
With time will look at the option of uploading the data this way to other servers type AWEKAS, etc ....
I hope you like it . :grin:
Quote
[attachment id=1 msg=322456]
« Last Edit: April 30, 2017, 06:57:10 PM by diego »

Offline Naxx

  • Member
  • *
  • Posts: 5
Re: Working on updateweatherstation.php (upload weatherunderground)
« Reply #1 on: May 12, 2017, 03:44:24 AM »
Hello,

Maybe You have a idea How to send data directly from WS1001 station to Awekas.at? I try modify updatewetherstation.php scirpt without success. I don't understand How json  encode data format (structure).
Please tell me How it works RapidFire Server (updateweatherstation.php) ? Te weather station console (WS1001) send data to my serwer (page) and later by updatewatherstation.php send them to wunderground.com ?.

Thanks
 

Offline diego

  • Member
  • *
  • Posts: 32
Re: Working on updateweatherstation.php (upload weatherunderground)
« Reply #2 on: May 12, 2017, 03:50:18 AM »
Hi friend,this option firts upload to your server at the same time uploas to weatherunderground.the php script includes the upload to wunderground a the same time that wrotes the json file.
I hope works on another weather server.....when i found time

Enviado desde mi SM-N9005 mediante Tapatalk


Offline Naxx

  • Member
  • *
  • Posts: 5
Re: Working on updateweatherstation.php (upload weatherunderground)
« Reply #3 on: May 12, 2017, 04:00:05 AM »
OK
Maybe do You know the WS1001 works with Meteobridge ? or this station need IP module?

Offline Naxx

  • Member
  • *
  • Posts: 5
Re: Working on updateweatherstation.php (upload weatherunderground)
« Reply #4 on: May 12, 2017, 04:01:42 AM »
I mean Ambient observer IP module .

Offline diego

  • Member
  • *
  • Posts: 32
Re: Working on updateweatherstation.php (upload weatherunderground)
« Reply #5 on: May 12, 2017, 04:03:33 AM »
I think...if the console includes usb port  and connect to pc run easyweather software,then i think meteobridge must runs with the console ws1001.


Enviado desde mi SM-N9005 mediante Tapatalk


Offline diego

  • Member
  • *
  • Posts: 32
Re: Working on updateweatherstation.php (upload weatherunderground)
« Reply #6 on: May 12, 2017, 04:04:21 AM »
And the observer ip runs with meteobridge only need insert the ip adress

Enviado desde mi SM-N9005 mediante Tapatalk


Offline Naxx

  • Member
  • *
  • Posts: 5
Re: Working on updateweatherstation.php (upload weatherunderground)
« Reply #7 on: May 12, 2017, 04:21:31 AM »
I don't have usb.  In that case I'm waiting to Your script with option to send data to awekas.at

Offline diego

  • Member
  • *
  • Posts: 32
Re: Working on updateweatherstation.php (upload weatherunderground)
« Reply #8 on: May 12, 2017, 05:27:49 AM »
Ok ..i work on it as soon i can

Enviado desde mi SM-N9005 mediante Tapatalk


 

anything