Here are the logs:
When i start Home Assistant i have:
Logger: homeassistant
Source: custom_components/myhome/config_flow.py:131
First occurred: 11:43:12 (1 occurrences)
Last logged: 11:43:12
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/ssdp/__init__.py", line 48, in initialize
await scanner.async_scan(None)
File "/usr/src/homeassistant/homeassistant/components/ssdp/__init__.py", line 82, in async_scan
await self._process_entries()
File "/usr/src/homeassistant/homeassistant/components/ssdp/__init__.py", line 129, in _process_entries
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 133, in async_init
result = await self._async_handle_step(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 216, in _async_handle_step
result: Dict = await getattr(flow, method)(user_input)
File "/config/custom_components/myhome/config_flow.py", line 244, in async_step_ssdp
return await self.async_step_test_connection()
File "/config/custom_components/myhome/config_flow.py", line 131, in async_step_test_connection
test_result = await test_session.test_connection()
File "/usr/local/lib/python3.8/site-packages/OWNd/connection.py", line 183, in test_connection
result = await self._negotiate()
File "/usr/local/lib/python3.8/site-packages/OWNd/connection.py", line 285, in _negotiate
raw_response = await self._stream_reader.readuntil(OWNSession.SEPARATOR)
File "/usr/local/lib/python3.8/asyncio/streams.py", line 629, in readuntil
raise exceptions.IncompleteReadError(chunk, None)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of undefined expected bytes
If i try to re-add MyHome integration, i have:
Logger: aiohttp.server
Source: custom_components/myhome/config_flow.py:131
First occurred: 11:51:29 (1 occurrences)
Last logged: 11:51:29
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
resp = await self._request_handler(request)
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py", line 499, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 56, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 18, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 72, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 129, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 129, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 117, in post
return await super().post(request)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 60, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 69, in post
result = await self._flow_mgr.async_init(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 133, in async_init
result = await self._async_handle_step(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 216, in _async_handle_step
result: Dict = await getattr(flow, method)(user_input)
File "/config/custom_components/myhome/config_flow.py", line 86, in async_step_user
return await self.async_step_test_connection()
File "/config/custom_components/myhome/config_flow.py", line 131, in async_step_test_connection
test_result = await test_session.test_connection()
File "/usr/local/lib/python3.8/site-packages/OWNd/connection.py", line 183, in test_connection
result = await self._negotiate()
File "/usr/local/lib/python3.8/site-packages/OWNd/connection.py", line 285, in _negotiate
raw_response = await self._stream_reader.readuntil(OWNSession.SEPARATOR)
File "/usr/local/lib/python3.8/asyncio/streams.py", line 629, in readuntil
raise exceptions.IncompleteReadError(chunk, None)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of undefined expected bytes
Regarding the password, the gateway is configured with a password (not the default one) and MyHome integration doesn’t prompt me the box to give it. In case of it was due to the browser, i tried with Firefox and Chrome, same result.
Small add if it can be useful, F-454 authentication is set to “low security” not high with HMAC.
Thanks for your help