Author Topic: Uploding to the Windy site  (Read 366 times)

0 Members and 1 Guest are viewing this topic.

Offline R_o_B

  • WxElement panel
  • Senior Member
  • *****
  • Posts: 83
    • Tzouhalem-Maple Bay Weather
Uploding to the Windy site
« on: October 06, 2019, 07:03:35 AM »
I would like to switch my Windy account to the WiFiLogger but it seems that one important setting is missing from the 'Windy.com' option - the API code that is required to upload the data from my weather station to Windy!

Indeed, once a station has been created on the Windy site, an API key must be produced and entered into the software or the device uploading the data - otherwise, the data goes nowhere!
R_o_B
---
eMail: weather@tzweather.org

Offline WiFiLogger

  • Forecaster
  • *****
  • Posts: 520
Re: Uploding to the Windy site
« Reply #1 on: October 06, 2019, 04:25:27 PM »
I would like to switch my Windy account to the WiFiLogger but it seems that one important setting is missing from the 'Windy.com' option - the API code that is required to upload the data from my weather station to Windy!

Indeed, once a station has been created on the Windy site, an API key must be produced and entered into the software or the device uploading the data - otherwise, the data goes nowhere!
It was working like you like, but I was asked by gentleman from Windy.com to make one API key for all WiFiLoggers. Unfortunatly I can't download by WiFiLogger info about how you could access this data on Windy.com. So probably I will return with next firmware update to first option.
Windy.com just don't provide special info which WiFiLogger could download and allow you to redirect to your station on Windy.com.
Probably there will be 2 interfaces. One like it is, second with yours API key.

Offline galfert

  • Global Moderator
  • Forecaster
  • *****
  • Posts: 3230
Re: Uploding to the Windy site
« Reply #2 on: October 06, 2019, 07:42:33 PM »
I don't know exactly how WiFiLogger deals with Windy but I don't see why it should be different than with other software. Just go to https://stations.windy.com/stations and copy your API key.

WS-2000 & WS-2902A | Ecowitt GW1000 | WeatherBridge (Meteobridge)
WU: KFLWINTE111  |  PWSweather: KFLWINTE111
CWOP: FW3708  |  AWEKAS: 14814
Windy: pws-f075acbe
Weather Underground Issue Tracking
Tele-Pole

Offline galfert

  • Global Moderator
  • Forecaster
  • *****
  • Posts: 3230
Re: Uploding to the Windy site
« Reply #3 on: October 06, 2019, 07:46:48 PM »
Indeed, once a station has been created on the Windy site, an API key must be produced and entered into the software or the device uploading the data - otherwise, the data goes nowhere!

That is not the order of how things go. The API key exists before any station is created.

First you create a Windy account.
You now have the API key.
Stations don't exist yet.
Then you create a Windy station (or more than one if needed).
Then you enter the API and station # into software.
WS-2000 & WS-2902A | Ecowitt GW1000 | WeatherBridge (Meteobridge)
WU: KFLWINTE111  |  PWSweather: KFLWINTE111
CWOP: FW3708  |  AWEKAS: 14814
Windy: pws-f075acbe
Weather Underground Issue Tracking
Tele-Pole

Offline galfert

  • Global Moderator
  • Forecaster
  • *****
  • Posts: 3230
Re: Uploding to the Windy site
« Reply #4 on: October 06, 2019, 07:53:02 PM »
It was working like you like, but I was asked by gentleman from Windy.com to make one API key for all WiFiLoggers.

What??? I missed this the first time I read it. What exactly does this mean? Are you using one API key for everyone that has purchased a WiFiLogger? Because if so then this is wrong. You misunderstood the fellow from Windy. He must not have understood that You are the WiFiLogger developer. Every user should have their own API key. They need to create their own account on Windy and get their own API key and then create their own station IDs. What Windy is saying is that if you own more than one station then you only need to create one account and then just have multiple stations using that same account and same API key.
« Last Edit: October 06, 2019, 07:57:04 PM by galfert »
WS-2000 & WS-2902A | Ecowitt GW1000 | WeatherBridge (Meteobridge)
WU: KFLWINTE111  |  PWSweather: KFLWINTE111
CWOP: FW3708  |  AWEKAS: 14814
Windy: pws-f075acbe
Weather Underground Issue Tracking
Tele-Pole

Offline waiukuweather

  • Forecaster
  • *****
  • Posts: 755
Re: Uploding to the Windy site
« Reply #5 on: October 06, 2019, 07:55:18 PM »
maybe confusion with developer, i.e application specific api key

Offline galfert

  • Global Moderator
  • Forecaster
  • *****
  • Posts: 3230
Re: Uploding to the Windy site
« Reply #6 on: October 06, 2019, 08:01:48 PM »
maybe confusion with developer, i.e application specific api key

Yeah maybe that is what happened. But application specific API is for web services or things like that. Application specific API has limits also and I don't think Wojtek wants to subsidize the cost of everyone's Windy uploads. In the case of the WiFiLogger I don't think a commercial API is the way to go for many reasons.
WS-2000 & WS-2902A | Ecowitt GW1000 | WeatherBridge (Meteobridge)
WU: KFLWINTE111  |  PWSweather: KFLWINTE111
CWOP: FW3708  |  AWEKAS: 14814
Windy: pws-f075acbe
Weather Underground Issue Tracking
Tele-Pole

Offline WiFiLogger

  • Forecaster
  • *****
  • Posts: 520
Re: Uploding to the Windy site
« Reply #7 on: October 07, 2019, 12:00:24 PM »
maybe confusion with developer, i.e application specific api key

Yeah maybe that is what happened. But application specific API is for web services or things like that. Application specific API has limits also and I don't think Wojtek wants to subsidize the cost of everyone's Windy uploads. In the case of the WiFiLogger I don't think a commercial API is the way to go for many reasons.

It was not my idea. In first place I have made regular export to Windy.com with user API KEY. I think PaulMy has test it.
Then I was asked by Windy.com to make export like one weather station company (small one) to make one account with multiple stations.
It could work like this, but I should add form with some info about weather station and there should be return info from Windy.com with ID. This is nor working, so I will return to first version.
Please let me have some little time with it. I havn't finished other work.

Offline galfert

  • Global Moderator
  • Forecaster
  • *****
  • Posts: 3230
Re: Uploding to the Windy site
« Reply #8 on: October 07, 2019, 01:18:46 PM »
Yeah I don't think anyone is faulting you Wojtek. This just seems like Windy misunderstood who you are and what you are doing and gave you wrong directions.

I don't think you need to re-code too much. Just make everyone responsible for setting up their own account on Windy and setting up their station ID's. It really is not that different than with most other online services. The WiFiLogger should not be making the station IDs. The user should do that on their own on Windy's site.

WiFiLogger should just prompt the user for 3 things:
  • API Key (their private key from Windy account setup)
  • Station Number (default=0)
  • upload frequency (fastest = 5 minutes)
WS-2000 & WS-2902A | Ecowitt GW1000 | WeatherBridge (Meteobridge)
WU: KFLWINTE111  |  PWSweather: KFLWINTE111
CWOP: FW3708  |  AWEKAS: 14814
Windy: pws-f075acbe
Weather Underground Issue Tracking
Tele-Pole