Plugwise integration: cannot connect to stretch 2.x

I just installed Home Assistant on my RaspberryPi 4. My goal is to monitor my Plugwise stretch (now that Plugwise no longer supports it). After installation of Home Assistant the Plugwise integration is properly shown under Configuration | Integrations and Home Assistant has correctly identified the version of my Stretch (v2.3.12).
When I go to Configuration a pop-up appears that asks for the Username (stretch) and the stretch id (my stretch password). When I fill these and press Submit I get the busy cursos for minutes after which it ends with “Unexpected error”.
Can someone help to get me passed this problem?

I’m sure that my stretch has confirmed the username & password because when I submit a wrong username or password I immediately get the response “Invalid authentication”.

Hoping that someone can point me to a solution, Rene.

Hi Rene,

Did you find any solution in this case?
I have the same situation and the same error.
There’s a log message:

> Logger: homeassistant.components.plugwise.config_flow
> Source: components/plugwise/config_flow.py:65
> Integration: Plugwise ([documentation](https://www.home-assistant.io/integrations/plugwise), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+plugwise%22))
> First occurred: 19:38:25 (1 occurrences)
> Last logged: 19:38:25
> 
> Unexpected exception
> 
> Traceback (most recent call last): 
File '/usr/src/homeassistant/homeassistant/components/plugwise/config_flow.py', line 119, in async_step_user_gateway api = await validate_gw_input(self.hass, user_input)
File '/usr/src/homeassistant/homeassistant/components/plugwise/config_flow.py', line 65, in validate_gw_input await api.connect()
File '/usr/local/lib/python3.8/site-packages/plugwise/smile.py', line 113, in connect result = await self.request(DOMAIN_OBJECTS)
File '/usr/local/lib/python3.8/site-packages/plugwise/smile.py', line 256, in request result = await resp.text()
File '/usr/local/lib/python3.8/site-packages/aiohttp/client_reqrep.py', line 1076, in text await self.read()
File '/usr/local/lib/python3.8/site-packages/aiohttp/client_reqrep.py', line 1032, in read self._body = await self.content.read()
File '/usr/local/lib/python3.8/site-packages/aiohttp/streams.py', line 370, in read block = await self.readany()
File '/usr/local/lib/python3.8/site-packages/aiohttp/streams.py', line 392, in readany await self._wait('readany')
File '/usr/local/lib/python3.8/site-packages/aiohttp/streams.py', line 306, in _wait await waiter
File '/usr/local/lib/python3.8/site-packages/aiohttp/helpers.py', line 656, in __exit__ raise asyncio.TimeoutError from None asyncio.exceptions.TimeoutError

Like to here from you when you found a solution!

Grtz,
Edwin

Which version of the Plugwise component are you using? The internal HA Core one or the Plugwise-beta one? See this thread for the beta-version: Plugwise core and custom_component

Better post in that thread, that’s where we codeowners notice new messages and provide support.