I'm getting issues with reading Livebox data that I'm using as presence sensors - the integraton is losing connection for approximatelly 1 minute every 15-20 minutes.
Below logs :
`Logger: custom_components.livebox
Source: custom_components/livebox/init.py:151
Integration: Orange Livebox (documentation, issues)
First occurred: 5:29:25 PM (2 occurrences)
Last logged: 5:45:32 PM
Unexpected error fetching livebox data:
Traceback (most recent call last):
File "/config/custom_components/livebox/bridge.py", line 60, in async_make_request
return await self.hass.async_add_executor_job(call_api, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiosysbus/api/device.py", line 76, in get_devices
return self._access.post("Devices", "get", conf)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiosysbus/access.py", line 171, in post
return self._perform_request(self.session.post, json=data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiosysbus/access.py", line 142, in _perform_request
raise HttpRequestError(
aiosysbus.exceptions.HttpRequestError: Error HttpRequest (APIResponse: 504)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/livebox/init.py", line 140, in _async_update_data
"devices": await self.bridge.async_get_devices(lan_tracking),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/livebox/bridge.py", line 77, in async_get_devices
devices = await self.async_make_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/livebox/bridge.py", line 63, in async_make_request
raise LiveboxException from error
aiosysbus.exceptions.LiveboxException
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/livebox/init.py", line 151, in _async_update_data
raise LiveboxException(error) from error
aiosysbus.exceptions.LiveboxException`
`Logger: custom_components.livebox.bridge
Source: custom_components/livebox/bridge.py:141
Integration: Orange Livebox (documentation, issues)
First occurred: 5:45:32 PM (1 occurrences)
Last logged: 5:45:32 PM
Hi,
I'm getting issues with reading Livebox data that I'm using as presence sensors - the integraton is losing connection for approximatelly 1 minute every 15-20 minutes.
Below logs :
`Logger: custom_components.livebox Source: custom_components/livebox/init.py:151 Integration: Orange Livebox (documentation, issues) First occurred: 5:29:25 PM (2 occurrences) Last logged: 5:45:32 PM
Unexpected error fetching livebox data: Traceback (most recent call last): File "/config/custom_components/livebox/bridge.py", line 60, in async_make_request return await self.hass.async_add_executor_job(call_api, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/aiosysbus/api/device.py", line 76, in get_devices return self._access.post("Devices", "get", conf) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/aiosysbus/access.py", line 171, in post return self._perform_request(self.session.post, json=data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/aiosysbus/access.py", line 142, in _perform_request raise HttpRequestError( aiosysbus.exceptions.HttpRequestError: Error HttpRequest (APIResponse: 504)
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/config/custom_components/livebox/init.py", line 140, in _async_update_data "devices": await self.bridge.async_get_devices(lan_tracking), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/livebox/bridge.py", line 77, in async_get_devices devices = await self.async_make_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/livebox/bridge.py", line 63, in async_make_request raise LiveboxException from error aiosysbus.exceptions.LiveboxException
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/livebox/init.py", line 151, in _async_update_data raise LiveboxException(error) from error aiosysbus.exceptions.LiveboxException`
`Logger: custom_components.livebox.bridge Source: custom_components/livebox/bridge.py:141 Integration: Orange Livebox (documentation, issues) First occurred: 5:45:32 PM (1 occurrences) Last logged: 5:45:32 PM
HTTP Request (Error HttpRequest (APIResponse: 504))`