AdyRock / com.weatherunderground

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

GetURL Error: 401, Unauthorized #16

Closed MarcelFrensch closed 2 years ago

MarcelFrensch commented 3 years ago

Hi AdyRock,

I've sometimes the following error: GetURL Error: 401, Unauthorized (see screenshot below) As far as I know this error only happens in the evening (not every day)

The weather station is an WS-5500 and I think the problem occurred after I connected the weather station to a second Homey.

What I tried so far:

I Hope you can help me, thanks in advance.

Best regards, Marcel Frensch

Screenshot_20210705-222239_Homey

Screenshot_20210705-222246_Homey

Screenshot_20210705-222319_WS View

AdyRock commented 3 years ago

WU has a limit on the number of calls to get data and I think with two Homey's it is exceeding that rate. Have you changed the settings in the Apps - Weather Underground - Configure App on both Homey's to specify you have two devices connecting? Screenshot_20210706-094520_Homey

AdyRock commented 3 years ago

I have just noticed the wording in the page might be wrong. It mentions stations but that should be devices that get data.

MarcelFrensch commented 3 years ago

I didn't change the number of Stations (devices) I will change this is both Homey to 2 and I will hope that will be the solution.

Thanks! I will let you know if it works.

And check the API key ussage on WU

MarcelFrensch commented 2 years ago

Hi AdyRock,

I forget to give you the feedback, but it works!

I changed the number of Stations on both Homey's to 2 and it works perfectly.

Thanks for your help!

Best regards, Marcel