Closed eHarry87 closed 3 months ago
HA Core 2024.4.4 Supervisor 2024.04.0 Operating System 12.2 Frontend 20240404.2
KLF200 SW: 0.2.0.0.71.0
Hi,
i have a problem setting up my KLF200 for my two vertical blinds and somfy switch (light).
All is pared to KLF but HA has no entities and reports a fatal error on SSL.
I have restartet both HA and KLF multiple times.
I have an detailed error-log here, can anybody help me?
KR, Harry
2024-04-28 16:22:32.267 DEBUG (MainThread) [pyvlx] Heartbeat init 2024-04-28 16:22:32.267 DEBUG (MainThread) [pyvlx] Loadig pyvlx v0.1.76 2024-04-28 16:22:32.267 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 2024-04-28 16:22:32.318 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed 2024-04-28 16:22:36.572 DEBUG (MainThread) [pyvlx] Amount of connections since last HA start: 1 2024-04-28 16:22:36.573 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:22:36.582 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:22:36.586 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:22:36.592 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:22:36.595 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:22:36.794 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:22:36.798 DEBUG (MainThread) [pyvlx] Connected to: , 2024-04-28 16:22:36.798 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:22:37.010 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:22:37.014 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:22:37.221 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:22:37.225 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:22:37.432 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:22:37.436 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:22:37.444 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:22:37.447 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:22:37.650 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:22:37.654 DEBUG (MainThread) [pyvlx] Heartbeat start 2024-04-28 16:22:37.655 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was opened 2024-04-28 16:22:37.655 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:22:37.660 DEBUG (MainThread) [pyvlx] Heartbeat: creating task 2024-04-28 16:22:37.662 DEBUG (MainThread) [pyvlx] Heartbeat: task started 2024-04-28 16:22:37.663 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-04-28 16:22:37.861 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:22:37.871 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:22:37.875 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: 2024-04-28 16:22:37.880 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:22:37.881 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: 2024-04-28 16:22:37.891 ERROR (MainThread) [homeassistant] Error doing job: Fatal error on SSL protocol Traceback (most recent call last): File "/usr/local/lib/python3.12/asyncio/sslproto.py", line 737, in _do_read self._do_readcopied() File "/usr/local/lib/python3.12/asyncio/sslproto.py", line 797, in _do_readcopied self._app_protocol.data_received(first) File "/usr/local/lib/python3.12/site-packages/pyvlx/connection.py", line 62, in data_received frame = frame_from_raw(raw) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pyvlx/api/frame_creation.py", line 55, in frame_from_raw frame.from_payload(payload) File "/usr/local/lib/python3.12/site-packages/pyvlx/api/frames/frame_get_all_nodes_information.py", line 151, in from_payload self.node_type = NodeTypeWithSubtype(payload[69] * 256 + payload[70]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/enum.py", line 744, in call return cls.new(cls, value) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/enum.py", line 1158, in new raise ve_exc ValueError: 962 is not a valid NodeTypeWithSubtype 2024-04-28 16:22:37.912 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed 2024-04-28 16:22:47.661 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 192.168.0.160 for velux Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 551, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/velux/init.py", line 64, in async_setup_entry await pyvlx.load_nodes() File "/usr/local/lib/python3.12/site-packages/pyvlx/pyvlx.py", line 114, in load_nodes await self.nodes.load(node_id) File "/usr/local/lib/python3.12/site-packages/pyvlx/nodes.py", line 74, in load await self._load_all_nodes() File "/usr/local/lib/python3.12/site-packages/pyvlx/nodes.py", line 94, in _load_all_nodes raise PyVLXException("Unable to retrieve node information") pyvlx.exception.PyVLXException:
2024-04-28 16:23:07.665 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing 2024-04-28 16:23:07.665 DEBUG (MainThread) [pyvlx] Heartbeat pulse 2024-04-28 16:23:07.666 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 2024-04-28 16:23:11.968 DEBUG (MainThread) [pyvlx] Amount of connections since last HA start: 2 2024-04-28 16:23:11.974 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:23:11.981 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:23:11.983 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:23:11.989 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:23:11.992 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:23:12.188 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:23:12.195 DEBUG (MainThread) [pyvlx] Connected to: , 2024-04-28 16:23:12.195 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:23:12.406 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:23:12.412 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:23:12.617 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:23:12.623 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:23:12.828 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:23:12.840 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:23:12.846 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:23:12.848 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:23:13.209 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:23:13.213 DEBUG (MainThread) [pyvlx] Heartbeat start 2024-04-28 16:23:13.215 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was opened 2024-04-28 16:23:13.216 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:23:13.219 DEBUG (MainThread) [pyvlx] Heartbeat stopped 2024-04-28 16:23:13.219 DEBUG (MainThread) [pyvlx] Heartbeat: creating task 2024-04-28 16:23:13.219 DEBUG (MainThread) [pyvlx] Heartbeat: task started 2024-04-28 16:23:13.219 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-04-28 16:23:13.419 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:23:43.221 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing 2024-04-28 16:23:43.222 DEBUG (MainThread) [pyvlx] Heartbeat pulse 2024-04-28 16:23:43.222 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:23:43.240 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:23:43.240 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-04-28 16:24:13.243 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing 2024-04-28 16:24:13.244 DEBUG (MainThread) [pyvlx] Heartbeat pulse 2024-04-28 16:24:13.244 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:24:13.271 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:24:13.272 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-04-28 16:24:43.275 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing 2024-04-28 16:24:43.275 DEBUG (MainThread) [pyvlx] Heartbeat pulse 2024-04-28 16:24:43.275 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:24:43.301 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:24:43.302 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-04-28 16:25:13.305 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing 2024-04-28 16:25:13.305 DEBUG (MainThread) [pyvlx] Heartbeat pulse 2024-04-28 16:25:13.306 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:25:13.332 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:25:13.333 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-04-28 16:25:13.342 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:25:13.347 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: 2024-04-28 16:25:14.402 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:25:14.403 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: 2024-04-28 16:25:15.475 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:25:15.476 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: 2024-04-28 16:25:43.334 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing 2024-04-28 16:25:43.335 DEBUG (MainThread) [pyvlx] Heartbeat pulse 2024-04-28 16:25:43.335 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:25:43.406 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:25:43.407 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-04-28 16:26:13.409 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing 2024-04-28 16:26:13.410 DEBUG (MainThread) [pyvlx] Heartbeat pulse 2024-04-28 16:26:13.410 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:26:13.436 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:26:13.437 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-04-28 16:26:43.439 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing 2024-04-28 16:26:43.439 DEBUG (MainThread) [pyvlx] Heartbeat pulse 2024-04-28 16:26:43.440 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:26:43.467 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:26:43.468 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-04-28 16:27:13.470 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing 2024-04-28 16:27:13.470 DEBUG (MainThread) [pyvlx] Heartbeat pulse 2024-04-28 16:27:13.470 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:27:13.498 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:27:13.499 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-04-28 16:27:43.500 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing 2024-04-28 16:27:43.500 DEBUG (MainThread) [pyvlx] Heartbeat pulse 2024-04-28 16:27:43.501 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:27:43.530 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:27:43.532 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-04-28 16:28:13.533 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing 2024-04-28 16:28:13.533 DEBUG (MainThread) [pyvlx] Heartbeat pulse 2024-04-28 16:28:13.534 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:28:18.831 DEBUG (MainThread) [pyvlx] Heartbeat init 2024-04-28 16:28:18.831 DEBUG (MainThread) [pyvlx] Loadig pyvlx v0.1.76 2024-04-28 16:28:18.831 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 2024-04-28 16:28:18.882 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed 2024-04-28 16:28:23.536 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing failed: 2024-04-28 16:28:23.540 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-04-28 16:28:33.523 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed 2024-04-28 16:28:37.028 DEBUG (MainThread) [pyvlx] Amount of connections since last HA start: 1 2024-04-28 16:28:37.028 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:28:37.035 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:28:37.037 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:28:37.042 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:28:37.044 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:28:37.248 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:28:37.249 DEBUG (MainThread) [pyvlx] Connected to: , 2024-04-28 16:28:37.250 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:28:38.226 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:28:38.227 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:28:38.436 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:28:38.438 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:28:38.647 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:28:38.650 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:28:38.654 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:28:38.656 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:28:38.865 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:28:38.866 DEBUG (MainThread) [pyvlx] Heartbeat start 2024-04-28 16:28:38.869 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was opened 2024-04-28 16:28:38.869 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:28:38.877 DEBUG (MainThread) [pyvlx] Heartbeat: creating task 2024-04-28 16:28:38.877 DEBUG (MainThread) [pyvlx] Heartbeat: task started 2024-04-28 16:28:38.877 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-04-28 16:28:39.076 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:28:39.086 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:28:39.091 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: 2024-04-28 16:28:39.096 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:28:39.097 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: 2024-04-28 16:28:39.107 ERROR (MainThread) [homeassistant] Error doing job: Fatal error on SSL protocol Traceback (most recent call last): File "/usr/local/lib/python3.12/asyncio/sslproto.py", line 737, in _do_read self._do_readcopied() File "/usr/local/lib/python3.12/asyncio/sslproto.py", line 797, in _do_readcopied self._app_protocol.data_received(first) File "/usr/local/lib/python3.12/site-packages/pyvlx/connection.py", line 62, in data_received frame = frame_from_raw(raw) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pyvlx/api/frame_creation.py", line 55, in frame_from_raw frame.from_payload(payload) File "/usr/local/lib/python3.12/site-packages/pyvlx/api/frames/frame_get_all_nodes_information.py", line 151, in from_payload self.node_type = NodeTypeWithSubtype(payload[69] * 256 + payload[70]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/enum.py", line 744, in call return cls.new(cls, value) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/enum.py", line 1158, in new raise ve_exc ValueError: 962 is not a valid NodeTypeWithSubtype 2024-04-28 16:28:39.119 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed 2024-04-28 16:28:48.878 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 192.168.0.160 for velux Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 551, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/velux/init.py", line 64, in async_setup_entry await pyvlx.load_nodes() File "/usr/local/lib/python3.12/site-packages/pyvlx/pyvlx.py", line 114, in load_nodes await self.nodes.load(node_id) File "/usr/local/lib/python3.12/site-packages/pyvlx/nodes.py", line 74, in load await self._load_all_nodes() File "/usr/local/lib/python3.12/site-packages/pyvlx/nodes.py", line 94, in _load_all_nodes raise PyVLXException("Unable to retrieve node information") pyvlx.exception.PyVLXException: 2024-04-28 16:28:53.541 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing 2024-04-28 16:28:53.542 DEBUG (MainThread) [pyvlx] Heartbeat pulse 2024-04-28 16:28:53.542 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 2024-04-28 16:28:57.843 DEBUG (MainThread) [pyvlx] Amount of connections since last HA start: 3 2024-04-28 16:28:57.843 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:28:57.849 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:28:57.851 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:28:57.854 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:28:57.855 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:28:58.052 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:28:58.053 DEBUG (MainThread) [pyvlx] Connected to: , 2024-04-28 16:28:58.054 DEBUG (MainThread) [pyvlx] SEND: 2024-04-28 16:28:58.270 DEBUG (MainThread) [pyvlx] REC: 2024-04-28 16:28:58.271 DEBUG (MainThread) [pyvlx] SEND:
home-assistant_2024-04-28T14-28-57.960Z.log
This is the log from HA
i deleted the light, now awings work....
HA Core 2024.4.4 Supervisor 2024.04.0 Operating System 12.2 Frontend 20240404.2
KLF200 SW: 0.2.0.0.71.0
Hi,
i have a problem setting up my KLF200 for my two vertical blinds and somfy switch (light).
All is pared to KLF but HA has no entities and reports a fatal error on SSL.
I have restartet both HA and KLF multiple times.
I have an detailed error-log here, can anybody help me?
KR, Harry
2024-04-28 16:22:32.267 DEBUG (MainThread) [pyvlx] Heartbeat init 2024-04-28 16:22:32.267 DEBUG (MainThread) [pyvlx] Loadig pyvlx v0.1.76 2024-04-28 16:22:32.267 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 2024-04-28 16:22:32.318 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed 2024-04-28 16:22:36.572 DEBUG (MainThread) [pyvlx] Amount of connections since last HA start: 1 2024-04-28 16:22:36.573 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:22:36.582 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:22:36.586 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:22:36.592 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:22:36.595 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:22:36.794 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:22:36.798 DEBUG (MainThread) [pyvlx] Connected to: ,
2024-04-28 16:22:36.798 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:22:37.010 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:22:37.014 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:22:37.221 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:22:37.225 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:22:37.432 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:22:37.436 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:22:37.444 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:22:37.447 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:22:37.650 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:22:37.654 DEBUG (MainThread) [pyvlx] Heartbeat start
2024-04-28 16:22:37.655 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was opened
2024-04-28 16:22:37.655 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:22:37.660 DEBUG (MainThread) [pyvlx] Heartbeat: creating task
2024-04-28 16:22:37.662 DEBUG (MainThread) [pyvlx] Heartbeat: task started
2024-04-28 16:22:37.663 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping
2024-04-28 16:22:37.861 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:22:37.871 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:22:37.875 DEBUG (MainThread) [pyvlx] NodeUpdater process frame:
2024-04-28 16:22:37.880 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:22:37.881 DEBUG (MainThread) [pyvlx] NodeUpdater process frame:
2024-04-28 16:22:37.891 ERROR (MainThread) [homeassistant] Error doing job: Fatal error on SSL protocol
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/sslproto.py", line 737, in _do_read
self._do_readcopied()
File "/usr/local/lib/python3.12/asyncio/sslproto.py", line 797, in _do_readcopied
self._app_protocol.data_received(first)
File "/usr/local/lib/python3.12/site-packages/pyvlx/connection.py", line 62, in data_received
frame = frame_from_raw(raw)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyvlx/api/frame_creation.py", line 55, in frame_from_raw
frame.from_payload(payload)
File "/usr/local/lib/python3.12/site-packages/pyvlx/api/frames/frame_get_all_nodes_information.py", line 151, in from_payload
self.node_type = NodeTypeWithSubtype(payload[69] * 256 + payload[70])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/enum.py", line 744, in call
return cls.new(cls, value)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/enum.py", line 1158, in new
raise ve_exc
ValueError: 962 is not a valid NodeTypeWithSubtype
2024-04-28 16:22:37.912 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed
2024-04-28 16:22:47.661 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 192.168.0.160 for velux
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 551, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/velux/init.py", line 64, in async_setup_entry
await pyvlx.load_nodes()
File "/usr/local/lib/python3.12/site-packages/pyvlx/pyvlx.py", line 114, in load_nodes
await self.nodes.load(node_id)
File "/usr/local/lib/python3.12/site-packages/pyvlx/nodes.py", line 74, in load
await self._load_all_nodes()
File "/usr/local/lib/python3.12/site-packages/pyvlx/nodes.py", line 94, in _load_all_nodes
raise PyVLXException("Unable to retrieve node information")
pyvlx.exception.PyVLXException:
2024-04-28 16:23:07.665 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing 2024-04-28 16:23:07.665 DEBUG (MainThread) [pyvlx] Heartbeat pulse 2024-04-28 16:23:07.666 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 2024-04-28 16:23:11.968 DEBUG (MainThread) [pyvlx] Amount of connections since last HA start: 2 2024-04-28 16:23:11.974 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:23:11.981 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:23:11.983 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:23:11.989 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:23:11.992 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:23:12.188 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:23:12.195 DEBUG (MainThread) [pyvlx] Connected to: ,
2024-04-28 16:23:12.195 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:23:12.406 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:23:12.412 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:23:12.617 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:23:12.623 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:23:12.828 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:23:12.840 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:23:12.846 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:23:12.848 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:23:13.209 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:23:13.213 DEBUG (MainThread) [pyvlx] Heartbeat start
2024-04-28 16:23:13.215 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was opened
2024-04-28 16:23:13.216 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:23:13.219 DEBUG (MainThread) [pyvlx] Heartbeat stopped
2024-04-28 16:23:13.219 DEBUG (MainThread) [pyvlx] Heartbeat: creating task
2024-04-28 16:23:13.219 DEBUG (MainThread) [pyvlx] Heartbeat: task started
2024-04-28 16:23:13.219 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping
2024-04-28 16:23:13.419 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:23:43.221 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing
2024-04-28 16:23:43.222 DEBUG (MainThread) [pyvlx] Heartbeat pulse
2024-04-28 16:23:43.222 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:23:43.240 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:23:43.240 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping
2024-04-28 16:24:13.243 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing
2024-04-28 16:24:13.244 DEBUG (MainThread) [pyvlx] Heartbeat pulse
2024-04-28 16:24:13.244 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:24:13.271 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:24:13.272 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping
2024-04-28 16:24:43.275 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing
2024-04-28 16:24:43.275 DEBUG (MainThread) [pyvlx] Heartbeat pulse
2024-04-28 16:24:43.275 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:24:43.301 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:24:43.302 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping
2024-04-28 16:25:13.305 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing
2024-04-28 16:25:13.305 DEBUG (MainThread) [pyvlx] Heartbeat pulse
2024-04-28 16:25:13.306 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:25:13.332 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:25:13.333 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping
2024-04-28 16:25:13.342 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:25:13.347 DEBUG (MainThread) [pyvlx] NodeUpdater process frame:
2024-04-28 16:25:14.402 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:25:14.403 DEBUG (MainThread) [pyvlx] NodeUpdater process frame:
2024-04-28 16:25:15.475 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:25:15.476 DEBUG (MainThread) [pyvlx] NodeUpdater process frame:
2024-04-28 16:25:43.334 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing
2024-04-28 16:25:43.335 DEBUG (MainThread) [pyvlx] Heartbeat pulse
2024-04-28 16:25:43.335 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:25:43.406 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:25:43.407 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping
2024-04-28 16:26:13.409 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing
2024-04-28 16:26:13.410 DEBUG (MainThread) [pyvlx] Heartbeat pulse
2024-04-28 16:26:13.410 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:26:13.436 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:26:13.437 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping
2024-04-28 16:26:43.439 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing
2024-04-28 16:26:43.439 DEBUG (MainThread) [pyvlx] Heartbeat pulse
2024-04-28 16:26:43.440 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:26:43.467 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:26:43.468 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping
2024-04-28 16:27:13.470 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing
2024-04-28 16:27:13.470 DEBUG (MainThread) [pyvlx] Heartbeat pulse
2024-04-28 16:27:13.470 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:27:13.498 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:27:13.499 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping
2024-04-28 16:27:43.500 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing
2024-04-28 16:27:43.500 DEBUG (MainThread) [pyvlx] Heartbeat pulse
2024-04-28 16:27:43.501 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:27:43.530 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:27:43.532 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping
2024-04-28 16:28:13.533 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing
2024-04-28 16:28:13.533 DEBUG (MainThread) [pyvlx] Heartbeat pulse
2024-04-28 16:28:13.534 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:28:18.831 DEBUG (MainThread) [pyvlx] Heartbeat init
2024-04-28 16:28:18.831 DEBUG (MainThread) [pyvlx] Loadig pyvlx v0.1.76
2024-04-28 16:28:18.831 DEBUG (MainThread) [pyvlx] Connecting to KLF 200
2024-04-28 16:28:18.882 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed
2024-04-28 16:28:23.536 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing failed:
2024-04-28 16:28:23.540 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping
2024-04-28 16:28:33.523 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed
2024-04-28 16:28:37.028 DEBUG (MainThread) [pyvlx] Amount of connections since last HA start: 1
2024-04-28 16:28:37.028 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:28:37.035 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:28:37.037 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:28:37.042 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:28:37.044 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:28:37.248 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:28:37.249 DEBUG (MainThread) [pyvlx] Connected to: ,
2024-04-28 16:28:37.250 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:28:38.226 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:28:38.227 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:28:38.436 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:28:38.438 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:28:38.647 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:28:38.650 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:28:38.654 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:28:38.656 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:28:38.865 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:28:38.866 DEBUG (MainThread) [pyvlx] Heartbeat start
2024-04-28 16:28:38.869 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was opened
2024-04-28 16:28:38.869 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:28:38.877 DEBUG (MainThread) [pyvlx] Heartbeat: creating task
2024-04-28 16:28:38.877 DEBUG (MainThread) [pyvlx] Heartbeat: task started
2024-04-28 16:28:38.877 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping
2024-04-28 16:28:39.076 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:28:39.086 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:28:39.091 DEBUG (MainThread) [pyvlx] NodeUpdater process frame:
2024-04-28 16:28:39.096 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:28:39.097 DEBUG (MainThread) [pyvlx] NodeUpdater process frame:
2024-04-28 16:28:39.107 ERROR (MainThread) [homeassistant] Error doing job: Fatal error on SSL protocol
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/sslproto.py", line 737, in _do_read
self._do_readcopied()
File "/usr/local/lib/python3.12/asyncio/sslproto.py", line 797, in _do_readcopied
self._app_protocol.data_received(first)
File "/usr/local/lib/python3.12/site-packages/pyvlx/connection.py", line 62, in data_received
frame = frame_from_raw(raw)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyvlx/api/frame_creation.py", line 55, in frame_from_raw
frame.from_payload(payload)
File "/usr/local/lib/python3.12/site-packages/pyvlx/api/frames/frame_get_all_nodes_information.py", line 151, in from_payload
self.node_type = NodeTypeWithSubtype(payload[69] * 256 + payload[70])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/enum.py", line 744, in call
return cls.new(cls, value)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/enum.py", line 1158, in new
raise ve_exc
ValueError: 962 is not a valid NodeTypeWithSubtype
2024-04-28 16:28:39.119 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed
2024-04-28 16:28:48.878 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 192.168.0.160 for velux
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 551, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/velux/init.py", line 64, in async_setup_entry
await pyvlx.load_nodes()
File "/usr/local/lib/python3.12/site-packages/pyvlx/pyvlx.py", line 114, in load_nodes
await self.nodes.load(node_id)
File "/usr/local/lib/python3.12/site-packages/pyvlx/nodes.py", line 74, in load
await self._load_all_nodes()
File "/usr/local/lib/python3.12/site-packages/pyvlx/nodes.py", line 94, in _load_all_nodes
raise PyVLXException("Unable to retrieve node information")
pyvlx.exception.PyVLXException:
2024-04-28 16:28:53.541 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing
2024-04-28 16:28:53.542 DEBUG (MainThread) [pyvlx] Heartbeat pulse
2024-04-28 16:28:53.542 DEBUG (MainThread) [pyvlx] Connecting to KLF 200
2024-04-28 16:28:57.843 DEBUG (MainThread) [pyvlx] Amount of connections since last HA start: 3
2024-04-28 16:28:57.843 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:28:57.849 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:28:57.851 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:28:57.854 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:28:57.855 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:28:58.052 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:28:58.053 DEBUG (MainThread) [pyvlx] Connected to: ,
2024-04-28 16:28:58.054 DEBUG (MainThread) [pyvlx] SEND:
2024-04-28 16:28:58.270 DEBUG (MainThread) [pyvlx] REC:
2024-04-28 16:28:58.271 DEBUG (MainThread) [pyvlx] SEND: