-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Ciao, ho installato l'integrazione Elmax da poco e presenta questi errori impedendone l'utilizzo, poichè non sono mai disponibili le entità.
Sembra essere un problema di versione websocket? o SSL?
errore 1
Registratore: elmax_api.push.push
Fonte: /usr/local/lib/python3.13/site-packages/elmax_api/push/push.py:136
Prima occorrenza: 11:21:04 (115 occorrenze)
Ultimo accesso: 12:17:12
Error occurred when handling websocket connection. We will re-establish the connection in 15 seconds.
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/elmax_api/push/push.py", line 132, in _looper
connection = await self._connect()
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/elmax_api/push/push.py", line 92, in _connect
return await websockets.connect(self._endpoint, ssl=None, additional_headers={
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"Authorization": self._client._raw_jwt
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
})
^^
File "/usr/local/lib/python3.13/site-packages/websockets/asyncio/client.py", line 442, in __await_impl__
self.connection = await self.create_connection()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/websockets/asyncio/client.py", line 357, in create_connection
raise ValueError("ssl=None is incompatible with a wss:// URI")
ValueError: ssl=None is incompatible with a wss:// URI
errore 2
Registratore: homeassistant.config_entries
Fonte: config_entries.py:640
Prima occorrenza: 11:21:07 (2 occorrenze)
Ultimo accesso: 12:17:15
Error setting up entry Elmax Direct 19007819c53cd0e3c45 for elmax
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/yarl/_parse.py", line 134, in split_netloc
port = int(port_str)
ValueError: invalid literal for int() with base 10: ' sembra indicare ipv6 qui :443'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 640, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/elmax/__init__.py", line 93, in async_setup_entry
client, panel = await _load_elmax_panel_client(entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/elmax/__init__.py", line 55, in _load_elmax_panel_client
client = ElmaxLocal(
panel_api_url=client_api_url,
panel_code=entry.data[CONF_ELMAX_PANEL_PIN],
ssl_context=custom_ssl_context,
)
File "/usr/local/lib/python3.13/site-packages/elmax_api/http.py", line 504, in __init__
super(ElmaxLocal, self).__init__(base_url=panel_api_url, ssl_context=ssl_context)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/elmax_api/http.py", line 94, in __init__
self._base_url = URL(base_url)
~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/yarl/_url.py", line 355, in __new__
return pre_encoded_url(val) if encoded else encode_url(val)
~~~~~~~~~~^^^^^
File "/usr/local/lib/python3.13/site-packages/yarl/_url.py", line 153, in encode_url
username, password, host, port = split_netloc(netloc)
~~~~~~~~~~~~^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/yarl/_parse.py", line 136, in split_netloc
raise ValueError("Invalid URL: port can't be converted to integer")
ValueError: Invalid URL: port can't be converted to integer
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels