core: Authentication broken with Wolf Smartset service

The problem

Authentication to the service doesn’t work.

Initially I tried to reload it and it gave token authentication errors. Deleted the integration and tried re-adding it. During this on input of username and password it fails to authenticate to the service

Looks like Wolf changed their authentication urls when I had a quick look at the urls used. I can login to their cloud portal and it is all working.

What version of Home Assistant Core has the issue?

2023.1.5

What was the last working version of Home Assistant Core?

2023.1.5

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Wolf SmartSet Service

Link to integration documentation on our website

https://www.home-assistant.io/integrations/wolflink/

Diagnostics information

Logger: homeassistant.config_entries Source: components/wolflink/init.py:129 First occurred: January 18, 2023 at 11:39:10 PM (2 occurrences) Last logged: January 18, 2023 at 11:41:05 PM

Error setting up entry Heating for wolflink Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 382, in async_setup result = await component.async_setup_entry(hass, self) File “/usr/src/homeassistant/homeassistant/components/wolflink/init.py”, line 46, in async_setup_entry parameters = await fetch_parameters_init(wolf_client, gateway_id, device_id) File “/usr/src/homeassistant/homeassistant/components/wolflink/init.py”, line 136, in fetch_parameters_init return await fetch_parameters(client, gateway_id, device_id) File “/usr/src/homeassistant/homeassistant/components/wolflink/init.py”, line 129, in fetch_parameters fetched_parameters = await client.fetch_parameters(gateway_id, device_id) File “/usr/local/lib/python3.10/site-packages/wolf_smartset/wolf_client.py”, line 95, in fetch_parameters desc = await self.__request(‘get’, ‘api/portal/GetGuiDescriptionForGateway’, params=payload) File “/usr/local/lib/python3.10/site-packages/wolf_smartset/wolf_client.py”, line 35, in __request await self.__authorize() File “/usr/local/lib/python3.10/site-packages/wolf_smartset/wolf_client.py”, line 66, in __authorize await self.__authorize_and_session() File “/usr/local/lib/python3.10/site-packages/wolf_smartset/wolf_client.py”, line 70, in __authorize_and_session self.tokens = await self.token_auth.token(session) File “/usr/local/lib/python3.10/site-packages/wolf_smartset/token_auth.py”, line 39, in token raise InvalidAuth wolf_smartset.token_auth.InvalidAuth

Example YAML snippet

No response

Anything in the logs that might be useful for us?

The url currently used in the smartportal with all the authentication urls:
https://www.wolf-smartset.com/idsrv/.well-known/openid-configuration

As far as I could traceback the integration is using different urls.

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 50 (2 by maintainers)

Most upvoted comments

@reudo Problem gelöst. Nach der Installtaion von Microsoft® SQL Server® Compact 4.0 SP1 ließ sich die Datei erzeugen. Das Addon läuft jetzt bei mir auf dem HA 😃

Confirmed. I’ll be switching to ism7mqtt, which can also write to the heating.

@Reudo Problem gelöst. Nach der Installtaion von Microsoft® SQL Server® Compact 4.0 SP1 ließ sich die Datei erzeugen. Das Addon läuft jetzt bei mir auf dem HA 😃

Super danke. Bei mir jetzt auch 👍 Sieht direkt schon tausendmal besser aus als mit dieser bescheidenen Cloud Integration

Habe die Integration von Wolf gerade nochmal neu geladen. Sie kann sich wieder bei Wolf anmelden und die Daten kommen wieder an. Läuft also wieder.

Richtig. Man braucht ein ISM7, oder die aktuelle Version davon die jetzt Wolf Link Home heißt. Aber das braucht man ja immer, sonst geht die Cloud Lösung ja auch nicht. Der Author von ism7mqtt hat die “verschlüsselte” lokale Kommunikation mit dem Ding entschlüsselt, und ein Modul gebaut, dass diese Daten per MQTT sowohl lesend, aber erstmals eben auch schreibend verfügbar macht. Der Schritt zu Home Assistant ist von da nicht mehr weit die letzte Lücke schließt dann wie gesagt https://github.com/b3nn0/hassio-addon-ism7mqtt, was einerseits ism7mqtt direkt im HA laufen lässt, und die nötige Konfiguration der Geräte in HA vereinfacht.

Same problem here. did the update to Home Assistant 2023.4.5 yesterday. The addon stopped in the evening. Maybe there is a connection, not sure.

Probably not. I didn’t yet upgrade in the last weeks and have the same issue.