matthewwall / weewx-windy

uploader for windy.com
GNU General Public License v3.0
18 stars 1 forks source link

Windy - Multiple Stations #14

Open alexdelprete opened 3 years ago

alexdelprete commented 3 years ago

Hi Matthew,

I'm not able to use this extension because I have 2 stations, and the first one is already uploading data to windy (with meteobridge).

Windy supports multiple stations per API key. In order to distinguish them for the upload, when you add a station each one gets assigned a "Station ID" field (a counter). The first station you create with the API key is 0, the second is 1, and so on...

This extension only asks for the API key in its configuration, so it can't identify a specific station associated with the same api key. Risk is that it will upload data, through the API key, to the same ID of the station managed by the other software.

Meteobridge asks for two things in order to upload data to Windy: API-key and Station ID.

You can check here: https://stations.windy.com/stations, try adding a second station...

Thanks for all your work on weeWX. :)

mitchellkrogza commented 2 years ago

Have you seen this line @alexdelprete https://github.com/matthewwall/weewx-windy/blob/master/bin/user/windy.py#L24