Re: [weewx-development] Windy website API under definition ?

2019-04-21 Thread Hartmut Schweidler
Hallo You're right, the API KEY was clearly wrong Thanks for the tip and a nice Easter Hartmut

Re: [weewx-development] Windy website API under definition ?

2019-04-20 Thread bill . gotcats
I notice when I first got my API key it looked like yours. So I put in in the windy config. I got an error. restx: Windy: Failed to publish record 2019-04-20 20:15:00 PDT (1555816500): Failed upload after 3 tries So I used the https URI with that key and got an error 'invalid API key' It

Re: [weewx-development] Windy website API under definition ?

2019-04-20 Thread Hartmut Schweidler
Nachtrag Mein windy-api-key wurde generiert auf "https://api4.windy.com/api-key/; Die Dateien von weewx Stand version="4.0.0a4" Python 3.7.3 es wird der POST Auftrag nicht richtig generiert? Hartmut Happy Easter

Re: [weewx-development] Windy website API under definition ?

2019-04-20 Thread Pat
That worked for me. Thanks! On Saturday, April 20, 2019 at 10:09:07 PM UTC-4, Tom Keffer wrote: > > Hartmut: make sure you use your API key, not your ID. The API key is a > very long sequence of letters and numbers (perhaps 80 to 100 characters). > > Pat: The station ID is yet another number.

Re: [weewx-development] Windy website API under definition ?

2019-04-20 Thread Thomas Keffer
Hartmut: make sure you use your API key, not your ID. The API key is a very long sequence of letters and numbers (perhaps 80 to 100 characters). Pat: The station ID is yet another number. Just set it to zero. It's there to distinguish between stations, in case you have more than one. On Sat, Apr

Re: [weewx-development] Windy website API under definition ?

2019-04-20 Thread Pat
I removed the int() around the station ID and re-ran with debug=2. It returned the below. Still a POST vs GET issue? Apr 20 11:15:17 zeus weewx[22541]: restx: Windy: url: https://stations.windy.com/pws/update/ Apr 20 11:15:17 zeus weewx[22541]: restx: Windy: JSON: {'observations': [{ 'dateutc':

Re: [weewx-development] Windy website API under definition ?

2019-04-20 Thread Hartmut Schweidler
Nachtrag url and JSON werden nicht zusammengesetzt

Re: [weewx-development] Windy website API under definition ?

2019-04-20 Thread Pat
I just signed up for this today and am using 0.31 of the extension, and I'm receiving this error. I've placed the ID in quotes and still am receiving the error. Looks like they aren't using integers for station ID anymore? My windy details: ID: f06ee9f5 Latitude: 42.223667° Longitude:

Re: [weewx-development] Windy website API under definition ?

2019-04-20 Thread Hartmut Schweidler
Hallo tk beim Start weewx Apr 20 16:27:08 wetter OWFS[12110]: engine: Finished loading service user.windguru.WindGuru Apr 20 16:27:08 wetter OWFS[12110]: engine: Loading service user.windy.Windy Apr 20 16:27:08 wetter OWFS[12110]: restx: Windy: version is 0.31 Apr 20 16:27:08 wetter OWFS[12110]:

Re: [weewx-development] Windy website API under definition ?

2019-04-20 Thread Thomas Keffer
Are you sure you are using the current version of windy.py? Version 0.3 does not post the url to the log. In any case, use the attached version. Set debug=2, then restart weewx. This version (v0.31) will not only post the url to the log, but also the JSON body. -tk On Sat, Apr 20, 2019 at 6:57

Re: [weewx-development] Windy website API under definition ?

2019-04-20 Thread Hartmut Schweidler
Hallo ich habe die neue Version von windy.py VERSION = "0.3" geladen im log taucht nur auf Apr 20 15:50:25 wetter OWFS[8025]: restx: Windy: url: https://stations.windy.com/pws/update/To5ff ... api_key ohne DATEN Apr 20 15:50:25 wetter OWFS[8025]: restx: AWEKAS: url:

Re: [weewx-development] Windy website API under definition ?

2019-04-18 Thread Wysiwyg
yes, we are lucky to have a copy-paste function ;-) I set back station to "0" and it works !! \(ᵔᵕᵔ)/ My very 1st sample of data is uploaded. thank you ! I will report if I see anything curious coming. Le jeudi 18 avril 2019 22:01:48 UTC+2, mwall a écrit : > > On Thursday, April 18, 2019

Re: [weewx-development] Windy website API under definition ?

2019-04-18 Thread mwall
On Thursday, April 18, 2019 at 12:23:32 PM UTC-4, Wysiwyg wrote: > > api_key is filled by the key I get from > https://stations.windy.com/stations > it's a very long key ( ~124 characters) > yes, the api_key is ridiculously long. they must be expecting data from every atom in the universe.

Re: [weewx-development] Windy website API under definition ?

2019-04-18 Thread mwall
weewx-windy 0.2 only supports http GET, and station identifier is not necessary for that. set station=0 and everything should work. apparently the station identifier is only necessary for the POST protocol. the spec indicates that a station identifier is an integer.

Re: [weewx-development] Windy website API under definition ?

2019-04-18 Thread Wysiwyg
Hi there, I'm a bit confused. I downloaded the last files here: https://github.com/matthewwall/weewx-windy 10 minutes ago. I installed with "wee_extension" (as in readme file) I notice there is now a "station" field in weewx.conf in addition to api_key (windy section) api_key is filled by

Re: [weewx-development] Windy website API under definition ?

2019-04-18 Thread Thomas Keffer
Here's a better link: https://www.windy.com/station/pws-f0776a1a?45.671,-121.539,5 On Thu, Apr 18, 2019 at 6:40 AM Thomas Keffer wrote: > It's working for me: https://www.windy.com/station?45.687,-121.570,8 > > -tk > > On Wed, Apr 17, 2019 at 5:25 AM Hartmut Schweidler > wrote: > >> Hallo >>

Re: [weewx-development] Windy website API under definition ?

2019-04-18 Thread Thomas Keffer
It's working for me: https://www.windy.com/station?45.687,-121.570,8 -tk On Wed, Apr 17, 2019 at 5:25 AM Hartmut Schweidler wrote: > Hallo > > windy.py > > Apr 17 14:15:37 wetter OWFS[22140]: restx: Windy: Failed to publish record > 2019-04-17 14:15:00 CEST (103300): Failed upload after 3

Re: [weewx-development] Windy website API under definition ?

2019-04-17 Thread Hartmut Schweidler
Hallo windy.py Apr 17 14:15:37 wetter OWFS[22140]: restx: Windy: Failed to publish record 2019-04-17 14:15:00 CEST (103300): Failed upload after 3 tries api-key was generated by windy "D4rKBpgJE0" 32 letter and numbers Hartmut # Copyright 2019 Matthew Wall """ This is a weewx

Re: [weewx-development] Windy website API under definition ?

2019-04-17 Thread Hartmut Schweidler
Hallo i have from weather365 try: import Queue as queue # python 2 from urllib import urlencode# python 2 from urllib2 import Request # python 2 except ImportError: import queue# python 3 from urllib.parse

Re: [weewx-development] Windy website API under definition ?

2019-04-17 Thread Hartmut Schweidler
i have test Matthew Wall comment the changes c22de85 28 minutes agoby git in line 179 and 180 PRINT (

Re: [weewx-development] Windy website API under definition ?

2019-04-17 Thread Hartmut Schweidler
Hallo log says Apr 17 08:00:26 wetter OWFS[24470]: restx: CWOP: packet: EW3693>APRS,TCPIP *:@170600z5336.36N/01120.48E_067/004g010t042r000p000P000b10258h68L178.weewx- 4.0.0a4-Vantage#015 Apr 17 08:00:26 wetter OWFS[24470]: *** Traceback (most recent call last): Apr 17 08:00:26 wetter

Re: [weewx-development] Windy website API under definition ?

2019-04-16 Thread mwall
please try the latest (at least commit 71d72da i had to revert to using http GET instead of POST because the windy.com server won't accept what looks like a properly encoded JSON request (and they

Re: [weewx-development] Windy website API under definition ?

2019-04-16 Thread Hartmut Schweidler
good Morning log says windy.py Apr 17 07:05:26 wetter OWFS[18427]: *** Traceback (most recent call last): Apr 17 07:05:26 wetter OWFS[18427]: *** File "/home/weewx/bin/weewx/restx.py", line 368, in run_loop Apr 17 07:05:26 wetter OWFS[18427]: *** self.process_record(_record, dbmanager)

Re: [weewx-development] Windy website API under definition ?

2019-04-16 Thread mwall
the weewx-windy uploader should work with python3 now please try it and let me know how it works for you sorry i cannot test it fully - windy.com is refusing my attempts to create test stations

Re: [weewx-development] Windy website API under definition ?

2019-04-16 Thread Hartmut Schweidler
Hallo how can i use windy.py for python3 Hartmut

Re: [weewx-development] Windy website API under definition ?

2019-04-15 Thread Wysiwyg
Hello ! Oh my god guys, Internet is going too fast for me now :-) yesterday I discover a discussion about an API project, I share a message about before going to sleep. When I wake upTom discovered it's already available, Matthew already developed a driver. :-O Are we living in the same

Re: [weewx-development] Windy website API under definition ?

2019-04-15 Thread mwall
here is an uploader for windy: https://github.com/matthewwall/weewx-windy unfortunately it is not yet working - when i hit node.windy.com i get: Cannot GET /pws/update i'm guessing its an https thing... m

Re: [weewx-development] Windy website API under definition ?

2019-04-15 Thread Thomas Keffer
Looks like they just published their API, all of 10 hours ago! https://community.windy.com/topic/8168/report-you-weather-station-data-to-windy/2 On Mon, Apr 15, 2019 at 4:18 PM Wysiwyg wrote: > > Dear weewx developer community, > > I'm a playing a bit currently with "Belchertown" very nice

[weewx-development] Windy website API under definition ?

2019-04-15 Thread Wysiwyg
Dear weewx developer community, I'm a playing a bit currently with "Belchertown" very nice weewx skin (https://github.com/poblabs/weewx-belchertown). This skins uses "windy" (https://www.windy.com/) to display rain radar + thunder map. Windy seems to provide several maps layers, android app