AdyRock / com.weatherunderground

Homey app for Weather Underground
GNU General Public License v3.0
3 stars 2 forks source link

Problem homety Pro Weather Underground #110

Open Waterman67 opened 7 months ago

Waterman67 commented 7 months ago

Im ade a diagnostic log. The code to retrieve is this ? e76e32f0-ce00-41f3-a256-5cf783604dd4

After a few years the app didn.t communicate. The api key was expired. I generated a new key but this is not working. Removed the app and installed it again. Also did not work. This is the weather underground line from today. It says it is online and it is working. image image

Uploading a new api key ( number 3 or 4 !! then says this devices is not available ?

SasquatchGER commented 5 months ago

Ich have the same problem. Log in the Homey WU app:

My PWS is online in WU and is working. I can see the data in the WU App. Station-ID and key is correct. I use a Homey PRO (early 2019).

AdyRock commented 5 months ago

Make sure you copy and paste the API Key as an incorrect key is the only thing that would give the unauthorised message.

When I connect to @Waterman67 station ID with my API key, I get error 204 no data. That means the weather station is not reporting to WU.

SasquatchGER commented 5 months ago

The station is online in WU, so station-ID and API key are correct, see screenshot: grafik

Looks like the API key may not be transmitted - even if it is entered in the app: Screenshot_20240208_120801_Homey

AdyRock commented 5 months ago

The API key is not written to the Log for security reasons as I don't put anything in there that is secret. Your station ID is public knowledge and can be looked in WU, so I can use my API key to view the data from your station or anyone else's station.

Basically, the API key is the only form of validation, so Error 401 can only be caused by that.

SasquatchGER commented 4 months ago

OK, thanks for the tip. The error has been found, the app works.