OpenWeatherMap upload problem

Hi. I registered my pws on OpenWeatherMap using Postman software, and it is ok. Problem is what I cannnot transfer my data over weather dipslay. I think that is problem in station ID. Where i need to enter station ID in weather display software applet? Thanks.


OK, I can add where you can set the stationID that you have already

i have added that now
to the latest .zip update

there is a file
openweathersendresult.txt
which should have the result code from the data send

Sorry. It does not working. I can not see file openweathersendresult.txt

when you say not working, how do you mean exactly?

http://api.openweathermap.org/data/3.0/measurements?station_id=5caea16f6c634e000131b9d5&type=m&limit=100&from=1426028400&to=1482845301&APPID=f63ba4c4af27393b7921cafbae643910

I can not get real data from my station in this url.

https://api.openweathermap.org/data/3.0/stations?appid=f63ba4c4af27393b7921cafbae643910

what shows in the openweathersendresult.txt file
where WD is installed
(make sure you are using the latest .zip update of WD which has a new cronopenweathermap.exe version which produces that file)
also there is a openweathermapaggregatedata.txt file

I can not see “openweathersendresult.txt” nowhere… :frowning: I have last zip update.

to make sure you have the latest update
download
http://www.weather-display.com/downloadfiles/cronopenweathermap.zip
and then check the modified date/time on that .exe file (and let me know)

I have the same file in my wdisplay folder, modified 11. april ‎2019., ‏‎22:01:07

I just found and fixed one bug
download again
http://www.weather-display.com/downloadfiles/cronopenweathermap.zip

Not working again, but now I see this two files. See below


openweathersendresult.txt (3 Bytes)

openweathermapaggregatedata.txt (2 Bytes)

the result code is 415
instead of 202
and that is the problem

Why did I get a mistake? I entered the correct data. Is the windows xp problem possibly?

no
I do not know why
the first data send after a station is auto registered (i.e you have no stationID entered or set)
returns 202
but the second data send, using the stationid that was generated the first time and saved, then returns 415
I do not know why
if the stationid is allowed to be kept on being auto created then the data send using that stationid works (202 code) but the problem is then you just end up with multiple station ID’s

I dont now. I’m sorry what I took your time. OpenWeatherMap is confused and complicated service.

there is already another thread on the forum all about this

Where is it?

you can use the search function on the forum
its in the chatter section
http://discourse.weather-watch.com/p/526385

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