astrandb / weatherlink

Weatherlink for Home Assistant
MIT License
11 stars 1 forks source link

Unknown errer when trying to setup the integration #25

Closed PMPoulsen closed 1 year ago

PMPoulsen commented 1 year ago

The problem

Hi,

When I try to integrate I am getting the following error (from the Logs) but the integration popup is also stating unknown error. I am certain of my credentials and the API token are correct.

Unexpected exception 09.20.15 – (FEJL) Weatherlink (brugerdefineret integration)

API get_data failed. Status: 0, - Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8 09.20.15 – (FEJL) Weatherlink (brugerdefineret integration)

Any idea?

Version of Weatherlink integration having the issue?

latest release

Version of Home Assistant Core having the issue?

2023.6.2

Anything in the logs that might be useful for us?

No response

Additional information

No response

astrandb commented 1 year ago

Excuse me for the long delay answering you. I hope you have solved the problem. In any case there is a new release of the integration with a lot of goodies.

PMPoulsen commented 1 year ago

HI, I did actually give up and ordered a wifilogger2 so now I got the data through MQTT. I can give it another try to see if it works now.

PMPoulsen commented 1 year ago

Just tried again, and now it works like a charm.

So I do now have two ways of getting data :-)