Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection problem with home assistant #160

Open
eric97500 opened this issue Dec 28, 2024 · 2 comments
Open

Connection problem with home assistant #160

eric97500 opened this issue Dec 28, 2024 · 2 comments

Comments

@eric97500
Copy link

Hello, when I enter my login from my Livebox 7 I get error messages,

livebox

Logs details (ERROR)

Logger: custom_components.livebox.coordinator
Source: helpers/update_coordinator.py:379
integration: Orange Livebox (documentation, issues)
First occurred: 1:46:13 PM (14 occurrences)
Last logged: 1:50:18 PM
Unexpected error fetching livebox data

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 379, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/livebox/coordinator.py", line 72, in _async_update_data
devices, device_counters = await self.async_get_devices(lan_tracking, wifi_tracking)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/livebox/coordinator.py", line 114, in async_get_devices
devices = await self._make_request(
^^^^^^^^^^^^^^^^^^^^^^^^^
self.api.devices.async_get_devices, parameters
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/config/custom_components/livebox/coordinator.py", line 223, in _make_request
return await func(*args)
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiosysbus/api/device.py", line 165, in async_get_devices
return await self._auth.post("Devices", "get", conf)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiosysbus/auth.py", line 143, in post
return await self.async_request(method="post", json=data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiosysbus/auth.py", line 124, in async_request
rjson = await response.json()
^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/aiohttp_client.py", line 82, in json
return await super().json(*args, loads=loads, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 1298, in json
return loads(stripped.decode(encoding))
~~~~~~~~~~~~~~~^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd7 in position 92378: invalid continuation byte

Livebox 7
Fabricant : Sagemcom
Version de firmware : G07.R02.C02_18
Version de firmware Orange : sbl-G7.R2.C2-fr

Home assistant
Core : 2024.12.5
Frontend : 20241127.8

Thank you for your help

Sincerely
Eric

@cyr-ius
Copy link
Owner

cyr-ius commented Jan 3, 2025

Please enable diagnostic logging and upload file

@Gacek74
Copy link

Gacek74 commented Jan 17, 2025

The application constantly disables internet access to Shelly devices. Disables all switches after they are enabled
home-assistant_livebox_2025-01-17T18-59-32.028Z.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants