Open Weather Map

Perfect, I will try all, maybe this afternoon local hour… I report you the results.

Ruben

It is same. I created weather station and get ID with Postman. Result is 415. OWM not receiving data from PWS… :frowning:

yeah, its strange
but if you do the initial register the station command to get a new stationid each time to use to send the data, then its succesfull (204 returned)
what are we missing here?

I created a new weather station via WD, I got a new station ID, but the result is still 415. Has anybody contacted their support?

Maybe it’s time to loading cronopenweathermap.exe files very short? I do not know…

http://lancet.mit.edu/mwall/projects/weather/releases/weewx-owm-0.8.tgz

This is an extension to weewx that uploads weather data to OpenWeatherMap.
I think this program is open source, maybe it can help as an example. I can not try, because it does not support Weatherhawk stations.

do you mean you would use another software just to be able to send data to openweathermap?

No…WeatherDisplay is the best! :wink: I just wanted to try to see if it was working

Well, I have done some tests…
First deleted in reg the station_id to make WD create a new station with my apikey.
This works perfect, it has created and I can see it with a GET petition of my stations.

After that, I have test a send [POST] using https://apitester.com/ website, and it seems to work, the site returns me a 204.
Then, is probably than the post method that WD uses have any bug.
I only have tested a JSON with the same data as in sample, changing station_id and timestamp (get from this site: Unix Time Stamp - Epoch Converter).

I attach a screen of the POST that I have done.

Ruben


One thing I am not sending is the cloud conditions
So are you able to send different data and date time
With the original station ID and get a 204 back?

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

I will test this!
Thanks for your work!

Ruben

:frowning: 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 :wink:

Yes, just use the latest normal update

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

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

That would be nice, I don’t do FB, thanks, :slight_smile:

I know this thread is a bit old, but just starting to have a need for openweathermap. I think I have the weather station registered at OWM, but am having issues with the update from WD.

Am I supposed to use the GUID ID, or the “remote_id” in WD? I’m running a packet capture, and I get an error with the station name (words), while I get a 204 if I use the GUID ID. At no point, though, does it seem to have any “data” associated with the station or get pulled. The link always returns:
[]

Thanks

I think there might be some other threads …last I knew it is working?

Hi, I have just checked now and yes, this is working. I don’t remember very well the setup procedure, because there was a lot of cross messages with Brian :lol:, but actually it is yet working.

[{"type":"h","date":1604192400,"station_id":"5cb0f33b6c634e000131ba1b","temp":{"max":13.2,"min":12.5,"average":12.9,"weight":2},"humidity":{"average":71.5,"weight":2},"wind":{"deg":0,"speed":0},"pressure":{"min":1020.1,"max":1020.4,"average":1020.25,"weight":2},"precipitation":{"rain":0}},{"type":"h","date":1604196000,"station_id":"5cb0f33b6c634e000131ba1b","temp":{"max":13.1,"min":12.5,"average":12.5,"weight":2},"humidity":{"average":68,"weight":2},"wind":{"deg":338,"speed":0.12},"pressure":{"min":1020.1,"max":1020.1,"average":1020.1,"weight":2},"precipitation":{"rain":0}},{"type":"h","date":1604199600,"station_id":"5cb0f33b6c634e000131ba1b","temp":{"max":13.1,"min":13,"average":13,"weight":2},"humidity":{"average":68,"weight":2},"wind":{"deg":0,"speed":0},"pressure":{"min":1020.1,"max":1020.1,"average":1020.1,"weight":2},"precipitation":{"rain":0}},

Ruben