https://openweathermap.desk.com/customer/portal/questions/16677527-three-not-so-simple-steps-to-connect-your-weather-station it says "The PWS service has been disabled temporarily. We are working on a major upgrade."
don Paolo Benvenuto 2017-02-12 21:29 GMT+01:00 Paolo Benvenuto <[email protected]>: > 2017-02-12 20:24 GMT+01:00 mwall <[email protected]>: > >> On Sunday, February 12, 2017 at 2:19:22 PM UTC-5, Paolo Benvenuto wrote: >>> >>> 2017-02-12 15:15 GMT+01:00 mwall: >>> >>>> the openweathermap web site is a bit confusing. it is oriented toward >>>> people who need to download data more than for people who want to upload >>>> data, the terms they use have changed over the years, and their >>>> step-by-step instructions are not accurate if taken literally. >>>> >>>> fwiw, i have been using the 'name' associated with a 'key' as the >>>> 'station_id' and 'appid', respectively. >>>> >>>> that works for me with either their 3.0 api or their pre-3.0 api >>>> >>>> no, it doesn't work, I get in syslog: >>> >>> restx: OWM: Failed to publish record 2017-02-12 20:15:00 CET >>> (1486926900): Failed upload after 3 tries >>> >> >> paolo, >> >> in the log you should see the reason for each failure. >> >> to see even more detail, set debug=2 in weewx.conf then restart weewx. >> >> that will show you the actual url weewx is using to contact >> openweathermap. try using that URL in a web browser to figure out why it >> is failing. >> >> set debug=2, I get in syslog: > > Feb 12 21:25:18 paolo weewx[23343]: restx: OWM: url: > http://api.openweathermap.org/data/3.0/measurements?appid= > XXXXXXXXXXXXXXXXXXXXXXXXXXXXce19 > Feb 12 21:25:18 paolo weewx[23343]: restx: OWM: data: [{"wind_speed": > 1.9818231070544203, "wind_gust": 2.9000072071117438, "station_id": > "PaoloBenve_Pra", "humidity": 74.0, "pressure": 1025.244803951798, "dt": > 1486931100.0, "wind_deg": 36.034851470886125, "temperature": > 8.149999999999997}] > Feb 12 21:25:24 paolo weewx[23343]: restx: OWM: Failed upload attempt 2: > HTTP Error 400: Bad Request > Feb 12 21:25:29 paolo weewx[23343]: restx: OWM: Failed upload attempt 3: > HTTP Error 400: Bad Request > Feb 12 21:25:34 paolo weewx[23343]: restx: OWM: Failed to publish record > 2017-02-12 21:25:00 CET (1486931100): Failed upload after 3 tries > > I think the idea of using name and value of key for station is bad, > because the docs say that the coordinates and altitude of the station must > be set in the station creation, and I haven't done anything so. > > > >> m >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "weewx-user" group. >> To unsubscribe from this topic, visit https://groups.google.com/d/to >> pic/weewx-user/3rCKMUCcEF0/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
