pawlizio / my_velux Goto Github PK
View Code? Open in Web Editor NEWCustom component of velux integration for Home Assistant
Custom component of velux integration for Home Assistant
Hi, thank you very much for providing this integration since the newer firmware is currently not supported by HomeAssistant.
I currently need to restart the KLF regularly to keep it functional.
Is there something I could try to make it more reliable and which information would be useful to debug this?
thx jaddel
After some time my devices dissappear then i press reboot KLF200
After it, i have each device 2 times.
What can I do?
with _2
On 2022.2:
Hi, i've installed your plugin in hassio system
i configured the plugin and HA see my 3 velux covers as 3 entity correctly
if i command a cover in HA it move in the position
but if i command the cover on the original velux touchpanel, the entity in ha doesn't upgrade it's value
sorry for my bad english but i'm italian
Hello,
Recently I updated HASS IO and after the update restarted the Pi, the Velux covers were not working. From Home-Assistant Entities, each roller shutter (I have three) state is "Open" with nothing happening when using Up and Down commands.
I'm using Shutter Row cardboard add-on in the Overview panel and shows an icon state as open with a value of -24% for each roller shutter...
The connection to the KLF-200 is working. When restarting HASS IO, the reboot command is correctly sent as the LED on the KLF is blinking. And there is not error on the log "custom_components.velux" set to debug in configuration.yaml.
Can a change in Home-Assistant have produce this? Thanks.
I tried to switch to the UI configuration because yaml is no longer supported.
Sadly I get the following error when I try to set it up (after inserting the ip and the password):
Unknown error occurred
There are no messages in the logfile (even with debug).
Versions:
my velux: 2.6
HomeAssistant: 2022.7.0 & 2022.6.7 (tried both)
HomeAssistantOS: 8.2
EDIT:
I tried to downgrade to 2.4 (with several uninstalling attempts and restarts) but sadly the problem does not vanish.
Before the upgrade to 2.6 it worked flawless for months.
after updating to 115.0 , seems its discovering the velux again, while already running this custom
anyone else seeing this too ? i cant ignore it seems
With the newest HA Version I can not connect du my KLF.
Hope this helps?
Home Assistant 2022.10.3
Supervisor 2022.10.0
Operating System 9.0
Frontend 20221010.0 - latest
This error originated from a custom integration.
Logger: custom_components.velux
Source: custom_components/velux/init.py:38
Integration: Velux
First occurred: 7:37:16 am (5 occurrences)
Last logged: 7:39:09 am
Unable to connect to KLF200: [Errno 111] Connect call failed ('192.168.20.101', 51200)
Logger: homeassistant.config_entries
Source: config_entries.py:395
First occurred: 7:37:16 am (3 occurrences)
Last logged: 7:37:25 am
Config entry 'Velux' for velux integration not ready yet: [Errno 111] Connect call failed ('192.168.20.101', 51200); Retrying in background
Config entry 'Bedroom 1 fan' for tapo integration not ready yet: None; Retrying in background
Config entry 'Bathroom Electric Radiator HS100(UK)' for tplink integration not ready yet: Unable to connect to the device: 192.168.20.151: [Errno 113] Connect call failed ('192.168.20.151', 9999); Retrying in background
i see now this issue when updated to 114.0
2020-08-12 16:15:47 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 128, in async_init
result = await self._async_handle_step(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 201, in _async_handle_step
result: Dict = await getattr(flow, method)(user_input)
File "/config/custom_components/my_velux/config_flow.py", line 41, in async_step_zeroconf
_LOGGER.debug("Received from zeroconf %s", info)
NameError: name '_LOGGER' is not defined
2020-08-12 16:15:47 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 128, in async_init
result = await self._async_handle_step(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 201, in _async_handle_step
result: Dict = await getattr(flow, method)(user_input)
File "/config/custom_components/my_velux/config_flow.py", line 41, in async_step_zeroconf
_LOGGER.debug("Received from zeroconf %s", info)
NameError: name '_LOGGER' is not defined
I noticed that the heartbeat is no longer sent after a power cycle of the KLF without restarting HA
My KLF is turned of every night automatically, the next morning it reconnects when it is available again, but the heartbeat is not being sent anymore. Connection counter is now 2.
When I use it the first time, the socket is probably already closed, it reconnects and connection counter is now 3.
This happens every time it has not been used for more than 15 minutes, connection counter keeps going up
The first command is noticeably delayed because of reconnecting. Is there a way to make the heartbeat sent after every reconnection?
Thanks!
I'd like to integrate my new Velux KLF200 into Home Assistant, but i'll get following error:
2022-02-09 19:39:08 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/pyvlx/heartbeat.py", line 45, in loop
await self.pulse()
File "/usr/local/lib/python3.9/site-packages/pyvlx/heartbeat.py", line 62, in pulse
await get_state.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 1056, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1041, in create_connection
sock = await self._connect_sock(
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 955, in _connect_sock
await self.sock_connect(sock, address)
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 502, in sock_connect
return await fut
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 537, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('192.168.178.31', 51200)
2022-02-09 19:39:08 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/pyvlx/heartbeat.py", line 45, in loop
await self.pulse()
File "/usr/local/lib/python3.9/site-packages/pyvlx/heartbeat.py", line 62, in pulse
await get_state.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 1056, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1041, in create_connection
sock = await self._connect_sock(
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 955, in _connect_sock
await self.sock_connect(sock, address)
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 502, in sock_connect
return await fut
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 537, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('192.168.178.31', 51200)
2022-02-09 19:39:08 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/pyvlx/heartbeat.py", line 45, in loop
await self.pulse()
File "/usr/local/lib/python3.9/site-packages/pyvlx/heartbeat.py", line 62, in pulse
await get_state.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 1056, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1041, in create_connection
sock = await self._connect_sock(
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 955, in _connect_sock
await self.sock_connect(sock, address)
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 502, in sock_connect
return await fut
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 537, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('192.168.178.31', 51200)
2022-02-09 19:39:08 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/pyvlx/heartbeat.py", line 45, in loop
await self.pulse()
File "/usr/local/lib/python3.9/site-packages/pyvlx/heartbeat.py", line 62, in pulse
await get_state.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 1081, in create_connection
transport, protocol = await self._create_connection_transport(
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1111, in _create_connection_transport
await waiter
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 918, in write
n = self._sock.send(data)
ConnectionResetError: [Errno 104] Connection reset by peer
I can ping the KLF from my computer and from HA so i don't know where to find my fault... Multiple reboots of HA and KLF didn't help.
Hi, since 2024.7.x i see error below:
2024-07-19 21:26:43.477 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration velux with title: 192.168.0.18 and entry_id: 25bb9b7544ba2f8676e05768d487a345, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
Stack (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2122, in async_forward_entry_setup
_report_non_awaited_platform_forwards(entry, "async_forward_entry_setup")
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1175, in _report_non_awaited_platform_forwards
report(
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report
_LOGGER.warning(msg, stack_info=True)
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_read__copied()
File "/usr/local/lib/python3.12/asyncio/sslproto.py", line 797, in _do_read__copied
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_read__copied()
File "/usr/local/lib/python3.12/asyncio/sslproto.py", line 797, in _do_read__copied
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:
hello @pawlizio,
since the last update i get an error message and the dualshutters don't work anymore. the simple ones still work fine.
Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/velux/cover.py:223
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 21:27:37 (1 occurrences)
Last logged: 21:27:37
[140166350452800] DualRollerShutter.close() got an unexpected keyword argument 'velocity'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 226, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1974, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2011, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 235, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 870, in entity_service_call
response_data = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 942, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/velux/cover.py", line 223, in async_close_cover
await self.node.close(wait_for_completion=False, velocity=velocity, curtain=self.subtype)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DualRollerShutter.close() got an unexpected keyword argument 'velocity'
Hi @pawlizio
I saw you were also working on the PR thats coming today in new 2024.3
Is this custom still needed afterwards? Is everything included in this custom also in the official core?
I use the rain sensor especially, the "limitation_min"
Hey !
Thanks for your work, it's working great. Just one little detail : the cover entity does not change its state to opening/closing. it just updates to the states: closed/open. Is there some known limitation for that ? I can try to help if needed.
Thanks again :)
Hope this helps?
Logger: homeassistant.components.number
Source: components/number/init.py:220
Integration: Number (documentation, issues)
First occurred: 8:43:25 am (3 occurrences)
Last logged: 8:44:10 am
custom_components.velux.number::VeluxOpenOrientatoion is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.
custom_components.velux.number::VeluxCloseOrientatoion is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.
custom_components.miele.number::MieleNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.
Hi,
how to handle this?
2024-02-07 12:58:37.287 WARNING (MainThread) [custom_components.velux] The 'velux' option near /config/configuration.yaml:2 is deprecated, please remove it from your configuration
Is it possible to control only the upper or lover cover of a doublecover?
I found the posibility in a FHEM-Forum:
https://wiki.fhem.de/wiki/Velux_KLF200
Upper cover (FP1) of Velux SMG doublecover:
set Velux_2 raw ParameterActive=1 FP1=0 MP=55304 FP2=53504
set Velux_2 raw ParameterActive=1 FP1=51200 MP=55304 FP2=53504
Lover cover(FP2) of Velux SMG doublecover:
set Velux_2 raw ParameterActive=2 FP2=0 MP=55304 FP1=53504
set Velux_2 raw ParameterActive=2 FP2=51200 MP=55304 FP1=53504
Hey,
since i loaded your custom, never had issues anymore
today i did a shutdown of my HassOS, wanted to make a snapshot
but after start again , seems my_velux was not able to setup
my guess, a reboot of the KLF was not initiated on HassOS shutdown command?
2020-08-16 21:08:34 ERROR (MainThread) [homeassistant.setup] Error during setup of component my_velux
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 191, in _async_setup_component
result = await task
File "/config/custom_components/my_velux/__init__.py", line 29, in async_setup
await hass.data[DATA_VELUX].async_start()
File "/config/custom_components/my_velux/__init__.py", line 72, in async_start
await self.pyvlx.load_scenes()
File "/config/custom_components/my_velux/pyvlx/pyvlx.py", line 104, in load_scenes
await self.scenes.load()
File "/config/custom_components/my_velux/pyvlx/scenes.py", line 51, in load
await get_scene_list.do_api_call()
File "/config/custom_components/my_velux/pyvlx/api_event.py", line 21, in do_api_call
await self.send_frame()
File "/config/custom_components/my_velux/pyvlx/api_event.py", line 33, in send_frame
await self.pyvlx.send_frame(self.request_frame())
File "/config/custom_components/my_velux/pyvlx/pyvlx.py", line 90, in send_frame
await self.connect()
File "/config/custom_components/my_velux/pyvlx/pyvlx.py", line 45, in connect
await self.connection.connect()
File "/config/custom_components/my_velux/pyvlx/connection.py", line 91, in connect
self.transport, _ = await self.loop.create_connection(
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1050, in create_connection
transport, protocol = await self._create_connection_transport(
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1080, in _create_connection_transport
await waiter
ConnectionAbortedError: SSL handshake is taking longer than 60.0 seconds: aborting the connection
Hi there. When i trying to connect to KLF 200 its failing with "Failed to connect" message at integration configuration window.
There some logs for this.
Ty in advance.
PS: Tried to reboot/reset HASS/KLF200 multiple times.
2024-07-09 11:39:09.499 DEBUG (MainThread) [pyvlx] Heartbeat __init__
2024-07-09 11:39:09.500 DEBUG (MainThread) [pyvlx] Loadig pyvlx v0.2.23
2024-07-09 11:39:09.500 DEBUG (MainThread) [pyvlx] Connecting to KLF 200
2024-07-09 11:39:09.572 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed
2024-07-09 11:39:13.854 DEBUG (MainThread) [pyvlx] Amount of connections since last HA start: 1
2024-07-09 11:39:13.857 DEBUG (MainThread) [pyvlx] SEND: <FramePasswordEnterRequest password="rb****"/>
2024-07-09 11:39:13.866 DEBUG (MainThread) [pyvlx] REC: <FramePasswordEnterConfirmation status="PasswordEnterConfirmationStatus.SUCCESSFUL"/>
2024-07-09 11:39:13.869 DEBUG (MainThread) [pyvlx] SEND: <FrameGetVersionRequest/>
2024-07-09 11:39:13.882 DEBUG (MainThread) [pyvlx] REC: <FrameGetVersionConfirmation software_version="0.2.0.0.71.0" hardware_version="6" product="KLF 200"/>
2024-07-09 11:39:13.885 DEBUG (MainThread) [pyvlx] SEND: <FrameGetProtocolVersionRequest/>
2024-07-09 11:39:14.075 DEBUG (MainThread) [pyvlx] REC: <FrameGetProtocolVersionConfirmation version="3.14"/>
2024-07-09 11:39:14.079 DEBUG (MainThread) [pyvlx] Connected to: <DtoVersion softwareversion="0.2.0.0.71.0" hardwareversion="6" productgroup="14" producttype="3"/>, <DtoProtocolVersion majorversion="3" minorversion="14"/>
2024-07-09 11:39:14.079 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorDisableRequest/>
2024-07-09 11:39:14.285 DEBUG (MainThread) [pyvlx] REC: <FrameErrorNotification error_type="ErrorType.UnknownCommand"/>
Hello, I get the following issues, when an automation or script with multiple shutters is running.
There is no problem if I execute the service calls manually.
Perhaps this is a similar issue (exept for ZWAVE devices):
https://github.com/home-assistant/core/issues/97854
HA seems to have a problem with the device response time there. Perhaps this is similar?
File "/usr/src/homeassistant/homeassistant/helpers/[script.py](http://script.py/)", line [468](tel:468), in _async_step await getattr(self, handler)() File "/usr/src/homeassistant/homeassistant/helpers/[script.py](http://script.py/)", line [703](tel:703), in _async_call_service_step response_data = await self._async_run_long_action( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/[script.py](http://script.py/)", line [665](tel:665), in _async_run_long_action return long_task.result() ^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/[core.py](http://core.py/)", line [1974](tel:1974), in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/[core.py](http://core.py/)", line [2011](tel:2011), in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/[entity_component.py](http://entity_component.py/)", line [235](tel:235), in handle_service return await service.entity_service_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/[service.py](http://service.py/)", line [870](tel:870), in entity_service_call response_data = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/[service.py](http://service.py/)", line [942](tel:942), in _handle_entity_call result = await task ^^^^^^^^^^ File "/config/custom_components/velux/[cover.py](http://cover.py/)", line [191](tel:191), in async_set_cover_position await self.node.set_position(position=position, wait_for_completion=False) File "/usr/local/lib/python[3.11](tel:311)/site-packages/pyvlx/[opening_device.py](http://opening_device.py/)", line [70](tel:70), in set_position raise PyVLXException("Unable to send command") pyvlx.exception.PyVLXException: <PyVLXException description="Unable to send command" />
Hi, how to use this ? I installed it via hacs restart wants to add integration
what is the best way to use it?
error messages are already in progress or failed to ceonnect
I have discovered the following behavior with Velux window openers.
When the window is open, open is displayed 100%.
If it starts to rain, the window goes closed (ventilation position).
But "Open" is still displayed as info. If one performs a stop command or open / close only then the status is updated.
Would it perhaps be possible to install an extra ststus for 7% (i.e. ventilation position)?
0% - closed
7% - ventilation
8-100% - open?
After updating the custom component from 2.9.8 to 2.9.12, I had HA discover the same KLF200 as new device so I went ahead and removed the exisiting integration.
Upon rediscovery I had the gateway reboot immediately causing the discovery workflow to fail.
After downgrading, discovery works again as expected.
Debug log with 2.9.12
2024-05-25 11:46:47.092 DEBUG (MainThread) [pyvlx] Heartbeat __init__ 2024-05-25 11:46:47.093 DEBUG (MainThread) [pyvlx] Loadig pyvlx v0.2.23 2024-05-25 11:46:47.093 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 2024-05-25 11:46:47.153 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed 2024-05-25 11:46:51.829 DEBUG (MainThread) [pyvlx] Amount of connections since last HA start: 1 2024-05-25 11:46:51.829 DEBUG (MainThread) [pyvlx] SEND: <FramePasswordEnterRequest password="******"/> 2024-05-25 11:46:51.839 DEBUG (MainThread) [pyvlx] REC: <FramePasswordEnterConfirmation status="PasswordEnterConfirmationStatus.SUCCESSFUL"/> 2024-05-25 11:46:51.843 DEBUG (MainThread) [pyvlx] SEND: <FrameGetVersionRequest/> 2024-05-25 11:46:51.848 DEBUG (MainThread) [pyvlx] REC: <FrameGetVersionConfirmation software_version="0.2.0.0.71.0" hardware_version="6" product="KLF 200"/> 2024-05-25 11:46:51.851 DEBUG (MainThread) [pyvlx] SEND: <FrameGetProtocolVersionRequest/> 2024-05-25 11:46:52.049 DEBUG (MainThread) [pyvlx] REC: <FrameGetProtocolVersionConfirmation version="3.14"/> 2024-05-25 11:46:52.053 DEBUG (MainThread) [pyvlx] Connected to: <DtoVersion softwareversion="0.2.0.0.71.0" hardwareversion="6" productgroup="14" producttype="3"/>, <DtoProtocolVersion majorversion="3" minorversion="14"/> 2024-05-25 11:46:52.053 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorDisableRequest/> 2024-05-25 11:46:52.267 DEBUG (MainThread) [pyvlx] REC: <FrameHouseStatusMonitorDisableConfirmation/> 2024-05-25 11:46:52.272 DEBUG (MainThread) [pyvlx] SEND: <FrameGetStateRequest/> 2024-05-25 11:46:52.478 DEBUG (MainThread) [pyvlx] REC: <FrameGetStateConfirmation gateway_state="GatewayState.GATEWAY_MODE_WITH_ACTUATORS" gateway_sub_state="GatewaySubState.IDLE"/> 2024-05-25 11:46:52.483 DEBUG (MainThread) [pyvlx] SEND: <FrameSetUTCRequest time="2024-05-25 11:45:56"/> 2024-05-25 11:46:52.688 DEBUG (MainThread) [pyvlx] REC: <FrameSetUTCConfirmation/> 2024-05-25 11:46:52.693 DEBUG (MainThread) [pyvlx] SEND: <FrameGetNetworkSetupRequest/> 2024-05-25 11:46:52.700 DEBUG (MainThread) [pyvlx] REC: <FrameGetNetworkSetupConfirmation ipaddress="10.111.10.36" netmask="255.255.255.0" gateway="10.111.10.1" dhcp="DHCPParameter.DISABLE"/> 2024-05-25 11:46:52.703 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorEnableRequest/> 2024-05-25 11:46:53.760 DEBUG (MainThread) [pyvlx] REC: <FrameHouseStatusMonitorEnableConfirmation/> 2024-05-25 11:46:53.765 DEBUG (MainThread) [pyvlx] Heartbeat start 2024-05-25 11:46:53.766 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was opened 2024-05-25 11:46:53.766 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorDisableRequest/> 2024-05-25 11:46:53.768 DEBUG (MainThread) [pyvlx] Heartbeat: creating task 2024-05-25 11:46:53.768 DEBUG (MainThread) [pyvlx] Heartbeat: task started 2024-05-25 11:46:53.768 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-05-25 11:46:54.769 DEBUG (MainThread) [pyvlx] Heartbeat stopped 2024-05-25 11:46:54.769 DEBUG (MainThread) [pyvlx] SEND: <FrameGatewayRebootRequest/> 2024-05-25 11:46:54.915 DEBUG (MainThread) [pyvlx] REC: <FrameHouseStatusMonitorDisableConfirmation/> 2024-05-25 11:46:55.125 DEBUG (MainThread) [pyvlx] REC: <FrameGatewayRebootConfirmation/> 2024-05-25 11:46:55.130 WARNING (MainThread) [pyvlx] KLF200 is rebooting 2024-05-25 11:46:55.131 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorDisableRequest/> 2024-05-25 11:46:56.134 DEBUG (MainThread) [pyvlx] Heartbeat was not running 2024-05-25 11:46:56.134 DEBUG (MainThread) [pyvlx] SEND: <FrameGatewayRebootRequest/> 2024-05-25 11:47:04.228 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed 2024-05-25 11:47:06.137 DEBUG (MainThread) [custom_components.velux] Cannot connect: <PyVLXException description="Unable to reboot gateway." /> 2024-05-25 11:47:19.326 DEBUG (MainThread) [pyvlx] Heartbeat __init__ 2024-05-25 11:47:19.327 DEBUG (MainThread) [pyvlx] Loadig pyvlx v0.2.23 2024-05-25 11:47:19.327 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 2024-05-25 11:47:19.384 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed 2024-05-25 11:47:24.050 DEBUG (MainThread) [pyvlx] Amount of connections since last HA start: 1 2024-05-25 11:47:24.051 DEBUG (MainThread) [pyvlx] SEND: <FramePasswordEnterRequest password="******"/> 2024-05-25 11:47:24.055 DEBUG (MainThread) [pyvlx] REC: <FramePasswordEnterConfirmation status="PasswordEnterConfirmationStatus.SUCCESSFUL"/> 2024-05-25 11:47:24.057 DEBUG (MainThread) [pyvlx] SEND: <FrameGetVersionRequest/> 2024-05-25 11:47:24.060 DEBUG (MainThread) [pyvlx] REC: <FrameGetVersionConfirmation software_version="0.2.0.0.71.0" hardware_version="6" product="KLF 200"/> 2024-05-25 11:47:24.062 DEBUG (MainThread) [pyvlx] SEND: <FrameGetProtocolVersionRequest/> 2024-05-25 11:47:24.261 DEBUG (MainThread) [pyvlx] REC: <FrameGetProtocolVersionConfirmation version="3.14"/> 2024-05-25 11:47:24.262 DEBUG (MainThread) [pyvlx] Connected to: <DtoVersion softwareversion="0.2.0.0.71.0" hardwareversion="6" productgroup="14" producttype="3"/>, <DtoProtocolVersion majorversion="3" minorversion="14"/> 2024-05-25 11:47:24.263 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorDisableRequest/> 2024-05-25 11:47:24.479 DEBUG (MainThread) [pyvlx] REC: <FrameHouseStatusMonitorDisableConfirmation/> 2024-05-25 11:47:24.480 DEBUG (MainThread) [pyvlx] SEND: <FrameGetStateRequest/> 2024-05-25 11:47:24.689 DEBUG (MainThread) [pyvlx] REC: <FrameGetStateConfirmation gateway_state="GatewayState.GATEWAY_MODE_WITH_ACTUATORS" gateway_sub_state="GatewaySubState.IDLE"/> 2024-05-25 11:47:24.690 DEBUG (MainThread) [pyvlx] SEND: <FrameSetUTCRequest time="2024-05-25 11:45:56"/> 2024-05-25 11:47:24.900 DEBUG (MainThread) [pyvlx] REC: <FrameSetUTCConfirmation/> 2024-05-25 11:47:24.901 DEBUG (MainThread) [pyvlx] SEND: <FrameGetNetworkSetupRequest/> 2024-05-25 11:47:24.905 DEBUG (MainThread) [pyvlx] REC: <FrameGetNetworkSetupConfirmation ipaddress="10.111.10.36" netmask="255.255.255.0" gateway="10.111.10.1" dhcp="DHCPParameter.DISABLE"/> 2024-05-25 11:47:24.906 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorEnableRequest/> 2024-05-25 11:47:25.959 DEBUG (MainThread) [pyvlx] REC: <FrameHouseStatusMonitorEnableConfirmation/> 2024-05-25 11:47:25.960 DEBUG (MainThread) [pyvlx] Heartbeat start 2024-05-25 11:47:25.962 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was opened 2024-05-25 11:47:25.962 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorDisableRequest/> 2024-05-25 11:47:25.966 DEBUG (MainThread) [pyvlx] Heartbeat: creating task 2024-05-25 11:47:25.967 DEBUG (MainThread) [pyvlx] Heartbeat: task started 2024-05-25 11:47:25.967 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-05-25 11:47:26.965 DEBUG (MainThread) [pyvlx] Heartbeat stopped 2024-05-25 11:47:26.966 DEBUG (MainThread) [pyvlx] SEND: <FrameGatewayRebootRequest/> 2024-05-25 11:47:27.124 DEBUG (MainThread) [pyvlx] REC: <FrameHouseStatusMonitorDisableConfirmation/> 2024-05-25 11:47:27.334 DEBUG (MainThread) [pyvlx] REC: <FrameGatewayRebootConfirmation/> 2024-05-25 11:47:27.335 WARNING (MainThread) [pyvlx] KLF200 is rebooting 2024-05-25 11:47:27.336 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorDisableRequest/> 2024-05-25 11:47:28.340 DEBUG (MainThread) [pyvlx] Heartbeat was not running 2024-05-25 11:47:28.341 DEBUG (MainThread) [pyvlx] SEND: <FrameGatewayRebootRequest/> 2024-05-25 11:47:36.481 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed 2024-05-25 11:47:38.345 DEBUG (MainThread) [custom_components.velux] Cannot connect: <PyVLXException description="Unable to reboot gateway." />
Debug Log from 2.9.8:
2024-05-25 11:58:56.453 DEBUG (MainThread) [pyvlx] Heartbeat __init__ 2024-05-25 11:58:56.457 DEBUG (MainThread) [pyvlx] Loadig pyvlx v0.1.76 2024-05-25 11:58:56.457 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 2024-05-25 11:58:56.584 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed 2024-05-25 11:59:01.255 DEBUG (MainThread) [pyvlx] Amount of connections since last HA start: 1 2024-05-25 11:59:01.260 DEBUG (MainThread) [pyvlx] SEND: <FramePasswordEnterRequest password="******"/> 2024-05-25 11:59:01.267 DEBUG (MainThread) [pyvlx] REC: <FramePasswordEnterConfirmation status="PasswordEnterConfirmationStatus.SUCCESSFUL"/> 2024-05-25 11:59:01.270 DEBUG (MainThread) [pyvlx] SEND: <FrameGetVersionRequest/> 2024-05-25 11:59:01.275 DEBUG (MainThread) [pyvlx] REC: <FrameGetVersionConfirmation software_version="0.2.0.0.71.0" hardware_version="6" product="KLF 200"/> 2024-05-25 11:59:01.278 DEBUG (MainThread) [pyvlx] SEND: <FrameGetProtocolVersionRequest/> 2024-05-25 11:59:01.477 DEBUG (MainThread) [pyvlx] REC: <FrameGetProtocolVersionConfirmation version="3.14"/> 2024-05-25 11:59:01.482 DEBUG (MainThread) [pyvlx] Connected to: <DtoVersion softwareversion="0.2.0.0.71.0" hardwareversion="6" productgroup="14" producttype="3"/>, <DtoProtocolVersion majorversion="3" minorversion="14"/> 2024-05-25 11:59:01.482 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorDisableRequest/> 2024-05-25 11:59:01.695 DEBUG (MainThread) [pyvlx] REC: <FrameHouseStatusMonitorDisableConfirmation/> 2024-05-25 11:59:01.700 DEBUG (MainThread) [pyvlx] SEND: <FrameGetStateRequest/> 2024-05-25 11:59:01.905 DEBUG (MainThread) [pyvlx] REC: <FrameGetStateConfirmation gateway_state="GatewayState.GATEWAY_MODE_WITH_ACTUATORS" gateway_sub_state="GatewaySubState.IDLE"/> 2024-05-25 11:59:01.918 DEBUG (MainThread) [pyvlx] SEND: <FrameSetUTCRequest time="2024-05-25 11:58:17"/> 2024-05-25 11:59:02.116 DEBUG (MainThread) [pyvlx] REC: <FrameSetUTCConfirmation/> 2024-05-25 11:59:02.120 DEBUG (MainThread) [pyvlx] SEND: <FrameGetNetworkSetupRequest/> 2024-05-25 11:59:02.127 DEBUG (MainThread) [pyvlx] REC: <FrameGetNetworkSetupConfirmation ipaddress="10.111.10.36" netmask="255.255.255.0" gateway="10.111.10.1" dhcp="DHCPParameter.DISABLE"/> 2024-05-25 11:59:02.131 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorEnableRequest/> 2024-05-25 11:59:03.182 DEBUG (MainThread) [pyvlx] REC: <FrameHouseStatusMonitorEnableConfirmation/> 2024-05-25 11:59:03.188 DEBUG (MainThread) [pyvlx] Heartbeat start 2024-05-25 11:59:03.189 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was opened 2024-05-25 11:59:03.190 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorDisableRequest/> 2024-05-25 11:59:03.192 DEBUG (MainThread) [pyvlx] Heartbeat: creating task 2024-05-25 11:59:03.192 DEBUG (MainThread) [pyvlx] Heartbeat: task started 2024-05-25 11:59:03.193 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-05-25 11:59:04.192 DEBUG (MainThread) [pyvlx] Heartbeat stopped 2024-05-25 11:59:04.198 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed 2024-05-25 11:59:04.203 DEBUG (MainThread) [pyvlx] Heartbeat __init__ 2024-05-25 11:59:04.203 DEBUG (MainThread) [pyvlx] Loadig pyvlx v0.1.76 2024-05-25 11:59:04.203 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 2024-05-25 11:59:04.257 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed 2024-05-25 11:59:04.342 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed 2024-05-25 11:59:08.591 DEBUG (MainThread) [pyvlx] Amount of connections since last HA start: 1 2024-05-25 11:59:08.592 DEBUG (MainThread) [pyvlx] SEND: <FramePasswordEnterRequest password="******"/> 2024-05-25 11:59:08.601 DEBUG (MainThread) [pyvlx] REC: <FramePasswordEnterConfirmation status="PasswordEnterConfirmationStatus.SUCCESSFUL"/> 2024-05-25 11:59:08.610 DEBUG (MainThread) [pyvlx] SEND: <FrameGetVersionRequest/> 2024-05-25 11:59:08.613 DEBUG (MainThread) [pyvlx] REC: <FrameGetVersionConfirmation software_version="0.2.0.0.71.0" hardware_version="6" product="KLF 200"/> 2024-05-25 11:59:08.614 DEBUG (MainThread) [pyvlx] SEND: <FrameGetProtocolVersionRequest/> 2024-05-25 11:59:08.820 DEBUG (MainThread) [pyvlx] REC: <FrameGetProtocolVersionConfirmation version="3.14"/> 2024-05-25 11:59:08.821 DEBUG (MainThread) [pyvlx] Connected to: <DtoVersion softwareversion="0.2.0.0.71.0" hardwareversion="6" productgroup="14" producttype="3"/>, <DtoProtocolVersion majorversion="3" minorversion="14"/> 2024-05-25 11:59:08.821 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorDisableRequest/> 2024-05-25 11:59:09.037 DEBUG (MainThread) [pyvlx] REC: <FrameHouseStatusMonitorDisableConfirmation/> 2024-05-25 11:59:09.038 DEBUG (MainThread) [pyvlx] SEND: <FrameGetStateRequest/> 2024-05-25 11:59:09.247 DEBUG (MainThread) [pyvlx] REC: <FrameGetStateConfirmation gateway_state="GatewayState.GATEWAY_MODE_WITH_ACTUATORS" gateway_sub_state="GatewaySubState.IDLE"/> 2024-05-25 11:59:09.248 DEBUG (MainThread) [pyvlx] SEND: <FrameSetUTCRequest time="2024-05-25 11:58:17"/> 2024-05-25 11:59:09.458 DEBUG (MainThread) [pyvlx] REC: <FrameSetUTCConfirmation/> 2024-05-25 11:59:09.458 DEBUG (MainThread) [pyvlx] SEND: <FrameGetNetworkSetupRequest/> 2024-05-25 11:59:09.462 DEBUG (MainThread) [pyvlx] REC: <FrameGetNetworkSetupConfirmation ipaddress="10.111.10.36" netmask="255.255.255.0" gateway="10.111.10.1" dhcp="DHCPParameter.DISABLE"/> 2024-05-25 11:59:09.463 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorEnableRequest/> 2024-05-25 11:59:10.955 DEBUG (MainThread) [pyvlx] REC: <FrameHouseStatusMonitorEnableConfirmation/> 2024-05-25 11:59:10.956 DEBUG (MainThread) [pyvlx] Heartbeat start 2024-05-25 11:59:10.957 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was opened 2024-05-25 11:59:10.957 DEBUG (MainThread) [pyvlx] SEND: <FrameGetAllNodesInformationRequest/> 2024-05-25 11:59:10.964 DEBUG (MainThread) [pyvlx] Heartbeat: creating task 2024-05-25 11:59:10.964 DEBUG (MainThread) [pyvlx] Heartbeat: task started 2024-05-25 11:59:10.964 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-05-25 11:59:11.438 DEBUG (MainThread) [pyvlx] REC: <FrameGetAllNodesInformationConfirmation status="AllNodesInformationStatus.OK" number_of_nodes="9"/>
Hi, Big thanks for your job on klf200 !
Would you consider supporting silent mode ?
Silent mode is a slow speed motor mode on Somfy "S&SO RS100 io" motors. "Smoove RS100 io" remote has a button to enable this feature, but I cannot tell if klf200 supports it.
Regards, Mathieu.
I gave a try to your integration and installed the 2.9.5 version.
While adding the klf200, the configuration shows 4 fields:
I suggest you add a small description to the 2 latest fields.
Thank you for this integration !
Note: Just in case, reading through the changes, I saw that you had a typo "Abstraction for al Velux" where you probably ment "Abstraction for all Velux". I just took note but finally did not fork your repo to submit a PR... So I give you the info here. Sorry if this is not precise.
Hey, not sure what happened, but all my entities were unavaible? Seems theye were doubled in HA
I think maybe of the last release?
i had like
cover.velux .. => unavaible
was renamed to:
cover.velux_2
had to remove all the unavaible entities and renamed the new ones to the old ones
Hello, after upgrade to HA 2020.12.1 velux component doesn't work. There is an SSL handshake issue, only way to bring online again is to physically reboot KLF200 but it work only for a few minute, after hang again.
Regards
Enrico
2020-12-21 19:34:23 WARNING (MainThread) [custom_components.velux] Unable to connect to KLF200: SSL handshake is taking longer than 5 seconds: aborting the connection
2020-12-21 19:34:23 WARNING (MainThread) [homeassistant.config_entries] Config entry for velux not ready yet. Retrying in 10 seconds
2020-12-21 19:34:33 DEBUG (MainThread) [custom_components.velux] Setting up velux entry: {'host': '192.168.1.84', 'password': 'xxxxx'}
2020-12-21 19:34:33 WARNING (MainThread) [pyvlx] Connecting to KLF 200.
2020-12-21 19:34:38 WARNING (MainThread) [custom_components.velux] Unable to connect to KLF200: SSL handshake is taking longer than 5 seconds: aborting the connection
2020-12-21 19:34:38 WARNING (MainThread) [homeassistant.config_entries] Config entry for velux not ready yet. Retrying in 20 seconds
2020-12-21 19:34:58 DEBUG (MainThread) [custom_components.velux] Setting up velux entry: {'host': '192.168.1.84', 'password': 'xxxx'}
2020-12-21 19:34:58 WARNING (MainThread) [pyvlx] Connecting to KLF 200.
2020-12-21 19:35:03 WARNING (MainThread) [custom_components.velux] Unable to connect to KLF200: SSL handshake is taking longer than 5 seconds: aborting the connection
2020-12-21 19:35:03 WARNING (MainThread) [homeassistant.config_entries] Config entry for velux not ready yet. Retrying in 40 seconds
2020-12-21 19:35:08 WARNING (MainThread) [pyvlx] Connecting to KLF 200.
2020-12-21 19:35:18 WARNING (MainThread) [pyvlx] Connecting to KLF 200.
2020-12-21 19:35:33 WARNING (MainThread) [pyvlx] Connecting to KLF 200.
2020-12-21 19:35:43 DEBUG (MainThread) [custom_components.velux] Setting up velux entry: {'host': '192.168.1.84', 'password': 'xxxxxx}
2020-12-21 19:35:43 WARNING (MainThread) [pyvlx] Connecting to KLF 200.
2020-12-21 19:35:48 WARNING (MainThread) [custom_components.velux] Unable to connect to KLF200: SSL handshake is taking longer than 5 seconds: aborting the connection
2020-12-21 19:35:48 WARNING (MainThread) [homeassistant.config_entries] Config entry for velux not ready yet. Retrying in 80 seconds
2020-12-21 19:35:58 WARNING (MainThread) [pyvlx] Connecting to KLF 200.
2020-12-21 19:36:43 WARNING (MainThread) [pyvlx] Connecting to KLF 200.
creating issue here , follow-up of this issue 👍
home-assistant/core#34844
05/08/2020 , i installed custom component, at this moment no error ion Restart HA, and state is properly loaded
I use your velux integration to control my Somfy RS100 io window covers. It works much more reliable than the Overkiz-integration I have tried before. Unfortunately, the option to change default speed does not seem to work for me. Independent of whichever speed I choose and if the "use default speed" switch is set on or off - the covers always move at the same speed.
As the RS100 motors do have a silent low speed option, it would be great if this could be used, too.
Thank you
Hello,
I would like to now if it is possible to implement the control of smart plugs compatible with io-homecontrol like the Somfy smart plug I have.
It is registered in the KLF-200 as "On/Off Switch" and I can control it through pyvlx with pyvlx.nodes['On/Off Switch'].set_off() and pyvlx.nodes['On/Off Switch'].set_on().
pyvlx have everything implemented I think (at least from the source code I have read), but neither the HA original velux add-on or my_velux use it.
If it is doable, that would be gladly appreciated. I can test it for you if none of you have a compatible smart plug.
Thanks.
This error originated from a custom integration.
Logger: homeassistant.config_entries
Source: custom_components/velux/init.py:36
Integration: Velux
First occurred: 11:18:15 pm (1 occurrences)
Last logged: 11:18:15 pm
Error setting up entry Velux for velux
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 390, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/velux/init.py", line 36, in async_setup_entry
await gateway.connect()
File "/usr/local/lib/python3.11/site-packages/pyvlx/pyvlx.py", line 43, in connect
await self.klf200.password_enter(password=self.config.password)
File "/usr/local/lib/python3.11/site-packages/pyvlx/klf200gateway.py", line 127, in password_enter
raise PyVLXException("Login to KLF 200 failed, check credentials")
pyvlx.exception.PyVLXException:
Home Assistant 2023.7.1
Supervisor 2023.07.1
Operating System 10.3
Frontend 20230705.1 - latest
Recently, all roller blinds have become inaccessible relatively quickly.
After "Reload":
but only for a short time :-(
2024-05-05 12:06:50.602 WARNING (MainThread) [pyvlx] KLF 200 reboot initiated, but gateway is not connected 2024-05-05 12:06:50.602 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 2024-05-05 12:06:55.311 DEBUG (MainThread) [pyvlx] Amount of connections since last HA start: 3 2024-05-05 12:06:55.316 DEBUG (MainThread) [pyvlx] SEND: <FramePasswordEnterRequest password="9C****"/> 2024-05-05 12:06:55.321 DEBUG (MainThread) [pyvlx] REC: <FramePasswordEnterConfirmation status="PasswordEnterConfirmationStatus.SUCCESSFUL"/> 2024-05-05 12:06:55.322 DEBUG (MainThread) [pyvlx] SEND: <FrameGetVersionRequest/> 2024-05-05 12:06:55.326 DEBUG (MainThread) [pyvlx] REC: <FrameGetVersionConfirmation software_version="0.2.0.0.71.0" hardware_version="6" product="KLF 200"/> 2024-05-05 12:06:55.327 DEBUG (MainThread) [pyvlx] SEND: <FrameGetProtocolVersionRequest/> 2024-05-05 12:06:55.531 DEBUG (MainThread) [pyvlx] REC: <FrameGetProtocolVersionConfirmation version="3.14"/> 2024-05-05 12:06:55.532 DEBUG (MainThread) [pyvlx] Connected to: <DtoVersion softwareversion="0.2.0.0.71.0" hardwareversion="6" productgroup="14" producttype="3"/>, <DtoProtocolVersion majorversion="3" minorversion="14"/> 2024-05-05 12:06:55.532 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorDisableRequest/> 2024-05-05 12:06:55.996 DEBUG (MainThread) [pyvlx] REC: <FrameHouseStatusMonitorDisableConfirmation/> 2024-05-05 12:06:55.997 DEBUG (MainThread) [pyvlx] SEND: <FrameGetStateRequest/> 2024-05-05 12:06:56.206 DEBUG (MainThread) [pyvlx] REC: <FrameGetStateConfirmation gateway_state="GatewayState.GATEWAY_MODE_WITH_ACTUATORS" gateway_sub_state="GatewaySubState.IDLE"/> 2024-05-05 12:06:56.207 DEBUG (MainThread) [pyvlx] SEND: <FrameSetUTCRequest time="2024-05-04 09:08:36"/> 2024-05-05 12:06:56.417 DEBUG (MainThread) [pyvlx] REC: <FrameSetUTCConfirmation/> 2024-05-05 12:06:56.418 DEBUG (MainThread) [pyvlx] SEND: <FrameGetNetworkSetupRequest/> 2024-05-05 12:06:56.423 DEBUG (MainThread) [pyvlx] REC: <FrameGetNetworkSetupConfirmation ipaddress="192.168.1.50" netmask="255.255.255.0" gateway="192.168.1.123" dhcp="DHCPParameter.ENABLE"/> 2024-05-05 12:06:56.424 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorEnableRequest/> 2024-05-05 12:06:57.853 DEBUG (MainThread) [pyvlx] REC: <FrameHouseStatusMonitorEnableConfirmation/> 2024-05-05 12:06:57.854 DEBUG (MainThread) [pyvlx] Heartbeat start 2024-05-05 12:06:57.854 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was opened 2024-05-05 12:06:57.855 DEBUG (MainThread) [pyvlx] Heartbeat: creating task 2024-05-05 12:06:57.859 DEBUG (MainThread) [pyvlx] Heartbeat: task started 2024-05-05 12:06:57.859 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-05-05 12:06:57.882 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorDisableRequest/> 2024-05-05 12:06:58.890 DEBUG (MainThread) [pyvlx] Heartbeat stopped 2024-05-05 12:06:58.915 DEBUG (MainThread) [pyvlx] Heartbeat __init__ 2024-05-05 12:06:58.915 DEBUG (MainThread) [pyvlx] Loadig pyvlx v0.1.76 2024-05-05 12:06:58.915 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 2024-05-05 12:06:58.965 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed 2024-05-05 12:06:58.965 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed 2024-05-05 12:06:59.536 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was closed 2024-05-05 12:07:03.773 DEBUG (MainThread) [pyvlx] Amount of connections since last HA start: 1 2024-05-05 12:07:03.773 DEBUG (MainThread) [pyvlx] SEND: <FramePasswordEnterRequest password="9C****"/> 2024-05-05 12:07:03.776 DEBUG (MainThread) [pyvlx] REC: <FramePasswordEnterConfirmation status="PasswordEnterConfirmationStatus.SUCCESSFUL"/> 2024-05-05 12:07:03.777 DEBUG (MainThread) [pyvlx] SEND: <FrameGetVersionRequest/> 2024-05-05 12:07:03.779 DEBUG (MainThread) [pyvlx] REC: <FrameGetVersionConfirmation software_version="0.2.0.0.71.0" hardware_version="6" product="KLF 200"/> 2024-05-05 12:07:03.779 DEBUG (MainThread) [pyvlx] SEND: <FrameGetProtocolVersionRequest/> 2024-05-05 12:07:03.792 DEBUG (MainThread) [pyvlx] REC: <FrameGetProtocolVersionConfirmation version="3.14"/> 2024-05-05 12:07:03.793 DEBUG (MainThread) [pyvlx] Connected to: <DtoVersion softwareversion="0.2.0.0.71.0" hardwareversion="6" productgroup="14" producttype="3"/>, <DtoProtocolVersion majorversion="3" minorversion="14"/> 2024-05-05 12:07:03.793 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorDisableRequest/> 2024-05-05 12:07:04.010 DEBUG (MainThread) [pyvlx] REC: <FrameHouseStatusMonitorDisableConfirmation/> 2024-05-05 12:07:04.011 DEBUG (MainThread) [pyvlx] SEND: <FrameGetStateRequest/> 2024-05-05 12:07:04.220 DEBUG (MainThread) [pyvlx] REC: <FrameGetStateConfirmation gateway_state="GatewayState.GATEWAY_MODE_WITH_ACTUATORS" gateway_sub_state="GatewaySubState.IDLE"/> 2024-05-05 12:07:04.221 DEBUG (MainThread) [pyvlx] SEND: <FrameSetUTCRequest time="2024-05-04 09:08:36"/> 2024-05-05 12:07:04.431 DEBUG (MainThread) [pyvlx] REC: <FrameSetUTCConfirmation/> 2024-05-05 12:07:04.432 DEBUG (MainThread) [pyvlx] SEND: <FrameGetNetworkSetupRequest/> 2024-05-05 12:07:04.435 DEBUG (MainThread) [pyvlx] REC: <FrameGetNetworkSetupConfirmation ipaddress="192.168.1.50" netmask="255.255.255.0" gateway="192.168.1.123" dhcp="DHCPParameter.ENABLE"/> 2024-05-05 12:07:04.436 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorEnableRequest/> 2024-05-05 12:07:06.241 DEBUG (MainThread) [pyvlx] REC: <FrameHouseStatusMonitorEnableConfirmation/> 2024-05-05 12:07:06.244 DEBUG (MainThread) [pyvlx] Heartbeat start 2024-05-05 12:07:06.245 DEBUG (MainThread) [pyvlx] Connecting to KLF 200 was opened 2024-05-05 12:07:06.245 DEBUG (MainThread) [pyvlx] SEND: <FrameGetAllNodesInformationRequest/> 2024-05-05 12:07:06.248 DEBUG (MainThread) [pyvlx] Heartbeat: creating task 2024-05-05 12:07:06.248 DEBUG (MainThread) [pyvlx] Heartbeat: task started 2024-05-05 12:07:06.249 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-05-05 12:07:06.896 DEBUG (MainThread) [pyvlx] REC: <FrameGetAllNodesInformationConfirmation status="AllNodesInformationStatus.OK" number_of_nodes="4"/> 2024-05-05 12:07:06.916 DEBUG (MainThread) [pyvlx] REC: <FrameGetAllNodesInformationNotification node_id="0" order="0" placement="0" name="Abstellraum" velocity="Velocity.SILENT" node_type="NodeTypeWithSubtype.ROLLER_SHUTTER" product_group="1" product_type="5" node_variation="NodeVariation.NOT_SET" power_mode="1" build_number="19" serial_number="53:09:40:5a:0e:32:01:5d" state="UNKNOWN" current_position="UNKNOWN" target="UNKNOWN" current_position_fp1="UNKNOWN" current_position_fp2="UNKNOWN" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2024-05-04 09:08:38" alias_array=""/> 2024-05-05 12:07:06.917 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameGetAllNodesInformationNotification node_id="0" order="0" placement="0" name="Abstellraum" velocity="Velocity.SILENT" node_type="NodeTypeWithSubtype.ROLLER_SHUTTER" product_group="1" product_type="5" node_variation="NodeVariation.NOT_SET" power_mode="1" build_number="19" serial_number="53:09:40:5a:0e:32:01:5d" state="UNKNOWN" current_position="UNKNOWN" target="UNKNOWN" current_position_fp1="UNKNOWN" current_position_fp2="UNKNOWN" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2024-05-04 09:08:38" alias_array=""/> 2024-05-05 12:07:06.925 DEBUG (MainThread) [pyvlx] REC: <FrameGetAllNodesInformationNotification node_id="1" order="1" placement="0" name="Treppenhaus" velocity="Velocity.SILENT" node_type="NodeTypeWithSubtype.DUAL_ROLLER_SHUTTER" product_group="1" product_type="4" node_variation="NodeVariation.NOT_SET" power_mode="0" build_number="13" serial_number="56:0e:04:26:07:10:00:17" state="UNKNOWN" current_position="UNKNOWN" target="UNKNOWN" current_position_fp1="UNKNOWN" current_position_fp2="UNKNOWN" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2024-05-04 09:08:38" alias_array=""/> 2024-05-05 12:07:06.926 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameGetAllNodesInformationNotification node_id="1" order="1" placement="0" name="Treppenhaus" velocity="Velocity.SILENT" node_type="NodeTypeWithSubtype.DUAL_ROLLER_SHUTTER" product_group="1" product_type="4" node_variation="NodeVariation.NOT_SET" power_mode="0" build_number="13" serial_number="56:0e:04:26:07:10:00:17" state="UNKNOWN" current_position="UNKNOWN" target="UNKNOWN" current_position_fp1="UNKNOWN" current_position_fp2="UNKNOWN" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2024-05-04 09:08:38" alias_array=""/> 2024-05-05 12:07:06.938 DEBUG (MainThread) [pyvlx] REC: <FrameGetAllNodesInformationNotification node_id="2" order="2" placement="0" name="Schlafzimmer" velocity="Velocity.SILENT" node_type="NodeTypeWithSubtype.DUAL_ROLLER_SHUTTER" product_group="1" product_type="4" node_variation="NodeVariation.NOT_SET" power_mode="0" build_number="13" serial_number="56:0e:04:26:07:08:00:f6" state="UNKNOWN" current_position="UNKNOWN" target="UNKNOWN" current_position_fp1="UNKNOWN" current_position_fp2="UNKNOWN" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2024-05-04 09:08:38" alias_array=""/> 2024-05-05 12:07:06.939 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameGetAllNodesInformationNotification node_id="2" order="2" placement="0" name="Schlafzimmer" velocity="Velocity.SILENT" node_type="NodeTypeWithSubtype.DUAL_ROLLER_SHUTTER" product_group="1" product_type="4" node_variation="NodeVariation.NOT_SET" power_mode="0" build_number="13" serial_number="56:0e:04:26:07:08:00:f6" state="UNKNOWN" current_position="UNKNOWN" target="UNKNOWN" current_position_fp1="UNKNOWN" current_position_fp2="UNKNOWN" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2024-05-04 09:08:38" alias_array=""/> 2024-05-05 12:07:06.947 DEBUG (MainThread) [pyvlx] REC: <FrameGetAllNodesInformationNotification node_id="3" order="3" placement="0" name="Spielzimmer" velocity="Velocity.SILENT" node_type="NodeTypeWithSubtype.DUAL_ROLLER_SHUTTER" product_group="1" product_type="4" node_variation="NodeVariation.NOT_SET" power_mode="0" build_number="13" serial_number="56:0e:04:26:07:08:00:48" state="UNKNOWN" current_position="UNKNOWN" target="UNKNOWN" current_position_fp1="UNKNOWN" current_position_fp2="UNKNOWN" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2024-05-04 09:08:38" alias_array=""/> 2024-05-05 12:07:06.948 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameGetAllNodesInformationNotification node_id="3" order="3" placement="0" name="Spielzimmer" velocity="Velocity.SILENT" node_type="NodeTypeWithSubtype.DUAL_ROLLER_SHUTTER" product_group="1" product_type="4" node_variation="NodeVariation.NOT_SET" power_mode="0" build_number="13" serial_number="56:0e:04:26:07:08:00:48" state="UNKNOWN" current_position="UNKNOWN" target="UNKNOWN" current_position_fp1="UNKNOWN" current_position_fp2="UNKNOWN" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2024-05-04 09:08:38" alias_array=""/> 2024-05-05 12:07:06.949 DEBUG (MainThread) [pyvlx] REC: <FrameGetAllNodesInformationFinishedNotification/> 2024-05-05 12:07:06.951 DEBUG (MainThread) [pyvlx] SEND: <FrameGetSceneListRequest/> 2024-05-05 12:07:07.158 DEBUG (MainThread) [pyvlx] REC: <FrameGetSceneListConfirmation count_scenes="0"/> 2024-05-05 12:07:07.161 DEBUG (MainThread) [custom_components.velux.cover] Cover will be added: Abstellraum 2024-05-05 12:07:07.162 DEBUG (MainThread) [custom_components.velux.cover] Cover added: Treppenhaus_dual 2024-05-05 12:07:07.162 DEBUG (MainThread) [custom_components.velux.cover] Cover added: Treppenhaus_upper 2024-05-05 12:07:07.162 DEBUG (MainThread) [custom_components.velux.cover] Cover added: Treppenhaus_lower 2024-05-05 12:07:07.162 DEBUG (MainThread) [custom_components.velux.cover] Cover added: Schlafzimmer_dual 2024-05-05 12:07:07.162 DEBUG (MainThread) [custom_components.velux.cover] Cover added: Schlafzimmer_upper 2024-05-05 12:07:07.163 DEBUG (MainThread) [custom_components.velux.cover] Cover added: Schlafzimmer_lower 2024-05-05 12:07:07.163 DEBUG (MainThread) [custom_components.velux.cover] Cover added: Spielzimmer_dual 2024-05-05 12:07:07.163 DEBUG (MainThread) [custom_components.velux.cover] Cover added: Spielzimmer_upper 2024-05-05 12:07:07.163 DEBUG (MainThread) [custom_components.velux.cover] Cover added: Spielzimmer_lower 2024-05-05 12:07:07.225 INFO (MainThread) [custom_components.velux.switch] restored numeric value for Abstellraum Use Default Velocity: <state switch.abstellraum_use_default_velocity=off; device_class=switch, friendly_name=Abstellraum Use Default Velocity @ 2024-05-05T11:53:06.975826+02:00> 2024-05-05 12:07:36.250 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing 2024-05-05 12:07:36.250 DEBUG (MainThread) [pyvlx] Heartbeat pulse 2024-05-05 12:07:36.250 DEBUG (MainThread) [pyvlx] SEND: <FrameGetStateRequest/> 2024-05-05 12:07:36.348 DEBUG (MainThread) [pyvlx] REC: <FrameGetStateConfirmation gateway_state="GatewayState.GATEWAY_MODE_WITH_ACTUATORS" gateway_sub_state="GatewaySubState.IDLE"/> 2024-05-05 12:07:36.349 DEBUG (MainThread) [pyvlx] SEND: <FrameStatusRequestRequest session_id="2715" node_ids="[0]" status_type="StatusType.REQUEST_CURRENT_POSITION" fpi1="254" fpi2="0"/> 2024-05-05 12:07:36.560 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestConfirmation session_id="2715" status="StatusRequestStatus.ACCEPTED"/> 2024-05-05 12:07:37.113 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestNotification session_id="2715" status_id="1" node_id="0" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="1" parameter_data="NodeParameter.MP: 0 %, "/> 2024-05-05 12:07:37.113 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameStatusRequestNotification session_id="2715" status_id="1" node_id="0" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="1" parameter_data="NodeParameter.MP: 0 %, "/> 2024-05-05 12:07:37.115 DEBUG (MainThread) [pyvlx] REC: <FrameSessionFinishedNotification session_id="2715"/> 2024-05-05 12:07:37.118 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="0" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="UNKNOWN" current_position_fp2="UNKNOWN" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-08-06 13:24:48"/> 2024-05-05 12:07:37.118 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="0" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="UNKNOWN" current_position_fp2="UNKNOWN" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-08-06 13:24:48"/> 2024-05-05 12:07:37.119 DEBUG (MainThread) [pyvlx] Abstellraum position changed to: 0 % 2024-05-05 12:07:37.617 DEBUG (MainThread) [pyvlx] SEND: <FrameStatusRequestRequest session_id="2716" node_ids="[1]" status_type="StatusType.REQUEST_CURRENT_POSITION" fpi1="254" fpi2="0"/> 2024-05-05 12:07:37.748 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestConfirmation session_id="2716" status="StatusRequestStatus.ACCEPTED"/> 2024-05-05 12:07:37.864 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestNotification session_id="2716" status_id="1" node_id="1" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:07:37.865 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameStatusRequestNotification session_id="2716" status_id="1" node_id="1" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:07:37.865 DEBUG (MainThread) [pyvlx] Treppenhaus position changed to: 0 % 2024-05-05 12:07:37.866 DEBUG (MainThread) [pyvlx] Treppenhaus position upper curtain changed to: 0 % 2024-05-05 12:07:37.866 DEBUG (MainThread) [pyvlx] Treppenhaus position lower curtain changed to: 0 % 2024-05-05 12:07:37.866 DEBUG (MainThread) [pyvlx] REC: <FrameSessionFinishedNotification session_id="2716"/> 2024-05-05 12:07:37.867 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="1" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-08-07 07:37:04"/> 2024-05-05 12:07:37.869 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="1" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-08-07 07:37:04"/> 2024-05-05 12:07:37.870 DEBUG (MainThread) [pyvlx] Treppenhaus position changed to: 0 % 2024-05-05 12:07:38.371 DEBUG (MainThread) [pyvlx] SEND: <FrameStatusRequestRequest session_id="2717" node_ids="[2]" status_type="StatusType.REQUEST_CURRENT_POSITION" fpi1="254" fpi2="0"/> 2024-05-05 12:07:38.499 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestConfirmation session_id="2717" status="StatusRequestStatus.ACCEPTED"/> 2024-05-05 12:07:38.610 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestNotification session_id="2717" status_id="1" node_id="2" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:07:38.611 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameStatusRequestNotification session_id="2717" status_id="1" node_id="2" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:07:38.611 DEBUG (MainThread) [pyvlx] Schlafzimmer position changed to: 0 % 2024-05-05 12:07:38.612 DEBUG (MainThread) [pyvlx] Schlafzimmer position upper curtain changed to: 0 % 2024-05-05 12:07:38.612 DEBUG (MainThread) [pyvlx] Schlafzimmer position lower curtain changed to: 0 % 2024-05-05 12:07:38.615 DEBUG (MainThread) [pyvlx] REC: <FrameSessionFinishedNotification session_id="2717"/> 2024-05-05 12:07:38.616 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="2" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-08-08 01:49:20"/> 2024-05-05 12:07:38.619 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="2" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-08-08 01:49:20"/> 2024-05-05 12:07:38.619 DEBUG (MainThread) [pyvlx] Schlafzimmer position changed to: 0 % 2024-05-05 12:07:39.120 DEBUG (MainThread) [pyvlx] SEND: <FrameStatusRequestRequest session_id="2718" node_ids="[3]" status_type="StatusType.REQUEST_CURRENT_POSITION" fpi1="254" fpi2="0"/> 2024-05-05 12:07:39.246 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestConfirmation session_id="2718" status="StatusRequestStatus.ACCEPTED"/> 2024-05-05 12:07:39.345 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestNotification session_id="2718" status_id="1" node_id="3" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:07:39.346 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameStatusRequestNotification session_id="2718" status_id="1" node_id="3" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:07:39.347 DEBUG (MainThread) [pyvlx] Spielzimmer position changed to: 0 % 2024-05-05 12:07:39.347 DEBUG (MainThread) [pyvlx] Spielzimmer position upper curtain changed to: 0 % 2024-05-05 12:07:39.347 DEBUG (MainThread) [pyvlx] Spielzimmer position lower curtain changed to: 0 % 2024-05-05 12:07:39.349 DEBUG (MainThread) [pyvlx] REC: <FrameSessionFinishedNotification session_id="2718"/> 2024-05-05 12:07:39.350 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="3" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-08-08 01:49:20"/> 2024-05-05 12:07:39.352 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="3" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-08-08 01:49:20"/> 2024-05-05 12:07:39.352 DEBUG (MainThread) [pyvlx] Spielzimmer position changed to: 0 % 2024-05-05 12:07:39.852 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-05-05 12:08:09.854 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing 2024-05-05 12:08:09.854 DEBUG (MainThread) [pyvlx] Heartbeat pulse 2024-05-05 12:08:09.855 DEBUG (MainThread) [pyvlx] SEND: <FrameGetStateRequest/> 2024-05-05 12:08:10.007 DEBUG (MainThread) [pyvlx] REC: <FrameGetStateConfirmation gateway_state="GatewayState.GATEWAY_MODE_WITH_ACTUATORS" gateway_sub_state="GatewaySubState.IDLE"/> 2024-05-05 12:08:10.008 DEBUG (MainThread) [pyvlx] SEND: <FrameStatusRequestRequest session_id="2719" node_ids="[0]" status_type="StatusType.REQUEST_CURRENT_POSITION" fpi1="254" fpi2="0"/> 2024-05-05 12:08:10.220 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestConfirmation session_id="2719" status="StatusRequestStatus.ACCEPTED"/> 2024-05-05 12:08:10.768 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestNotification session_id="2719" status_id="1" node_id="0" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="1" parameter_data="NodeParameter.MP: 0 %, "/> 2024-05-05 12:08:10.769 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameStatusRequestNotification session_id="2719" status_id="1" node_id="0" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="1" parameter_data="NodeParameter.MP: 0 %, "/> 2024-05-05 12:08:10.770 DEBUG (MainThread) [pyvlx] REC: <FrameSessionFinishedNotification session_id="2719"/> 2024-05-05 12:08:10.773 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="0" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="UNKNOWN" current_position_fp2="UNKNOWN" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-09-01 08:21:52"/> 2024-05-05 12:08:10.774 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="0" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="UNKNOWN" current_position_fp2="UNKNOWN" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-09-01 08:21:52"/> 2024-05-05 12:08:10.775 DEBUG (MainThread) [pyvlx] Abstellraum position changed to: 0 % 2024-05-05 12:08:11.272 DEBUG (MainThread) [pyvlx] SEND: <FrameStatusRequestRequest session_id="2720" node_ids="[1]" status_type="StatusType.REQUEST_CURRENT_POSITION" fpi1="254" fpi2="0"/> 2024-05-05 12:08:11.413 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestConfirmation session_id="2720" status="StatusRequestStatus.ACCEPTED"/> 2024-05-05 12:08:11.722 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestNotification session_id="2720" status_id="1" node_id="1" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:08:11.723 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameStatusRequestNotification session_id="2720" status_id="1" node_id="1" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:08:11.723 DEBUG (MainThread) [pyvlx] Treppenhaus position changed to: 0 % 2024-05-05 12:08:11.723 DEBUG (MainThread) [pyvlx] Treppenhaus position upper curtain changed to: 0 % 2024-05-05 12:08:11.724 DEBUG (MainThread) [pyvlx] Treppenhaus position lower curtain changed to: 0 % 2024-05-05 12:08:11.725 DEBUG (MainThread) [pyvlx] REC: <FrameSessionFinishedNotification session_id="2720"/> 2024-05-05 12:08:11.726 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="1" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-09-02 02:34:08"/> 2024-05-05 12:08:11.728 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="1" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-09-02 02:34:08"/> 2024-05-05 12:08:11.728 DEBUG (MainThread) [pyvlx] Treppenhaus position changed to: 0 % 2024-05-05 12:08:12.229 DEBUG (MainThread) [pyvlx] SEND: <FrameStatusRequestRequest session_id="2721" node_ids="[2]" status_type="StatusType.REQUEST_CURRENT_POSITION" fpi1="254" fpi2="0"/> 2024-05-05 12:08:12.357 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestConfirmation session_id="2721" status="StatusRequestStatus.ACCEPTED"/> 2024-05-05 12:08:12.971 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestNotification session_id="2721" status_id="1" node_id="2" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:08:12.972 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameStatusRequestNotification session_id="2721" status_id="1" node_id="2" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:08:12.972 DEBUG (MainThread) [pyvlx] Schlafzimmer position changed to: 0 % 2024-05-05 12:08:12.972 DEBUG (MainThread) [pyvlx] Schlafzimmer position upper curtain changed to: 0 % 2024-05-05 12:08:12.973 DEBUG (MainThread) [pyvlx] Schlafzimmer position lower curtain changed to: 0 % 2024-05-05 12:08:12.976 DEBUG (MainThread) [pyvlx] REC: <FrameSessionFinishedNotification session_id="2721"/> 2024-05-05 12:08:12.976 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="2" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-09-02 20:46:24"/> 2024-05-05 12:08:12.978 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="2" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-09-02 20:46:24"/> 2024-05-05 12:08:12.979 DEBUG (MainThread) [pyvlx] Schlafzimmer position changed to: 0 % 2024-05-05 12:08:13.479 DEBUG (MainThread) [pyvlx] SEND: <FrameStatusRequestRequest session_id="2722" node_ids="[3]" status_type="StatusType.REQUEST_CURRENT_POSITION" fpi1="254" fpi2="0"/> 2024-05-05 12:08:13.606 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestConfirmation session_id="2722" status="StatusRequestStatus.ACCEPTED"/> 2024-05-05 12:08:13.715 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestNotification session_id="2722" status_id="1" node_id="3" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:08:13.716 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameStatusRequestNotification session_id="2722" status_id="1" node_id="3" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:08:13.716 DEBUG (MainThread) [pyvlx] Spielzimmer position changed to: 0 % 2024-05-05 12:08:13.717 DEBUG (MainThread) [pyvlx] Spielzimmer position upper curtain changed to: 0 % 2024-05-05 12:08:13.717 DEBUG (MainThread) [pyvlx] Spielzimmer position lower curtain changed to: 0 % 2024-05-05 12:08:13.719 DEBUG (MainThread) [pyvlx] REC: <FrameSessionFinishedNotification session_id="2722"/> 2024-05-05 12:08:13.719 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="3" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-09-03 14:58:40"/> 2024-05-05 12:08:13.721 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="3" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-09-03 14:58:40"/> 2024-05-05 12:08:13.722 DEBUG (MainThread) [pyvlx] Spielzimmer position changed to: 0 % 2024-05-05 12:08:14.222 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-05-05 12:08:44.223 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing 2024-05-05 12:08:44.223 DEBUG (MainThread) [pyvlx] Heartbeat pulse 2024-05-05 12:08:44.223 DEBUG (MainThread) [pyvlx] SEND: <FrameGetStateRequest/> 2024-05-05 12:08:44.378 DEBUG (MainThread) [pyvlx] REC: <FrameGetStateConfirmation gateway_state="GatewayState.GATEWAY_MODE_WITH_ACTUATORS" gateway_sub_state="GatewaySubState.IDLE"/> 2024-05-05 12:08:44.379 DEBUG (MainThread) [pyvlx] SEND: <FrameStatusRequestRequest session_id="2723" node_ids="[0]" status_type="StatusType.REQUEST_CURRENT_POSITION" fpi1="254" fpi2="0"/> 2024-05-05 12:08:44.591 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestConfirmation session_id="2723" status="StatusRequestStatus.ACCEPTED"/> 2024-05-05 12:08:45.155 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestNotification session_id="2723" status_id="1" node_id="0" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="1" parameter_data="NodeParameter.MP: 0 %, "/> 2024-05-05 12:08:45.156 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameStatusRequestNotification session_id="2723" status_id="1" node_id="0" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="1" parameter_data="NodeParameter.MP: 0 %, "/> 2024-05-05 12:08:45.158 DEBUG (MainThread) [pyvlx] REC: <FrameSessionFinishedNotification session_id="2723"/> 2024-05-05 12:08:45.160 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="0" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="UNKNOWN" current_position_fp2="UNKNOWN" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-09-27 03:18:56"/> 2024-05-05 12:08:45.160 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="0" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="UNKNOWN" current_position_fp2="UNKNOWN" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-09-27 03:18:56"/> 2024-05-05 12:08:45.161 DEBUG (MainThread) [pyvlx] Abstellraum position changed to: 0 % 2024-05-05 12:08:45.660 DEBUG (MainThread) [pyvlx] SEND: <FrameStatusRequestRequest session_id="2724" node_ids="[1]" status_type="StatusType.REQUEST_CURRENT_POSITION" fpi1="254" fpi2="0"/> 2024-05-05 12:08:45.791 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestConfirmation session_id="2724" status="StatusRequestStatus.ACCEPTED"/> 2024-05-05 12:08:45.899 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestNotification session_id="2724" status_id="1" node_id="1" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:08:45.899 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameStatusRequestNotification session_id="2724" status_id="1" node_id="1" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:08:45.900 DEBUG (MainThread) [pyvlx] Treppenhaus position changed to: 0 % 2024-05-05 12:08:45.900 DEBUG (MainThread) [pyvlx] Treppenhaus position upper curtain changed to: 0 % 2024-05-05 12:08:45.900 DEBUG (MainThread) [pyvlx] Treppenhaus position lower curtain changed to: 0 % 2024-05-05 12:08:45.905 DEBUG (MainThread) [pyvlx] REC: <FrameSessionFinishedNotification session_id="2724"/> 2024-05-05 12:08:45.905 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="1" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-09-27 21:31:12"/> 2024-05-05 12:08:45.907 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="1" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-09-27 21:31:12"/> 2024-05-05 12:08:45.908 DEBUG (MainThread) [pyvlx] Treppenhaus position changed to: 0 % 2024-05-05 12:08:46.408 DEBUG (MainThread) [pyvlx] SEND: <FrameStatusRequestRequest session_id="2725" node_ids="[2]" status_type="StatusType.REQUEST_CURRENT_POSITION" fpi1="254" fpi2="0"/> 2024-05-05 12:08:46.534 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestConfirmation session_id="2725" status="StatusRequestStatus.ACCEPTED"/> 2024-05-05 12:08:46.617 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestNotification session_id="2725" status_id="1" node_id="2" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:08:46.617 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameStatusRequestNotification session_id="2725" status_id="1" node_id="2" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:08:46.618 DEBUG (MainThread) [pyvlx] Schlafzimmer position changed to: 0 % 2024-05-05 12:08:46.618 DEBUG (MainThread) [pyvlx] Schlafzimmer position upper curtain changed to: 0 % 2024-05-05 12:08:46.619 DEBUG (MainThread) [pyvlx] Schlafzimmer position lower curtain changed to: 0 % 2024-05-05 12:08:46.620 DEBUG (MainThread) [pyvlx] REC: <FrameSessionFinishedNotification session_id="2725"/> 2024-05-05 12:08:46.621 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="2" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-09-28 15:43:28"/> 2024-05-05 12:08:46.623 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="2" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-09-28 15:43:28"/> 2024-05-05 12:08:46.623 DEBUG (MainThread) [pyvlx] Schlafzimmer position changed to: 0 % 2024-05-05 12:08:47.124 DEBUG (MainThread) [pyvlx] SEND: <FrameStatusRequestRequest session_id="2726" node_ids="[3]" status_type="StatusType.REQUEST_CURRENT_POSITION" fpi1="254" fpi2="0"/> 2024-05-05 12:08:47.251 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestConfirmation session_id="2726" status="StatusRequestStatus.ACCEPTED"/> 2024-05-05 12:08:47.325 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestNotification session_id="2726" status_id="1" node_id="3" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:08:47.325 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameStatusRequestNotification session_id="2726" status_id="1" node_id="3" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:08:47.326 DEBUG (MainThread) [pyvlx] Spielzimmer position changed to: 0 % 2024-05-05 12:08:47.326 DEBUG (MainThread) [pyvlx] Spielzimmer position upper curtain changed to: 0 % 2024-05-05 12:08:47.326 DEBUG (MainThread) [pyvlx] Spielzimmer position lower curtain changed to: 0 % 2024-05-05 12:08:47.330 DEBUG (MainThread) [pyvlx] REC: <FrameSessionFinishedNotification session_id="2726"/> 2024-05-05 12:08:47.331 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="3" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-09-28 15:43:28"/> 2024-05-05 12:08:47.332 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="3" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-09-28 15:43:28"/> 2024-05-05 12:08:47.333 DEBUG (MainThread) [pyvlx] Spielzimmer position changed to: 0 % 2024-05-05 12:08:47.833 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping 2024-05-05 12:09:07.168 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="0" state="DONE" current_position="0 %" target="0 %" current_position_fp1="UNKNOWN" current_position_fp2="UNKNOWN" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-10-13 19:48:48"/> 2024-05-05 12:09:07.169 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="0" state="DONE" current_position="0 %" target="0 %" current_position_fp1="UNKNOWN" current_position_fp2="UNKNOWN" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-10-13 19:48:48"/> 2024-05-05 12:09:07.169 DEBUG (MainThread) [pyvlx] Abstellraum position changed to: 0 % 2024-05-05 12:09:08.240 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="1" state="DONE" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-10-14 14:01:04"/> 2024-05-05 12:09:08.241 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="1" state="DONE" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-10-14 14:01:04"/> 2024-05-05 12:09:08.241 DEBUG (MainThread) [pyvlx] Treppenhaus position changed to: 0 % 2024-05-05 12:09:09.350 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="2" state="DONE" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-10-15 08:13:20"/> 2024-05-05 12:09:09.351 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="2" state="DONE" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-10-15 08:13:20"/> 2024-05-05 12:09:09.351 DEBUG (MainThread) [pyvlx] Schlafzimmer position changed to: 0 % 2024-05-05 12:09:10.429 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="3" state="DONE" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-10-16 20:37:52"/> 2024-05-05 12:09:10.429 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="3" state="DONE" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-10-16 20:37:52"/> 2024-05-05 12:09:10.429 DEBUG (MainThread) [pyvlx] Spielzimmer position changed to: 0 % 2024-05-05 12:09:17.835 DEBUG (MainThread) [pyvlx] Heartbeat: pulsing 2024-05-05 12:09:17.835 DEBUG (MainThread) [pyvlx] Heartbeat pulse 2024-05-05 12:09:17.835 DEBUG (MainThread) [pyvlx] SEND: <FrameGetStateRequest/> 2024-05-05 12:09:17.990 DEBUG (MainThread) [pyvlx] REC: <FrameGetStateConfirmation gateway_state="GatewayState.GATEWAY_MODE_WITH_ACTUATORS" gateway_sub_state="GatewaySubState.IDLE"/> 2024-05-05 12:09:17.991 DEBUG (MainThread) [pyvlx] SEND: <FrameStatusRequestRequest session_id="2727" node_ids="[0]" status_type="StatusType.REQUEST_CURRENT_POSITION" fpi1="254" fpi2="0"/> 2024-05-05 12:09:18.202 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestConfirmation session_id="2727" status="StatusRequestStatus.ACCEPTED"/> 2024-05-05 12:09:18.740 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestNotification session_id="2727" status_id="1" node_id="0" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="1" parameter_data="NodeParameter.MP: 0 %, "/> 2024-05-05 12:09:18.740 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameStatusRequestNotification session_id="2727" status_id="1" node_id="0" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="1" parameter_data="NodeParameter.MP: 0 %, "/> 2024-05-05 12:09:18.742 DEBUG (MainThread) [pyvlx] REC: <FrameSessionFinishedNotification session_id="2727"/> 2024-05-05 12:09:18.745 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="0" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="UNKNOWN" current_position_fp2="UNKNOWN" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-10-22 22:16:00"/> 2024-05-05 12:09:18.746 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="0" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="UNKNOWN" current_position_fp2="UNKNOWN" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-10-22 22:16:00"/> 2024-05-05 12:09:18.747 DEBUG (MainThread) [pyvlx] Abstellraum position changed to: 0 % 2024-05-05 12:09:19.248 DEBUG (MainThread) [pyvlx] SEND: <FrameStatusRequestRequest session_id="2728" node_ids="[1]" status_type="StatusType.REQUEST_CURRENT_POSITION" fpi1="254" fpi2="0"/> 2024-05-05 12:09:19.377 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestConfirmation session_id="2728" status="StatusRequestStatus.ACCEPTED"/> 2024-05-05 12:09:19.685 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestNotification session_id="2728" status_id="1" node_id="1" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:09:19.686 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameStatusRequestNotification session_id="2728" status_id="1" node_id="1" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:09:19.687 DEBUG (MainThread) [pyvlx] Treppenhaus position changed to: 0 % 2024-05-05 12:09:19.687 DEBUG (MainThread) [pyvlx] Treppenhaus position upper curtain changed to: 0 % 2024-05-05 12:09:19.687 DEBUG (MainThread) [pyvlx] Treppenhaus position lower curtain changed to: 0 % 2024-05-05 12:09:19.690 DEBUG (MainThread) [pyvlx] REC: <FrameSessionFinishedNotification session_id="2728"/> 2024-05-05 12:09:19.691 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="1" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-10-23 16:28:16"/> 2024-05-05 12:09:19.692 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="1" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-10-23 16:28:16"/> 2024-05-05 12:09:19.693 DEBUG (MainThread) [pyvlx] Treppenhaus position changed to: 0 % 2024-05-05 12:09:20.194 DEBUG (MainThread) [pyvlx] SEND: <FrameStatusRequestRequest session_id="2729" node_ids="[2]" status_type="StatusType.REQUEST_CURRENT_POSITION" fpi1="254" fpi2="0"/> 2024-05-05 12:09:20.320 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestConfirmation session_id="2729" status="StatusRequestStatus.ACCEPTED"/> 2024-05-05 12:09:20.423 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestNotification session_id="2729" status_id="1" node_id="2" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:09:20.423 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameStatusRequestNotification session_id="2729" status_id="1" node_id="2" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:09:20.424 DEBUG (MainThread) [pyvlx] Schlafzimmer position changed to: 0 % 2024-05-05 12:09:20.424 DEBUG (MainThread) [pyvlx] Schlafzimmer position upper curtain changed to: 0 % 2024-05-05 12:09:20.424 DEBUG (MainThread) [pyvlx] Schlafzimmer position lower curtain changed to: 0 % 2024-05-05 12:09:20.429 DEBUG (MainThread) [pyvlx] REC: <FrameSessionFinishedNotification session_id="2729"/> 2024-05-05 12:09:20.430 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="2" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-10-23 16:28:16"/> 2024-05-05 12:09:20.432 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="2" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-10-23 16:28:16"/> 2024-05-05 12:09:20.432 DEBUG (MainThread) [pyvlx] Schlafzimmer position changed to: 0 % 2024-05-05 12:09:20.933 DEBUG (MainThread) [pyvlx] SEND: <FrameStatusRequestRequest session_id="2730" node_ids="[3]" status_type="StatusType.REQUEST_CURRENT_POSITION" fpi1="254" fpi2="0"/> 2024-05-05 12:09:21.057 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestConfirmation session_id="2730" status="StatusRequestStatus.ACCEPTED"/> 2024-05-05 12:09:21.360 DEBUG (MainThread) [pyvlx] REC: <FrameStatusRequestNotification session_id="2730" status_id="1" node_id="3" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:09:21.360 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameStatusRequestNotification session_id="2730" status_id="1" node_id="3" run_status="RunStatus.EXECUTION_COMPLETED" status_reply="StatusReply.COMMAND_COMPLETED_OK" status_type="StatusType.REQUEST_CURRENT_POSITION" status_count="3" parameter_data="NodeParameter.MP: 0 %, NodeParameter.FP1: 0 %, NodeParameter.FP2: 0 %, "/> 2024-05-05 12:09:21.361 DEBUG (MainThread) [pyvlx] Spielzimmer position changed to: 0 % 2024-05-05 12:09:21.361 DEBUG (MainThread) [pyvlx] Spielzimmer position upper curtain changed to: 0 % 2024-05-05 12:09:21.361 DEBUG (MainThread) [pyvlx] Spielzimmer position lower curtain changed to: 0 % 2024-05-05 12:09:21.366 DEBUG (MainThread) [pyvlx] REC: <FrameSessionFinishedNotification session_id="2730"/> 2024-05-05 12:09:21.367 DEBUG (MainThread) [pyvlx] REC: <FrameNodeStatePositionChangedNotification node_id="3" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-10-24 10:40:32"/> 2024-05-05 12:09:21.368 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameNodeStatePositionChangedNotification node_id="3" state="UNKNOWN" current_position="0 %" target="0 %" current_position_fp1="0 %" current_position_fp2="0 %" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2088-10-24 10:40:32"/> 2024-05-05 12:09:21.369 DEBUG (MainThread) [pyvlx] Spielzimmer position changed to: 0 % 2024-05-05 12:09:21.870 DEBUG (MainThread) [pyvlx] Heartbeat: sleeping
i have created a daily reboot of klf.
but after it connection is lost.
What is recommended?
2024-06-26 00:03:00.387 WARNING (MainThread) [pyvlx] KLF 200 reboot initiated 2024-06-26 00:03:00.537 WARNING (MainThread) [pyvlx] KLF200 is rebooting 2024-06-26 00:03:11.540 ERROR (MainThread) [homeassistant.components.automation.klf200_durchstarten] Velux KLF200 durchstarten: Error executing script. Unexpected error for call_service at pos 1: <PyVLXException description="Unable to reboot gateway." /> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 526, in _async_step await getattr(self, handler)() File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 763, in _async_call_service_step response_data = await self._async_run_long_action( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 726, in _async_run_long_action return await long_task ^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2741, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2784, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/velux/__init__.py", line 79, in async_reboot_gateway await pyvlx.reboot_gateway() File "/usr/local/lib/python3.12/site-packages/pyvlx/pyvlx.py", line 86, in reboot_gateway await self.klf200.reboot() File "/usr/local/lib/python3.12/site-packages/pyvlx/klf200gateway.py", line 112, in reboot await self.pyvlx.disconnect() File "/usr/local/lib/python3.12/site-packages/pyvlx/pyvlx.py", line 111, in disconnect await self.klf200.reboot() File "/usr/local/lib/python3.12/site-packages/pyvlx/klf200gateway.py", line 111, in reboot raise PyVLXException("Unable to reboot gateway.") pyvlx.exception.PyVLXException: <PyVLXException description="Unable to reboot gateway." /> 2024-06-26 00:03:11.545 ERROR (MainThread) [homeassistant.components.automation.klf200_durchstarten] While executing automation automation.klf200_durchstarten Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 723, in async_trigger return await self.action_script.async_run( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1769, in async_run return await asyncio.shield(create_eager_task(run.async_run())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 464, in async_run await self._async_step(log_exceptions=False) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 528, in _async_step self._handle_exception( File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 558, in _handle_exception raise exception File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 526, in _async_step await getattr(self, handler)() File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 763, in _async_call_service_step response_data = await self._async_run_long_action( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 726, in _async_run_long_action return await long_task ^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2741, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2784, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/velux/__init__.py", line 79, in async_reboot_gateway await pyvlx.reboot_gateway() File "/usr/local/lib/python3.12/site-packages/pyvlx/pyvlx.py", line 86, in reboot_gateway await self.klf200.reboot() File "/usr/local/lib/python3.12/site-packages/pyvlx/klf200gateway.py", line 112, in reboot await self.pyvlx.disconnect() File "/usr/local/lib/python3.12/site-packages/pyvlx/pyvlx.py", line 111, in disconnect await self.klf200.reboot() File "/usr/local/lib/python3.12/site-packages/pyvlx/klf200gateway.py", line 111, in reboot raise PyVLXException("Unable to reboot gateway.") pyvlx.exception.PyVLXException: <PyVLXException description="Unable to reboot gateway." />
Hello,
thanks for that really good integration - works actually perfectly fine!
Nevertheless, I´ve got an issue with the state of my sunblind. When the sun is shining and I need to pull out the sunblind on my terrace, the state is then "closed- 0%". When sun is gone, I´ll get the blind back into the case and state is "open - 100%".
I know that this is actually located in Home Assistant itself (or at least in the understanding of the wording), but in the german language its seems to be a bit strange that the blind is "closed" and at 0% when the sun is shining.
Example:
Sun is shining - sunblind is out of its case:
Sun is NOT shining - sunblind is in its case:
I hope you get the point I was trying to make ;)
Is there a possibility to invert the state of a specific blind and invert the %-number as well!?
Thanks
Daniel
In 8db2005 the pyvlx version was changed from 0.2.21
to 1.2.21
, however that version does not seem to exist. Might be a typo?
After updating to the latest version 2.9.3 the previous issue is gone (not able to address multiple shutters at once).
HA-Version: 2023.8.4
The shutters work fine now, but the following error message is flooding the logs.
It seems to be a pyvlx issue but I don't know if it is only in your fork or in the main version. That's why I posted the issue here.
If there is anything I can help with, just hit me up.
Source: /usr/local/lib/python3.11/site-packages/pyvlx/connection.py:59
First occurred: 13:56:51 (2893 occurrences)
Last logged: 19:22:49
Error in data_received
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/pyvlx/connection.py", line 55, in data_received
frame = frame_from_raw(raw)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyvlx/api/frame_creation.py", line 53, in frame_from_raw
frame.from_payload(payload)
File "/usr/local/lib/python3.11/site-packages/pyvlx/api/frames/frame_node_state_position_changed_notification.py", line 47, in from_payload
self.state = OperatingState(payload[1])
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 711, in __call__
return cls.__new__(cls, value)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 1136, in __new__
raise exc
File "/usr/local/lib/python3.11/enum.py", line 1113, in __new__
result = cls._missing_(value)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyvlx/const.py", line 588, in _missing_
return cls.UNDEFINED
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 783, in __getattr__
raise AttributeError(name) from None
AttributeError: UNDEFINED
Hi,
First of all thank you for your hard work realising this integration. So far it works well for me, except that there seems to be an issue with the opening/closing state.
When I open or close the cover, the cover itself correctly assumes the opening or closing state. However, the cover then never exits the opening or closing state, regardless if the cover is fully opened or closed. The only way to make the cover get its correct state is to call stop on it.
Here's an image where one can see that the cover is in the state opening. The current position is already 100% at that point. It even updates its position to 100% once it has fully opened but it's state remains opening.
Furthermore, if I use the position slider to move the cover, the cover starts moving and correctly displays opening/closing, but again never leaves this state even if the cover has already reached the position and stopped by itself. Note in the picture below that the cover has been in the state opening for 7 minutes (it isn't that slow :) ).
I have included a debug log during the operation of the cover.
home-assistant_velux_2023-03-01T12-59-48.627Z.log
I am currently running Home Assistant OS on a Raspberry Pi 4
Home Assistant version: 2023.2.5
Velux integration version: 2.8.5
The KLF 200 Gateway is rebooted via Power plug upon every restart of Home Assistant.
It would be great if you (@pawlizio) could have a look at this.
Is it possible to specify the limit values?Maybe as attributes or as sensors?In pyvlx it is already present. So you can tempalten it as a rain sensor:
# Read limits of windows
# limit = await pyvlx.nodes['Bath'].get_limitation()
# limit.min_value
# limit.max_value
I also found the other implementation where it is in there, but is not maintained further: https://github.com/mago0211/home-assistant-custom-component-velux2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.