Comments (10)
For what I understand with stock we're still one version behind pyvlx latest.
I've just upgraded HA to the latest (2022.7.0) which has finally bumped pyvlx to the newest version (pyvlx 0.2.20 from 10 Jan 2022)
It solved my problem for now :)
from pyvlx.
same for core-2021.6.2
a rollback to 2021.5.5 solves the issue
from pyvlx.
same for core-2021.6.3
`Logger: homeassistant.setup
Source: components/velux/init.py:76
First occurred: 9:36:28 (1 occurrences)
Last logged: 9:36:28
Error during setup of component velux
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 248, in _async_setup_component
result = await task
File "/usr/src/homeassistant/homeassistant/components/velux/init.py", line 31, in async_setup
await hass.data[DATA_VELUX].async_start()
File "/usr/src/homeassistant/homeassistant/components/velux/init.py", line 76, in async_start
await self.pyvlx.load_scenes()
File "/usr/local/lib/python3.8/site-packages/pyvlx/pyvlx.py", line 80, in load_scenes
await self.scenes.load()
File "/usr/local/lib/python3.8/site-packages/pyvlx/scenes.py", line 51, in load
await get_scene_list.do_api_call()
File "/usr/local/lib/python3.8/site-packages/pyvlx/api/api_event.py", line 21, in do_api_call
await self.send_frame()
File "/usr/local/lib/python3.8/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.8/site-packages/pyvlx/pyvlx.py", line 66, in send_frame
await self.connect()
File "/usr/local/lib/python3.8/site-packages/pyvlx/pyvlx.py", line 43, in connect
await self.connection.connect()
File "/usr/local/lib/python3.8/site-packages/pyvlx/connection.py", line 87, 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
`
from pyvlx.
@Julius2342 this still remains an issue for me everytime I upgrade/restart/...
I can only say it started sinds one of the core-2016.6.x upgrades.
Aren't you experiencing the same issues? I assume you also use the klf-200 with home-assistant?
from pyvlx.
same on 2021.6.5
Logger: homeassistant.setup
Source: components/velux/init.py:76
First occurred: 01:19:25 (1 occurrences)
Last logged: 01:19:25
Error during setup of component velux
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 248, in _async_setup_component
result = await task
File "/usr/src/homeassistant/homeassistant/components/velux/init.py", line 31, in async_setup
await hass.data[DATA_VELUX].async_start()
File "/usr/src/homeassistant/homeassistant/components/velux/init.py", line 76, in async_start
await self.pyvlx.load_scenes()
File "/usr/local/lib/python3.8/site-packages/pyvlx/pyvlx.py", line 80, in load_scenes
await self.scenes.load()
File "/usr/local/lib/python3.8/site-packages/pyvlx/scenes.py", line 51, in load
await get_scene_list.do_api_call()
File "/usr/local/lib/python3.8/site-packages/pyvlx/api/api_event.py", line 21, in do_api_call
await self.send_frame()
File "/usr/local/lib/python3.8/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.8/site-packages/pyvlx/pyvlx.py", line 66, in send_frame
await self.connect()
File "/usr/local/lib/python3.8/site-packages/pyvlx/pyvlx.py", line 43, in connect
await self.connection.connect()
File "/usr/local/lib/python3.8/site-packages/pyvlx/connection.py", line 87, 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
from pyvlx.
@vaandefanel : for me it mostly kicks in after a 'couple' restart cores... but it's far from ideal because 'couple' is undefined and sometimes it takes like 20 restarts before it finally works again.
I have it running now in core-2021.6.6
from pyvlx.
Hi! Swooping in here randomly:
Are you positive it actually has to do with the HA core version?
The timeouts can randomly occur when the gateway has both connections occupied (KLF200 can only handle 2 connections, they time out after 15 minutes).
Maybe try upgrading hass, unplug KLF a few seconds, start KLF, start HA and see if it connects.
from pyvlx.
Hi,
Each time I did the upgrade I did restart the KLF at a given point...
When rolling back, the issue was resolved...
I don't want to pin-point it to the core version, I'm wondering if other users have core-2021.6.x and the KLF without issues
from pyvlx.
I have no issues using:
HA 2021.6.6
With this extra PR: home-assistant/core#42773
pyvlx installed from git
I would first try updating pyvlx and if that does not fix it try the PR
from pyvlx.
Hi,
It was working almost fine for me for some time but now even after multiple reboot I have :
File "/usr/src/homeassistant/homeassistant/setup.py", line 235, in _async_setup_component
result = await task
File "/usr/src/homeassistant/homeassistant/components/velux/__init__.py", line 39, in async_setup
await hass.data[DATA_VELUX].async_start()
File "/usr/src/homeassistant/homeassistant/components/velux/__init__.py", line 84, in async_start
await self.pyvlx.load_scenes()
File "/usr/local/lib/python3.9/site-packages/pyvlx/pyvlx.py", line 80, in load_scenes
await self.scenes.load()
File "/usr/local/lib/python3.9/site-packages/pyvlx/scenes.py", line 51, in load
await get_scene_list.do_api_call()
File "/usr/local/lib/python3.9/site-packages/pyvlx/api/api_event.py", line 21, in do_api_call
await self.send_frame()
File "/usr/local/lib/python3.9/site-packages/pyvlx/api/api_event.py", line 33, in send_frame
await self.pyvlx.send_frame(self.request_frame())
File "/usr/local/lib/python3.9/site-packages/pyvlx/pyvlx.py", line 66, in send_frame
await self.connect()
File "/usr/local/lib/python3.9/site-packages/pyvlx/pyvlx.py", line 43, in connect
await self.connection.connect()
File "/usr/local/lib/python3.9/site-packages/pyvlx/connection.py", line 87, in connect
self.transport, _ = await self.loop.create_connection(
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1090, in create_connection
transport, protocol = await self._create_connection_transport(
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1120, in _create_connection_transport
await waiter
ConnectionAbortedError: SSL handshake is taking longer than 60.0 seconds: aborting the connection
My config:
Home Assistant Core 2022.6.7
Home Assistant Supervisor 2022.06.2
Home Assistant OS 8.2
For what I understand with stock we're still one version behind pyvlx latest.
Do you have a "magic" reboot sequence or some hack to make it work ?
from pyvlx.
Related Issues (20)
- Different venetian blinds are 'open' at different orientation values HOT 2
- Get position while moving a cover HOT 4
- Current position doesn't work HOT 15
- Add outdoor heater functionality?
- Python 3.10: DeprecationWarning: There is no current event loop
- Velux shutter in Home Assistant does not report state "opening" and "closing"
- Serial Number and KLF 200 HOT 2
- "Unable to send command" debug HOT 10
- Which Python versions are supported? HOT 4
- Enable velocity parameter
- Stop cover command throws an error
- Garage door is not reporting its position
- Upload to Pypi HOT 3
- Velux component: asynchronous startup HOT 4
- DEXXO SMART io not working HOT 5
- [Feature request] Support silent mode HOT 4
- Build failure with Python 3.10 HOT 2
- Rain Sensor HOT 55
- Inverted status for awnings HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyvlx.