cloudy cloudy

Author Topic: Open Weather Map  (Read 2224 times)

0 Members and 1 Guest are viewing this topic.

Offline Weather Display

  • Posts: 86,484
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 73.0.3683.86
    • Weather Display
Re: Open Weather Map
« Reply #60 on: April 13, 2019, 04:05:42 AM »
I have fixed it
use this update
http://www.weather-display.com/downloadfiles/cronopenweathermap.zip
vers  1.4

I was only setting the content type as application/json when doing the registering the station ID
 #-o


edit and success, after an hour of sending data I get back in the openweathermapaggregatedata.txt file
[{"type":"h","date":1555174800,"station_id":"blah","temp":{"max":16.7,"min":16.3,"average":16.65,"weight":2},"humidity":{"average":71.5,"weight":2},"wind":{},"pressure":{"min":1010.6,"max":1015.8,"average":1013.15,"weight":2},"precipitation":{"rain":0.2}}]

also the openeathermapsendresult.txt file now has the actual data sent too
« Last Edit: April 13, 2019, 05:27:28 AM by Weather Display »

Offline Ruben Perez

  • Posts: 58
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
Re: Open Weather Map
« Reply #61 on: April 15, 2019, 07:25:34 AM »
I will test this!
Thanks for your work!

Ruben

Offline Ruben Perez

  • Posts: 58
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
Re: Open Weather Map
« Reply #62 on: April 15, 2019, 07:30:17 AM »
 :( sorry..... link seems to be broken... doesn't download file, only forward to parent germany page...

PD: No problem, I will update with complet update zip file ;-)
« Last Edit: April 15, 2019, 07:35:40 AM by Ruben Perez »

Offline Weather Display

  • Posts: 86,484
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Android 7.1.1
  • Chrome 73.0.3683.90
    • Weather Display
Re: Open Weather Map
« Reply #63 on: April 15, 2019, 07:58:39 AM »
Yes, just use the latest normal update

Offline Ruben Perez

  • Posts: 58
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
Re: Open Weather Map
« Reply #64 on: April 15, 2019, 02:35:49 PM »
Working!!!
I have updated this morning and now I have checked data, and I am able to read it!

.......
{"type":"m","date":1555335960,"station_id":"5cb0f33b6c634e000131ba1b","temp":{"max":19.7,"min":19.7,"average":19.7,"weight":2},"humidity":{"average":56,"weight":2},"wind":{},"pressure":{"min":1010.9,"max":1010.9,"average":1010.9,"weight":2},"precipitation":{}},{"type":"m","date":1555336860,"station_id":"5cb0f33b6c634e000131ba1b","temp":{"max":20,"min":20,"average":20,"weight":1},"humidity":{"average":54,"weight":1},"wind":{},"pressure":{"min":1010.9,"max":1010.9,"average":1010.9,"weight":1},"precipitation":{}},{"type":"m","date":1555337760,"station_id":"5cb0f33b6c634e000131ba1b","temp":{"max":20.2,"min":20.2,"average":20.2,"weight":2},"humidity":{"average":50,"weight":2},"wind":{},"pressure":{"min":1010.9,"max":1010.9,"average":1010.9,"weight":2},"precipitation":{}},{"type":"m","date":1555338660,"station_id":"5cb0f33b6c634e000131ba1b","temp":{"max":20.6,"min":20.6,"average":20.6,"weight":2},"humidity":{"average":53,"weight":2},"wind":{},"pressure":{"min":1010.8,"max":1010.8,"average":1010.8,"weight":2},"precipitation":{}}]

Congratulations! and thanks.
Ruben

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 27,948
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 73.0.3683.103
Re: Open Weather Map
« Reply #65 on: April 15, 2019, 02:59:10 PM »
What is the meaning of the "weight" field?

Offline Ruben Perez

  • Posts: 58
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
Re: Open Weather Map
« Reply #66 on: April 15, 2019, 03:13:26 PM »
What is the meaning of the "weight" field?

I don't know... it is not documented... maybe I can ask on OWM Facebook page

Ruben

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 27,948
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 73.0.3683.103
Re: Open Weather Map
« Reply #67 on: April 15, 2019, 03:44:45 PM »
That would be nice, I don't do FB, thanks,  :)

 

cumulus