Integration d'une free-box revolution sur HA demande de conseil

Bonjour à tous,

Je viens remplacer ma box par une Free box révolution.

Et je regarde pour utiliser l’intégration du même mon (freebox) pour le moment sans succès.

Pour information, j’utilise un Raspberry avec pi-hole en dhcp (Fonction enlever sur la box).

J’ai aussi tenté sans le raspberry et avec le DHCP de valider sur la box aussi sans résultat.

Et je ne comprend pas le log pouvez-vous m’aider ?

Enregistreur: homeassistant.components.freebox.config_flow
Source: components/freebox/config_flow.py:68
intégration: freebox (documentation, problèmes)
S'est produit pour la première fois: 18:03:29 (2 occurrences)
Dernier enregistrement: 18:07:10

Unknown error connecting with Freebox router at xxxxxx.fbxos.fr
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1025, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1122, in create_connection
    raise exceptions[0]
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1104, in create_connection
    sock = await self._connect_sock(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1007, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 641, in sock_connect
    return await fut
           ^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 681, in _sock_connect_cb
    raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('82.64.226.6', 49819)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/freebox/config_flow.py", line 68, in async_step_link
    await fbx.open(self._data[CONF_HOST], self._data[CONF_PORT])
  File "/usr/local/lib/python3.12/site-packages/freebox_api/aiofreepybox.py", line 83, in open
    self._access = await self._get_freebox_access(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/freebox_api/aiofreepybox.py", line 162, in _get_freebox_access
    app_token, track_id = await self._get_app_token(base_url, app_desc, timeout)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/freebox_api/aiofreepybox.py", line 226, in _get_app_token
    r = await self._session.post(url, data=data, timeout=timeout)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 581, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 544, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 944, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1257, in _create_direct_connection
    raise last_exc
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1226, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1033, in _wrap_create_connection
    raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host zzwluboh.fbxos.fr:49819 ssl:default [Connect call failed ('82.64.226.6', 49819)]

Merci par avance pour vos retours

Yves

System Information

version core-2024.7.1
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 6.6.33-haos
arch x86_64
timezone Europe/Paris
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 5000
Installed Version 1.34.0
Stage running
Available Repositories 1385
Downloaded Repositories 10
Home Assistant Cloud
logged_in true
subscription_expiration 2 août 2024 à 02:00
relayer_connected true
relayer_region eu-central-1
remote_enabled true
remote_connected true
alexa_enabled true
google_enabled false
remote_server eu-central-1-17.ui.nabu.casa
certificate_status ready
instance_id a66f0c0eb6b847ab9028f41632dc0111
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 12.4
update_channel stable
supervisor_version supervisor-2024.06.2
agent_version 1.6.0
docker_version 26.1.4
disk_total 219.4 GB
disk_used 20.7 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board generic-x86-64
supervisor_api ok
version_api ok
installed_addons ESPHome (2024.6.6), Mosquitto broker (6.4.1), Zigbee2MQTT (1.36.1-1), Advanced SSH & Web Terminal (18.0.0), File editor (5.8.0), Matter Server (6.2.1), Network UPS Tools (0.13.0), Samba share (12.3.1), Home Assistant Google Drive Backup (0.112.1), InfluxDB (5.0.0), Grafana (10.0.0), MariaDB (2.7.1), Nginx Proxy Manager (1.0.1), Vaultwarden (Bitwarden) (0.21.2), UniFi Network Application (3.1.0)
Dashboards
dashboards 2
resources 3
views 23
mode storage
Recorder
oldest_recorder_run 28 juin 2024 à 16:01
current_recorder_run 7 juillet 2024 à 13:48
estimated_db_size 616.44 MiB
database_engine sqlite
database_version 3.45.3

Tu as bien fait ça sur ta freebox ?

You must have set a password for your Freebox router web administration page. Enable the option “Permettre les nouvelles demandes d’associations” and check that the option “Accès à distance sécurisé à Freebox OS” is active in “Gestion des ports” > “Connexions entrantes”.

Tu as bien un des modèles de freebox supportés ? Delta, Pop, Revolution ou Mini 4K ?

Bonsoir,

Merci pour ton retour cela m’a permis de valider la connexion :+1:

je n’avais pas valider l’accès a la Freebox

image

Yves