Hi!
I have 2 Velux windows, with roller shutters that I would like to automate to Home Assistant. For this purpose, I bought a KLF200 which I’m trying to configure. Unfortunately, I’m getting an SSL Handshake error.
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 253, in _async_setup_component
result = await task
File "/usr/src/homeassistant/homeassistant/components/velux/__init__.py", line 39, in async_setup
await hass.data[DATA_VELUX].async_start()
File "/usr/src/homeassistant/homeassistant/components/velux/__init__.py", line 84, in async_start
await self.pyvlx.load_scenes()
File "/usr/local/lib/python3.10/site-packages/pyvlx/pyvlx.py", line 82, in load_scenes
await self.scenes.load()
File "/usr/local/lib/python3.10/site-packages/pyvlx/scenes.py", line 51, in load
await get_scene_list.do_api_call()
File "/usr/local/lib/python3.10/site-packages/pyvlx/api/api_event.py", line 21, in do_api_call
await self.send_frame()
File "/usr/local/lib/python3.10/site-packages/pyvlx/api/api_event.py", line 33, in send_frame
await self.pyvlx.send_frame(self.request_frame())
File "/usr/local/lib/python3.10/site-packages/pyvlx/pyvlx.py", line 66, in send_frame
await self.connect()
File "/usr/local/lib/python3.10/site-packages/pyvlx/pyvlx.py", line 43, in connect
await self.connection.connect()
File "/usr/local/lib/python3.10/site-packages/pyvlx/connection.py", line 86, in connect
self.transport, _ = await self.loop.create_connection(
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1089, in create_connection
transport, protocol = await self._create_connection_transport(
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1119, in _create_connection_transport
await waiter
ConnectionAbortedError: SSL handshake is taking longer than 60.0 seconds: aborting the connection
As this is a new part of my setup, I can’t tell whether something is broken in the latest version of Home Assistant Core, or whether I’m just doing something wrong in configuration. I’ve read all threads I could find on the KLF200 integration, but most of those issues were resolved by either a new Home Assistant version or rebooting the KLF.
I have tried the following:
- Updating Home Assistant to latest version
- Multiple reboots of Home Assistant
- Multiple reboots of KLF200
- Logging in with velux123 (auth error)
- Logging in with Wifi password (SSL Handshake error)
My setup is:
- Home Assistant 2022.12.8
- Supervisor 2022.11.2
- Operating System 9.4
- Frontend 20221213.1 - latest
- Running on RPI 3b
The KLF200 is
- Running the 2.0.0.71 firmware it was shipped with
- Connected via Ethernet
Config in configuration.yaml
velux:
host: 192.168.0.110
password: Wifi Password listed on KLF200
I’m considering resetting the KLF200 to factory settings and retrying that way, perhaps trying to configure it to a different port? I don’t see any threads anymore mentioning other people with SSL handshake issues, so it looks like there’s no general issue anymore with the Home Assistant Core.
Anyone else having issues with Velux KLF200 currently, or have an idea on how to tackle this issue?
Thanks for your support!