OpenWeatherMap

Anyone think the feature to be able to submit data to OpenWeatherMap would be a good idea?

http://openweathermap.org/

I think you should be able to do that with the latest version WD that supports http data upload:

Hi Niko

Thanks for the reply. Where would I find that in Weather Display?

Worth a try anyway.

I have found some info
it does need to be a HTTP POST though
the custom HTTP is a GET
but I could add option to make it a POST instead
and then you could try it out, using WD custom tags to replace the php variables, to create a line of data like

set login=User
set password=Password
set apikey=123456789abcdefghij
set station_name=MyWeatherStaion
set long=1.234
set lat=56.789
set alt=123

http://openweathermap.org/data/wind_dir=<#bearing>&wind_speed=<#wspeed>&wind_gust=<#wgust>&temp=<#temp>&humidity=<#hum>&pressure=<#press>&rain_1h=<#rhour>&rain_today=<#rmidnight>&lat=%lat%&long=%long%&alt=%alt%&name=%station_name%" --user “%login%:%password%” -H "x-api-key:%apikey%

there might need to be a ? or php? or similar?

if someone could get this to work, I could add the functionality
openweathermap does get your data from your CWOP data though anyway from what I understand

Hi Brian,
Any developments on that?
I can send an email to openweathemap support, asking them. Have you tried that?
Thanks.
MQ

I was wanting someone to test…see my post above…

I’m posting my PWS data to CWOP, but it is not showing on openweathermap!
How should I test it?

see my post above about testing via the custom http post

Sorry Brian! Where in WD can I setup that? Can’t find a way on custom web page!
I’m using WD for Mac 10.37S Build 24.
Thanks

it was not very clear that you are using the mac version
(which there is a new version of too by the way)

I created an account with them and tested sending data using a curl command (as per their instructions) in a cron job using my userid and password, but always got an unauthorised 401 error. Another user had the same issue but their tech support never answered it. Can’t see anywhere you can tell them you are on CWOP either. I gave up trying.

Brian, I’ve just downloaded the version for Mac available at your download page, but it crashes all the time at startup.
Also da app has a diferente name and icon. So fortunately it didn’t overwrite the last version that still running!
Can you pls help me on that?
Thank you

Hi after 2 years… I have found this thread searching how to upload data from WD to OpenWeatherMap.
Brian, I would try the sample that you put before of custom HTTP upload, but I am looking on OWM API, and first, it is necessary to creat a “Station”, and it must be create also from POST HTTPs, it couldn’t be created by web interface or so. So, I think that your sample doesn’t work if station is not created before, but also need a “POST” to do it…
https://openweathermap.org/stations#create_station

Ruben

I can do https post…
looks like they have improved the api docs alot now
when I get a spare minute I will look into this

Any advance in this?
I just today I have created a “personal station” on OpenWeatherMap.
Now I am interested on transfering data from my station, better using WD. The API is here:
Weather Stations - OpenWeatherMap on [POST] /measurements

Can I do it now using WD?

Thanks
Ruben Perez

Can I do it now using WD?
not yet

as there has been very little being wanting this feature
you are the first person to post in like over a year to this thread

I will look into this more when I have the spare time

i have it working in a test program :wink:

i have added support to this version
http://www.weather-display.com/downloadfiles/weatherdisplaytest.zip

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.