martinw72
(Martinw72)
June 27, 2022, 9:25am
1
since my last update KLF200 is not working anymore. I checked the configuration on the gateway, IP, PW,… nothing changed, nothing seems to be wrong. Did a few reboot s of the gateway and HA, but it stoped working. See error below.
Logger: homeassistant.setup
Source: components/velux/init .py:84
First occurred: 11:18:49 (1 occurrences)
Last logged: 11:18:49
‘’’
Error during setup of component velux
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 235, 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.9/site-packages/pyvlx/pyvlx.py”, line 80, in load_scenes
await self.scenes.load()
File “/usr/local/lib/python3.9/site-packages/pyvlx/scenes.py”, line 51, in load
await get_scene_list.do_api_call()
File “/usr/local/lib/python3.9/site-packages/pyvlx/api/api_event.py”, line 21, in do_api_call
await self.send_frame()
File “/usr/local/lib/python3.9/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.9/site-packages/pyvlx/pyvlx.py”, line 66, in send_frame
await self.connect()
File “/usr/local/lib/python3.9/site-packages/pyvlx/pyvlx.py”, line 43, in connect
await self.connection.connect()
File “/usr/local/lib/python3.9/site-packages/pyvlx/connection.py”, line 87, in connect
self.transport, _ = await self.loop.create_connection(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1090, in create_connection
transport, protocol = await self._create_connection_transport(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1120, in _create_connection_transport
await waiter
ConnectionAbortedError: SSL handshake is taking longer than 60.0 seconds: aborting the connection
‘’’
complex1
(Frank)
June 27, 2022, 10:19am
2
I’m running 2022.6.7 and encounter no issues with the KLF200.
Have you already tried to reinstall the KLF200?
wmaker
(Tommy Long)
June 27, 2022, 5:34pm
3
I’m running without issues as well. It looks like its the same problem that has been around, that is KLF has run out of sockets to open so is refusing any connections from HA. The solution has been to re-power the KLF…may take a few times, but eventually it should work.
martinw72
(Martinw72)
June 27, 2022, 8:09pm
4
I‘m rebooting my klf200 every time I‘m restarting HA core! No idea what is going wrong!
Was able login to klf200 locally!
What port is klf200 running? Did a ring mqtt and Moskitto setup.
Something is wired: ConnectionAbortedError: SSL handshake is taking longer than 60.0 seconds: aborting the connection
Why SSL? Have not configured SSL for klf200
complex1
(Frank)
June 28, 2022, 5:16pm
5
Are you running 2022.6.7 ?
Do you reboot the gateway using power cycle (power off - on) ?
Have you tried a gateway reboot using: “service: velux.reboot_gateway” ?
Is the gateway IP-address the same as the “host: IP_address” used in the configuration.yaml ?
martinw72
(Martinw72)
June 28, 2022, 8:18pm
6
I‘m running 2022.6.5 now! I power cycled the klf200, rebooted it with the service! Checked everything 100 times.
Last thing I‘ll do is resetting the klf200.
complex1
(Frank)
June 29, 2022, 12:35pm
7
There is a problem reported with Velux and 2022.6.7 #74074
opened 08:31PM - 27 Jun 22 UTC
integration: velux
### The problem
After upgrading to HASS 2022.6.7 I get the famous "SSL Handsh… ake" failure with the velux-integration.
I tried several restarts of HASS and velux (by calling the service and also manually by toggling the power).
After downgrade to 2022.6.6 velux is working as expected (and like over a year now).
### What version of Home Assistant Core has the issue?
core-2022.6.7
### What was the last working version of Home Assistant Core?
core.2022.6.6
### What type of installation are you running?
Home Assistant OS
### Integration causing the issue
Velux
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/velux/
### Diagnostics information
_No response_
### Example YAML snippet
_No response_
### Anything in the logs that might be useful for us?
```txt
Logs with 2022.6.7:
2022-06-27 21:43:06 DEBUG (MainThread) [homeassistant.components.velux] Velux interface started
2022-06-27 21:43:06 DEBUG (MainThread) [pyvlx] Connecting to KLF 200.
2022-06-27 21:44:07 DEBUG (MainThread) [pyvlx] Connecting to KLF 200.
2022-06-27 21:44:11 DEBUG (MainThread) [pyvlx] SEND: <FramePasswordEnterRequest password="******"/>
2022-06-27 21:44:11 DEBUG (MainThread) [pyvlx] REC: <FramePasswordEnterConfirmation status="PasswordEnterConfirmationStatus.SUCCESSFUL"/>
2022-06-27 21:44:11 DEBUG (MainThread) [pyvlx] SEND: <FrameGetVersionRequest/>
2022-06-27 21:44:11 DEBUG (MainThread) [pyvlx] REC: <FrameGetVersionConfirmation software_version="0.2.0.0.71.0" hardware_version="6" product="KLF 200"/>
2022-06-27 21:44:11 DEBUG (MainThread) [pyvlx] SEND: <FrameGetProtocolVersionRequest/>
2022-06-27 21:44:12 DEBUG (MainThread) [pyvlx] REC: <FrameGetProtocolVersionConfirmation version="3.14"/>
2022-06-27 21:44:12 DEBUG (MainThread) [pyvlx] Connected to: <DtoVersion softwareversion="0.2.0.0.71.0" hardwareversion="6" productgroup="14" producttype="3"/>, <DtoProtocolVersion majorversion="3" minorversion="14"/>
2022-06-27 21:44:12 DEBUG (MainThread) [pyvlx] SEND: <FrameGetStateRequest/>
2022-06-27 21:44:12 DEBUG (MainThread) [pyvlx] REC: <FrameGetStateConfirmation gateway_state="GatewayState.GATEWAY_MODE_WITH_ACTUATORS" gateway_sub_state="GatewaySubState.IDLE"/>
2022-06-27 21:44:12 DEBUG (MainThread) [pyvlx] SEND: <FrameSetUTCRequest time="2022-06-27 21:43:06"/>
2022-06-27 21:44:12 DEBUG (MainThread) [pyvlx] REC: <FrameSetUTCConfirmation/>
2022-06-27 21:44:12 DEBUG (MainThread) [pyvlx] SEND: <FrameGetNetworkSetupRequest/>
2022-06-27 21:44:12 DEBUG (MainThread) [pyvlx] REC: <FrameGetNetworkSetupConfirmation ipaddress="192.168.x.y" netmask="255.255.255.0" gateway="192.168.x.1" dhcp="DHCPParameter.ENABLE"/>
2022-06-27 21:44:12 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorEnableRequest/>
2022-06-27 21:44:13 DEBUG (MainThread) [pyvlx] REC: <FrameHouseStatusMonitorEnableConfirmation/>
2022-06-27 21:44:13 DEBUG (MainThread) [pyvlx] SEND: <FrameGetStateRequest/>
2022-06-27 21:44:13 DEBUG (MainThread) [pyvlx] REC: <FrameGetStateConfirmation gateway_state="GatewayState.GATEWAY_MODE_WITH_ACTUATORS" gateway_sub_state="GatewaySubState.IDLE"/>
2022-06-27 21:44:25 ERROR (MainThread) [homeassistant.setup] Error during setup of component velux
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 235, 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.9/site-packages/pyvlx/pyvlx.py", line 80, in load_scenes
await self.scenes.load()
File "/usr/local/lib/python3.9/site-packages/pyvlx/scenes.py", line 51, in load
await get_scene_list.do_api_call()
File "/usr/local/lib/python3.9/site-packages/pyvlx/api/api_event.py", line 21, in do_api_call
await self.send_frame()
File "/usr/local/lib/python3.9/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.9/site-packages/pyvlx/pyvlx.py", line 66, in send_frame
await self.connect()
File "/usr/local/lib/python3.9/site-packages/pyvlx/pyvlx.py", line 43, in connect
await self.connection.connect()
File "/usr/local/lib/python3.9/site-packages/pyvlx/connection.py", line 87, in connect
self.transport, _ = await self.loop.create_connection(
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1090, in create_connection
transport, protocol = await self._create_connection_transport(
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1120, in _create_connection_transport
await waiter
ConnectionAbortedError: SSL handshake is taking longer than 60.0 seconds: aborting the connection
2022-06-27 21:45:13 DEBUG (MainThread) [pyvlx] SEND: <FrameGetStateRequest/>
2022-06-27 21:45:13 DEBUG (MainThread) [pyvlx] REC: <FrameGetStateConfirmation gateway_state="GatewayState.GATEWAY_MODE_WITH_ACTUATORS" gateway_sub_state="GatewaySubState.IDLE"/>
xC800" current_position_fp1="0xF7FF" current_position_fp2="0xF7FF" current_position_fp3="0xF7FF" current_position_fp4="0xF7FF" remaining_time="0" time="1974-08-29 09:34:08"/>
2022-06-27 21:46:13 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="0" state="5" current_position="0xC800" target="0xC800" current_position_fp1="0xF7FF" current_position_fp2="0xF7FF" current_position_fp3="0xF7FF" current_position_fp4="0xF7FF" remaining_time="0" time="1974-08-29 09:34:08"/>
2022-06-27 21:46:15 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="1" state="5" current_position="0xC800" target="0xC800" current_position_fp1="0xF7FF" current_position_fp2="0xF7FF" current_position_fp3="0xF7FF" current_position_fp4="0xF7FF" remaining_time="0" time="1974-08-30 03:46:24"/>
2022-06-27 21:46:15 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="1" state="5" current_position="0xC800" target="0xC800" current_position_fp1="0xF7FF" current_position_fp2="0xF7FF" current_position_fp3="0xF7FF" current_position_fp4="0xF7FF" remaining_time="0" time="1974-08-30 03:46:24"/>
2022-06-27 21:46:16 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="2" state="5" current_position="0xC800" target="0xC800" current_position_fp1="0xF7FF" current_position_fp2="0xF7FF" current_position_fp3="0xF7FF" current_position_fp4="0xF7FF" remaining_time="0" time="1974-08-30 21:58:40"/>
2022-06-27 21:46:16 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="2" state="5" current_position="0xC800" target="0xC800" current_position_fp1="0xF7FF" current_position_fp2="0xF7FF" current_position_fp3="0xF7FF" current_position_fp4="0xF7FF" remaining_time="0" time="1974-08-30 21:58:40"/>
2022-06-27 21:46:17 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="3" state="5" current_position="0xC800" target="0xC800" current_position_fp1="0xF7FF" current_position_fp2="0xF7FF" current_position_fp3="0xF7FF" current_position_fp4="0xF7FF" remaining_time="0" time="1974-08-31 16:10:56"/>
2022-06-27 21:46:17 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="3" state="5" current_position="0xC800" target="0xC800" current_position_fp1="0xF7FF" current_position_fp2="0xF7FF" current_position_fp3="0xF7FF" current_position_fp4="0xF7FF" remaining_time="0" time="1974-08-31 16:10:56"/>
2022-06-27 21:46:18 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="4" state="5" current_position="0xC800" target="0xC800" current_position_fp1="0xF7FF" current_position_fp2="0xF7FF" current_position_fp3="0xF7FF" current_position_fp4="0xF7FF" remaining_time="0" time="1974-09-01 10:23:12"/>
2022-06-27 21:46:18 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="4" state="5" current_position="0xC800" target="0xC800" current_position_fp1="0xF7FF" current_position_fp2="0xF7FF" current_position_fp3="0xF7FF" current_position_fp4="0xF7FF" remaining_time="0" time="1974-09-01 10:23:12"/>
2022-06-27 21:47:13 DEBUG (MainThread) [pyvlx] SEND: <FrameGetStateRequest/>
2022-06-27 21:47:13 DEBUG (MainThread) [pyvlx] REC: <FrameGetStateConfirmation gateway_state="GatewayState.GATEWAY_MODE_WITH_ACTUATORS" gateway_sub_state="GatewaySubState.IDLE"/>
----------
Logs with 2022.6.6:
2022-06-27 21:56:31 DEBUG (MainThread) [homeassistant.components.velux] Velux interface started
2022-06-27 21:56:31 DEBUG (MainThread) [pyvlx] Connecting to KLF 200.
2022-06-27 21:56:39 DEBUG (MainThread) [pyvlx] SEND: <FrameGetVersionRequest/>
2022-06-27 21:56:39 DEBUG (MainThread) [pyvlx] REC: <FrameGetVersionConfirmation software_version="0.2.0.0.71.0" hardware_version="6" product="KLF 200"/>
2022-06-27 21:56:39 DEBUG (MainThread) [pyvlx] SEND: <FrameGetProtocolVersionRequest/>
2022-06-27 21:56:39 DEBUG (MainThread) [pyvlx] REC: <FrameGetProtocolVersionConfirmation version="3.14"/>
2022-06-27 21:56:39 DEBUG (MainThread) [pyvlx] Connected to: <DtoVersion softwareversion="0.2.0.0.71.0" hardwareversion="6" productgroup="14" producttype="3"/>, <DtoProtocolVersion majorversion="3" minorversion="14"/>
2022-06-27 21:56:39 DEBUG (MainThread) [pyvlx] SEND: <FrameGetStateRequest/>
2022-06-27 21:56:39 DEBUG (MainThread) [pyvlx] REC: <FrameGetStateConfirmation gateway_state="GatewayState.GATEWAY_MODE_WITH_ACTUATORS" gateway_sub_state="GatewaySubState.IDLE"/>
2022-06-27 21:56:39 DEBUG (MainThread) [pyvlx] SEND: <FrameSetUTCRequest time="2022-06-27 21:56:31"/>
2022-06-27 21:56:40 DEBUG (MainThread) [pyvlx] REC: <FrameSetUTCConfirmation/>
2022-06-27 21:56:40 DEBUG (MainThread) [pyvlx] SEND: <FrameGetNetworkSetupRequest/>
2022-06-27 21:56:40 DEBUG (MainThread) [pyvlx] REC: <FrameGetNetworkSetupConfirmation ipaddress="192.168.x.y" netmask="255.255.255.0" gateway="192.168.x.1" dhcp="DHCPParameter.ENABLE"/>
2022-06-27 21:56:40 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorEnableRequest/>
2022-06-27 21:56:41 WARNING (MainThread) [homeassistant.setup] Setup of velux is taking over 10 seconds.
2022-06-27 21:56:41 DEBUG (MainThread) [pyvlx] REC: <FrameHouseStatusMonitorEnableConfirmation/>
2022-06-27 21:56:41 DEBUG (MainThread) [pyvlx] SEND: <FrameGetSceneListRequest/>
2022-06-27 21:56:41 DEBUG (MainThread) [pyvlx] REC: <FrameGetSceneListConfirmation count_scenes="0"/>
2022-06-27 21:56:41 DEBUG (MainThread) [pyvlx] SEND: <FrameGetAllNodesInformationRequest/>
2022-06-27 21:56:42 DEBUG (MainThread) [pyvlx] REC: <FrameGetAllNodesInformationConfirmation status="AllNodesInformationStatus.OK" number_of_nodes="5"/>
2022-06-27 21:56:42 DEBUG (MainThread) [pyvlx] REC: <FrameGetAllNodesInformationNotification node_id="0" order="0" placement="0" name="Shutter 0" velocity="Velocity.DEFAULT" node_type="NodeTypeWithSubtype.ROLLER_SHUTTER" product_group="1" product_type="1" node_variation="NodeVariation.NOT_SET" power_mode="0" build_number="18" serial_number="53:12:3f:32:13:16:0c:e3" state="5" current_position="0xC800" target="0xC800" current_position_fp1="0xF7FF" current_position_fp2="0xF7FF" current_position_fp3="0xF7FF" current_position_fp4="0xF7FF" remaining_time="0" time="2022-06-27 21:56:33" alias_array=""/>
2022-06-27 21:56:42 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameGetAllNodesInformationNotification node_id="0" order="0" placement="0" name="Shutter 0" velocity="Velocity.DEFAULT" node_type="NodeTypeWithSubtype.ROLLER_SHUTTER" product_group="1" product_type="1" node_variation="NodeVariation.NOT_SET" power_mode="0" build_number="18" serial_number="53:12:3f:32:13:16:0c:e3" state="5" current_position="0xC800" target="0xC800" current_position_fp1="0xF7FF" current_position_fp2="0xF7FF" current_position_fp3="0xF7FF" current_position_fp4="0xF7FF" remaining_time="0" time="2022-06-27 21:56:33" alias_array=""/>
2022-06-27 21:56:42 DEBUG (MainThread) [pyvlx] REC: <FrameGetAllNodesInformationNotification node_id="1" order="1" placement="0" name="Shutter 1" velocity="Velocity.DEFAULT" node_type="NodeTypeWithSubtype.ROLLER_SHUTTER" product_group="1" product_type="1" node_variation="NodeVariation.NOT_SET" power_mode="0" build_number="18" serial_number="53:12:3f:32:13:16:01:b5" state="5" current_position="0xC800" target="0xC800" current_position_fp1="0xF7FF" current_position_fp2="0xF7FF" current_position_fp3="0xF7FF" current_position_fp4="0xF7FF" remaining_time="0" time="2022-06-27 21:56:33" alias_array=""/>
2022-06-27 21:56:42 DEBUG (MainThread) [pyvlx] REC: <FrameGetAllNodesInformationNotification node_id="2" order="2" placement="0" name="Shutter 2" velocity="Velocity.DEFAULT" node_type="NodeTypeWithSubtype.ROLLER_SHUTTER" product_group="1" product_type="1" node_variation="NodeVariation.NOT_SET" power_mode="0" build_number="18" serial_number="53:12:3f:32:13:0d:14:34" state="5" current_position="0xC800" target="0xC800" current_position_fp1="0xF7FF" current_position_fp2="0xF7FF" current_position_fp3="0xF7FF" current_position_fp4="0xF7FF" remaining_time="0" time="2022-06-27 21:56:33" alias_array=""/>
2022-06-27 21:56:42 DEBUG (MainThread) [pyvlx] REC: <FrameGetAllNodesInformationNotification node_id="3" order="3" placement="0" name="Shutter 3" velocity="Velocity.DEFAULT" node_type="NodeTypeWithSubtype.ROLLER_SHUTTER" product_group="1" product_type="1" node_variation="NodeVariation.NOT_SET" power_mode="0" build_number="18" serial_number="53:12:3f:32:13:16:25:d6" state="5" current_position="0xC800" target="0xC800" current_position_fp1="0xF7FF" current_position_fp2="0xF7FF" current_position_fp3="0xF7FF" current_position_fp4="0xF7FF" remaining_time="0" time="2022-06-27 21:56:33" alias_array=""/>
2022-06-27 21:56:42 DEBUG (MainThread) [pyvlx] REC: <FrameGetAllNodesInformationNotification node_id="4" order="4" placement="0" name="Shutter 4" velocity="Velocity.DEFAULT" node_type="NodeTypeWithSubtype.ROLLER_SHUTTER" product_group="1" product_type="1" node_variation="NodeVariation.NOT_SET" power_mode="0" build_number="18" serial_number="53:12:3f:32:13:0d:0a:6b" state="5" current_position="0xC800" target="0xC800" current_position_fp1="0xF7FF" current_position_fp2="0xF7FF" current_position_fp3="0xF7FF" current_position_fp4="0xF7FF" remaining_time="0" time="2022-06-27 21:56:33" alias_array=""/>
2022-06-27 21:56:42 DEBUG (MainThread) [pyvlx] REC: <FrameGetAllNodesInformationFinishedNotification/>
2022-06-27 21:56:42 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameGetAllNodesInformationNotification node_id="1" order="1" placement="0" name="Shutter 1" velocity="Velocity.DEFAULT" node_type="NodeTypeWithSubtype.ROLLER_SHUTTER" product_group="1" product_type="1" node_variation="NodeVariation.NOT_SET" power_mode="0" build_number="18" serial_number="53:12:3f:32:13:16:01:b5" state="5" current_position="0xC800" target="0xC800" current_position_fp1="0xF7FF" current_position_fp2="0xF7FF" current_position_fp3="0xF7FF" current_position_fp4="0xF7FF" remaining_time="0" time="2022-06-27 21:56:33" alias_array=""/>
2022-06-27 21:56:42 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameGetAllNodesInformationNotification node_id="2" order="2" placement="0" name="Shutter 2" velocity="Velocity.DEFAULT" node_type="NodeTypeWithSubtype.ROLLER_SHUTTER" product_group="1" product_type="1" node_variation="NodeVariation.NOT_SET" power_mode="0" build_number="18" serial_number="53:12:3f:32:13:0d:14:34" state="5" current_position="0xC800" target="0xC800" current_position_fp1="0xF7FF" current_position_fp2="0xF7FF" current_position_fp3="0xF7FF" current_position_fp4="0xF7FF" remaining_time="0" time="2022-06-27 21:56:33" alias_array=""/>
2022-06-27 21:56:42 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameGetAllNodesInformationNotification node_id="3" order="3" placement="0" name="Shutter 3" velocity="Velocity.DEFAULT" node_type="NodeTypeWithSubtype.ROLLER_SHUTTER" product_group="1" product_type="1" node_variation="NodeVariation.NOT_SET" power_mode="0" build_number="18" serial_number="53:12:3f:32:13:16:25:d6" state="5" current_position="0xC800" target="0xC800" current_position_fp1="0xF7FF" current_position_fp2="0xF7FF" current_position_fp3="0xF7FF" current_position_fp4="0xF7FF" remaining_time="0" time="2022-06-27 21:56:33" alias_array=""/>
2022-06-27 21:56:42 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameGetAllNodesInformationNotification node_id="4" order="4" placement="0" name="Shutter 4" velocity="Velocity.DEFAULT" node_type="NodeTypeWithSubtype.ROLLER_SHUTTER" product_group="1" product_type="1" node_variation="NodeVariation.NOT_SET" power_mode="0" build_number="18" serial_number="53:12:3f:32:13:0d:0a:6b" state="5" current_position="0xC800" target="0xC800" current_position_fp1="0xF7FF" current_position_fp2="0xF7FF" current_position_fp3="0xF7FF" current_position_fp4="0xF7FF" remaining_time="0" time="2022-06-27 21:56:33" alias_array=""/>
2022-06-27 21:57:31 DEBUG (MainThread) [pyvlx] SEND: <FrameGetStateRequest/>
2022-06-27 21:57:31 DEBUG (MainThread) [pyvlx] REC: <FrameGetStateConfirmation gateway_state="GatewayState.GATEWAY_MODE_WITH_ACTUATORS" gateway_sub_state="GatewaySubState.IDLE"/>
```
### Additional information
demo-script from pyvlx is working on another server in the same network without a problem
wmaker
(Tommy Long)
June 29, 2022, 4:29pm
8
That’s interesting. The logs show that a connection is actually being made (so its not the common running out of sockets problem) and packets are being passed back and forth, but in one transaction, the response times out. I have also seen some comments on the forum of 2022.6.7 generating lots of XXX is taking over 10 seconds
…so just wondering, it may not be so much a Velux issue as an HA performance issue. I myself am seeing more of the SSL handshake timeouts, but I do get it working again after a restart.
GattoMeo
(Gatto Meo)
June 30, 2022, 9:12pm
9
Same problem here… I upgrade some days ago from 2022.6.2 to 2022.6.7 and Velux stop working (SSL handshake issue). I’ve revert to 2022.6.2 core backup and Velux integration restart to work.
No change in configuration.yaml or in other conf file.
KLF200 is working anytime, it’s a HA bug.
Same problem for me. Did upgrade to HA 2022.6.7 and HA OS 8.2
Neither Automation reboot nor KLF power off reboot nor KLF menu reboot solve the problem.
Logger: homeassistant.setup
Source: components/velux/__init__.py:84
First occurred: 11:40:17 (1 occurrences)
Last logged: 11:40:17
Error during setup of component velux
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 235, 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.9/site-packages/pyvlx/pyvlx.py", line 80, in load_scenes
await self.scenes.load()
File "/usr/local/lib/python3.9/site-packages/pyvlx/scenes.py", line 51, in load
await get_scene_list.do_api_call()
File "/usr/local/lib/python3.9/site-packages/pyvlx/api/api_event.py", line 21, in do_api_call
await self.send_frame()
File "/usr/local/lib/python3.9/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.9/site-packages/pyvlx/pyvlx.py", line 66, in send_frame
await self.connect()
File "/usr/local/lib/python3.9/site-packages/pyvlx/pyvlx.py", line 43, in connect
await self.connection.connect()
File "/usr/local/lib/python3.9/site-packages/pyvlx/connection.py", line 87, in connect
self.transport, _ = await self.loop.create_connection(
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1090, in create_connection
transport, protocol = await self._create_connection_transport(
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1120, in _create_connection_transport
await waiter
ConnectionAbortedError: SSL handshake is taking longer than 60.0 seconds: aborting the connection
Downgrading to HA 2022.6.5 solved the problem via Home Assistant command line:
core update --version 2022.6.5
martinw72
(Martinw72)
July 4, 2022, 5:42am
12
Any idea if it get solved with 2022.7?
martinw72
(Martinw72)
July 4, 2022, 7:26am
13
I can confirm that going back to 2022.6.5 solves the problem!
martinw72
(Martinw72)
July 6, 2022, 8:16pm
14
Did anyone already tests with 2022.7?
martinw72
(Martinw72)
July 8, 2022, 6:26am
16
Sounds good! Unfortunately the transition to Python 3.10 seems to be a problem for many third party integrations and there is a discussion who is responsible to fix it. So I decided to not upgrade to newest version, as at least my Gardena integration is affected, which leads into a nightmare during a hot summer!
GattoMeo
(Gatto Meo)
July 29, 2022, 2:33pm
17
Same problem here… I’m using 2022.6.2. With 22.7.5 too not works for me.
Hi.
Has anyone managed to connect 2 KLF200 gateways to the Home Assistant? I have nine windows with shutters and I need to hook them both up at the same time
1 Like
sdee22
(Seb)
August 21, 2022, 7:21pm
19
Any news on this? I just installed my KLF200 and thankfully found this thread before going mad.
GattoMeo
(Gatto Meo)
November 1, 2022, 6:04pm
20
Any news? With the present day version of HA, the issue with Velux is resolved?
I’m still running 2022.6.2, and Velux integration runs.