cloudy cloudy

Author Topic: Open Weather Map  (Read 2247 times)

0 Members and 1 Guest are viewing this topic.

Offline Weather Display

  • Posts: 86,527
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Android 7.1.1
  • Chrome 73.0.3683.90
    • Weather Display
Re: Open Weather Map
« Reply #30 on: April 09, 2019, 08:12:20 AM »
The station id
Should be showing
Just after where it says
Station id:

That works for me
Maybe u do not have the latest
Cronopenweathermap.exe
That is included in the latest full install

Offline mcrossley

  • Posts: 653
  • Wilmslow, Cheshire, UK
    • none
  • OS/Browser:
  • Win NT 10.0
  • Chrome 73.0.3683.86
    • WilmslowAstro Weather
Re: Open Weather Map
« Reply #31 on: April 09, 2019, 09:04:15 AM »
I am testing it... but not apreciable diference. I can't see stationid (and also I can't put apikey to avoid all people use yours).
And it is the last test version, because has MQTT option (this is the next thing I have to try with OpenHab).

Ruben
You might want to blank your password in that screen shot?
Mark

Offline Ruben Perez

  • Posts: 58
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
Re: Open Weather Map
« Reply #32 on: April 09, 2019, 09:07:36 AM »
You might want to blank your password in that screen shot?

Thanks, I don't realize that WUnderground password appears bottom ;-)...  :lol: Thanks!

Offline Ruben Perez

  • Posts: 58
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
Re: Open Weather Map
« Reply #33 on: April 09, 2019, 09:12:12 AM »
I have replaced with the Cronopenweathermap.exe that is on last weatherdisplaytest.zip
Is this ok?

No Id yet... maybe I need to change lat/lon/name?

I think could be better that we could put our own apikey, or we can't recover data from our station (as we need to put always apikey to see it).

Ruben
PD: Maybe a apikey textbox, plus a button "Create station" that returns and fill station id, could be great ;-)


The station id
Should be showing
Just after where it says
Station id:

That works for me
Maybe u do not have the latest
Cronopenweathermap.exe
That is included in the latest full install

Offline Weather Display

  • Posts: 86,527
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 73.0.3683.86
    • Weather Display
Re: Open Weather Map
« Reply #34 on: April 09, 2019, 10:30:49 AM »
just tested here again
brand new setup
it works
(after clicking on test  and then go back into that setup)
see the attached

http://www.weather-display.com/downloadfiles/cronopenweathermap.zip

Offline Ruben Perez

  • Posts: 58
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.48
Re: Open Weather Map
« Reply #35 on: April 09, 2019, 10:51:57 AM »
Working last update!
I have to remove blank whitespaces on station name... maybe this was the problem before.

Ruben

Offline Weather Display

  • Posts: 86,527
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 73.0.3683.86
    • Weather Display
Re: Open Weather Map
« Reply #36 on: April 09, 2019, 06:23:45 PM »
spaces should never be used on the internet for data ideally (use _ instead of a space if you need to use a space)?

Offline Ruben Perez

  • Posts: 58
Re: Open Weather Map
« Reply #37 on: April 09, 2019, 11:04:00 PM »
Could you consider the option of putting the apikey also?
In other case, this is not very useful as we can't read our station data...

Thanks in advance
Ruben

Enviat des del meu SM-T280 usant Tapatalk


Offline Weather Display

  • Posts: 86,527
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 73.0.3683.86
    • Weather Display
Re: Open Weather Map
« Reply #38 on: April 10, 2019, 12:21:32 AM »
normally developer api keys are not supposed to be made public
I could make it where the aggregated data is downloaded at each data send to a file
but what is the point of that...you know your data anyway, you are sending it from WD?

Offline Ruben Perez

  • Posts: 58
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
Re: Open Weather Map
« Reply #39 on: April 10, 2019, 06:22:01 AM »
normally developer api keys are not supposed to be made public
I could make it where the aggregated data is downloaded at each data send to a file
but what is the point of that...you know your data anyway, you are sending it from WD?

Exactly, not your apikey, each user must put his apikey (like un WU you each user must put his user and password)
Now I can't know if I am sending anything, I can't retrieve my station data (for example to do some application, or to use in OpenHab). In fact, I can't know if all is working correctly, or delete my station.
Moreover, with a little computer skill (very little), actually anybody can retrieve your apikey, watch all the stations that WD (and you) have created, delete it, etc.

I think that the correct working process is that anybody that want to send his data to OWM, needs his apikey to put in WD to manage his station (like other providers).

Ruben

Offline Weather Display

  • Posts: 86,527
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 73.0.3683.86
    • Weather Display
Re: Open Weather Map
« Reply #40 on: April 10, 2019, 09:42:45 AM »
OK, i will make it so that you can enter your own api key

Offline Weather Display

  • Posts: 86,527
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 73.0.3683.86
    • Weather Display
Re: Open Weather Map
« Reply #41 on: April 10, 2019, 11:34:12 PM »
i have done that now in the latest .zip update  (normal download)

Offline dsscheibe

  • Posts: 135
  • Phoenix, AZ
  • OS/Browser:
  • Win NT 10.0
  • Firefox 66.0
    • Scotts Weather Station, Cactus Wren, Phoenix, Arizona
Re: Open Weather Map
« Reply #42 on: April 11, 2019, 02:40:20 AM »
Just played with the site, at first it was showing California, switched the C to F button, reloaded was still in C. Searched for Phoenix only showed text reports, went back to the map and it was now showing Africa.  Seems very buggy
Scott
Davis Pro2 Plus daytime aspirated, wired
Weather Display


Offline Weather Display

  • Posts: 86,527
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 73.0.3683.86
    • Weather Display
Re: Open Weather Map
« Reply #43 on: April 11, 2019, 02:41:09 AM »
I think you are talking about the openweathermap site?

Offline Weather Display

  • Posts: 86,527
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 73.0.3683.86
    • Weather Display
Re: Open Weather Map
« Reply #44 on: April 11, 2019, 05:07:58 AM »
re WD's cronopenweathermap
so the first time run, it gets the stationid
and the first data sent works (returns 204)
and that stationis is store for next time..and so next time its run, it uses that initial stationid ...but the data sent has a return code of 415 instead of (successfull ) 204

what gives

 

cumulus