You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every time I restart my Home Assistant my Risco Local Integration takes between 3-30min to load correctly(Panel Agility 4 with multisocket network card).
It fails and then restarts again, This is happening for some time now with no apparent error message.
However, I have managed to capture this error message. Keep in mind that I played around with Maximum Concurrent Connection with no difference
2024-11-14 23:22:32.214 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry MyHome Alarm for risco
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
return await fut
^^^^^^^^^
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/pyrisco/local/risco_socket.py", line 111, in send_command
return await asyncio.wait_for(future, 10)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 519, in wait_for
async with timeouts.timeout(timeout):
File "/usr/local/lib/python3.12/asyncio/timeouts.py", line 115, in aexit
raise TimeoutError from exc_val
�
TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/pyrisco/local/risco_socket.py", line 39, in connect
panel_id = int(await self.send_result_command('RID'), 16)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyrisco/local/risco_socket.py", line 101, in send_result_command
command = await self.send_command(command)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyrisco/local/risco_socket.py", line 113, in send_command
raise OperationError(f'Timeout in command: {command}')
pyrisco.common.OperationError: Timeout in command: RID
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/risco/init.py", line 71, in async_setup_entry
return await _async_setup_local_entry(hass, entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/risco/init.py", line 84, in _async_setup_local_entry
await risco.connect()
File "/usr/local/lib/python3.12/site-packages/pyrisco/local/risco_local.py", line 30, in connect
await self._rs.connect()
File "/usr/local/lib/python3.12/site-packages/pyrisco/local/risco_socket.py", line 49, in connect
await self._close()
File "/usr/local/lib/python3.12/site-packages/pyrisco/local/risco_socket.py", line 151, in _close
await asyncio.sleep(5)
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 665, in sleep
return await future
What version of Home Assistant Core has the issue?
2024.11.1
What was the last working version of Home Assistant Core?
It never worked
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Risco
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
The problem
Every time I restart my Home Assistant my Risco Local Integration takes between 3-30min to load correctly(Panel Agility 4 with multisocket network card).
It fails and then restarts again, This is happening for some time now with no apparent error message.
However, I have managed to capture this error message. Keep in mind that I played around with Maximum Concurrent Connection with no difference
2024-11-14 23:22:32.214 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry MyHome Alarm for risco
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
return await fut
^^^^^^^^^
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/pyrisco/local/risco_socket.py", line 111, in send_command
return await asyncio.wait_for(future, 10)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 519, in wait_for
async with timeouts.timeout(timeout):
File "/usr/local/lib/python3.12/asyncio/timeouts.py", line 115, in aexit
raise TimeoutError from exc_val
�
TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/pyrisco/local/risco_socket.py", line 39, in connect
panel_id = int(await self.send_result_command('RID'), 16)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyrisco/local/risco_socket.py", line 101, in send_result_command
command = await self.send_command(command)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyrisco/local/risco_socket.py", line 113, in send_command
raise OperationError(f'Timeout in command: {command}')
pyrisco.common.OperationError: Timeout in command: RID
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/risco/init.py", line 71, in async_setup_entry
return await _async_setup_local_entry(hass, entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/risco/init.py", line 84, in _async_setup_local_entry
await risco.connect()
File "/usr/local/lib/python3.12/site-packages/pyrisco/local/risco_local.py", line 30, in connect
await self._rs.connect()
File "/usr/local/lib/python3.12/site-packages/pyrisco/local/risco_socket.py", line 49, in connect
await self._close()
File "/usr/local/lib/python3.12/site-packages/pyrisco/local/risco_socket.py", line 151, in _close
await asyncio.sleep(5)
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 665, in sleep
return await future
What version of Home Assistant Core has the issue?
2024.11.1
What was the last working version of Home Assistant Core?
It never worked
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Risco
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: