Support for upload to Windy

87 views
Skip to first unread message

Praveen Chandrasekaran

unread,
Apr 23, 2019, 1:51:49 AM4/23/19
to weewx-user
Windy is now accepting data from PWS.

API details below:


Would we be seeing a Weewx update soon to support this?

Praveen Chandrasekaran

unread,
Apr 23, 2019, 1:55:57 AM4/23/19
to weewx-user
Just saw that its already there:


Great work!

--
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/topic/weewx-user/3nA3wxSBHKs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

G Hammer

unread,
Apr 23, 2019, 11:13:35 AM4/23/19
to weewx-user
So, just how long is a Windy API key?
I signed up for one, installed Windy 0.3 from github, seems to not like the station ID.
As an additional problem, after installing windy 0.3 my working SDR driver is no longer working with WeeWX.

See attached files.


On Tuesday, April 23, 2019 at 1:55:57 AM UTC-4, Praveen Chandrasekaran wrote:
Just saw that its already there:


Great work!

On Tue, 23 Apr 2019 at 11:21, Praveen Chandrasekaran <prave...@gmail.com> wrote:
Windy is now accepting data from PWS.

API details below:


Would we be seeing a Weewx update soon to support this?

--
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/topic/weewx-user/3nA3wxSBHKs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx...@googlegroups.com.
windy-error.txt
sdr-error.txt

mwall

unread,
Apr 23, 2019, 7:22:09 PM4/23/19
to weewx-user
On Tuesday, April 23, 2019 at 11:13:35 AM UTC-4, G Hammer wrote:
So, just how long is a Windy API key?
I signed up for one, installed Windy 0.3 from github, seems to not like the station ID.

the windy.com api specifies an integer station identifier.  you should only have to specify the station id if you have multiple stations.  also, there seems to be no provision for multiple stations when using the GET api.

anyway, weewx-windy 0.4 defaults to station id of 0, so you should not have to worry about it unless you are uploading to multiple stations.

m
 

Tim Tuck

unread,
Apr 23, 2019, 7:22:32 PM4/23/19
to weewx...@googlegroups.com

A Windy API key is looonnnnnggggggggg

The station ID used by the windy 0.3 module is not the ID issued to you by windy.com

The station ID is 0 if you have only one reporting station.

If you have 2 more , their numbers would be 1 & 2.

An example of a JSON post with multiple station ID's looks like this...

{
	stations:[
		{station:0, name:"My Home Station", lat:48.2, lon:28.6, elevation:80, tempheight:2, windheight:10},
		{station:1, name:"My Other Station", "lat":47.1, lon:31.2, elevation:122, tempheight:2, windheight:8}
	],


details on reporting structure are here...

https://community.windy.com/topic/8168/report-you-weather-station-data-to-windy/2

The failure of your SDR driver might just be a side affect of this module failing.

Change your station ID to 0 and try again.

If your SDR driver fails after that it is most likely a separate problem.

regards

Tim





Virus-free. www.avast.com

G Hammer

unread,
Apr 23, 2019, 8:00:09 PM4/23/19
to weewx-user
Thank you for the change removing the station value.
All is working well now.
Still curious as to why my SDR driver had problems when I misconfigured windy.
 
Reply all
Reply to author
Forward
0 new messages