Aide zigbee2mqtt

Mon problème

bonjour,
après plusieurs tuto ,vidéo pour installer zigbee2mqtt ,j’arrive toujours au meme point avec un message d’erreur.
dernier essai avec ce tuto:
Comment installer MQTT et Zigbee2MQTT sur Home Assistant 2024? (domo-blog.fr)

voici ma config zigbee2mqtt et son journal:


et voici le journal de mqtt

je précise que je suis débutant ,c’est mon premier home assistant :sweat_smile:
merci aux âmes charitable pour leur aide :hugs:
pour info j’utilise la clé sonoff zigbee 3.0 version P

Ma configuration

System Information

version core-2024.3.0
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.6.16-haos
arch x86_64
timezone Europe/Paris
config_dir /config
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 12.0
update_channel stable
supervisor_version supervisor-2024.02.1
agent_version 1.6.0
docker_version 24.0.7
disk_total 234.0 GB
disk_used 5.8 GB
healthy true
supported true
board generic-x86-64
supervisor_api ok
version_api ok
installed_addons ZigStar TI CC2652P/P7 FW Flasher (0.4.0), Mosquitto broker (6.4.0), Zigbee2MQTT (1.36.0-1)
Dashboards
dashboards 1
resources 0
mode auto-gen
Recorder
oldest_recorder_run 4 mars 2024 à 20:17
current_recorder_run 11 mars 2024 à 13:13
estimated_db_size 1.52 MiB
database_engine sqlite
database_version 3.44.2

Salut, parfois il faut attendre un peu avant d’accéder à l’interface de Z2M.
Réactualise les logs de Z2M pour voir si çà a bien démarré.

j’ai essayé d’actualisé mais ca ne change rien ,l’addon s’arrête même

partage tes logs stp.

désolé je ne sais pas si c’est bien cela que tu me demande:

2024-03-11 13:54:41.088 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-11 13:54:41.759 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2024-03-11 13:54:41.787 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=8 from 2024-03-11 12:13:07.504667)
2024-03-11 13:54:42.710 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (fr) string component.homeassistant.issues.config_entry_reauth.title failed
2024-03-11 14:24:48.162 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/api.py », line 1100, in request_callback_rsp
return await callback_rsp
^^^^^^^^^^^^^^^^^^
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/api.py », line 1097, in request_callback_rsp
async with async_timeout.timeout(timeout):
File « /usr/local/lib/python3.12/site-packages/async_timeout/init.py », line 141, in aexit
self._do_exit(exc_type)
File « /usr/local/lib/python3.12/site-packages/async_timeout/init.py », line 228, in _do_exit
raise asyncio.TimeoutError
TimeoutError
2024-03-11 14:29:03.806 WARNING (MainThread) [zigpy.application] Watchdog failure
Traceback (most recent call last):
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/api.py », line 1059, in request
response = await response_future
^^^^^^^^^^^^^^^^^^^^^
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File « /usr/local/lib/python3.12/site-packages/zigpy/application.py », line 673, in _watchdog_loop
await self.watchdog_feed()
File « /usr/local/lib/python3.12/site-packages/zigpy/application.py », line 655, in watchdog_feed
await self._watchdog_feed()
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/zigbee/application.py », line 628, in _watchdog_feed
await self._znp.request(c.SYS.Ping.Req())
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/api.py », line 1055, in request
async with async_timeout.timeout(
File « /usr/local/lib/python3.12/site-packages/async_timeout/init.py », line 141, in aexit
self._do_exit(exc_type)
File « /usr/local/lib/python3.12/site-packages/async_timeout/init.py », line 228, in _do_exit
raise asyncio.TimeoutError
TimeoutError
2024-03-11 14:33:49.184 WARNING (MainThread) [zigpy.backups] Failed to create a network backup
Traceback (most recent call last):
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/api.py », line 1059, in request
response = await response_future
^^^^^^^^^^^^^^^^^^^^^
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File « /usr/local/lib/python3.12/site-packages/zigpy/backups.py », line 220, in _backup_loop
await self.create_backup()
File « /usr/local/lib/python3.12/site-packages/zigpy/backups.py », line 143, in create_backup
await self.app.load_network_info(load_devices=load_devices)
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/zigbee/application.py », line 144, in load_network_info
await self._znp.load_network_info(load_devices=load_devices)
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/api.py », line 238, in load_network_info
await self._load_network_info(load_devices=load_devices)
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/api.py », line 105, in _load_network_info
nib = await self.nvram.osal_read(OsalNvIds.NIB, item_type=t.NIB)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/nvram.py », line 168, in osal_read
length = (await self.znp.request(c.SYS.OSALNVLength.Req(Id=nv_id))).ItemLen
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/api.py », line 1055, in request
async with async_timeout.timeout(
File « /usr/local/lib/python3.12/site-packages/async_timeout/init.py », line 141, in aexit
self._do_exit(exc_type)
File « /usr/local/lib/python3.12/site-packages/async_timeout/init.py », line 228, in _do_exit
raise asyncio.TimeoutError
TimeoutError
2024-03-11 14:34:04.223 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/api.py », line 1098, in request_callback_rsp
await self.request(request, timeout=timeout, **response_params)
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/api.py », line 1059, in request
response = await response_future
^^^^^^^^^^^^^^^^^^^^^
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/api.py », line 1097, in request_callback_rsp
async with async_timeout.timeout(timeout):
File « /usr/local/lib/python3.12/site-packages/async_timeout/init.py », line 141, in aexit
self._do_exit(exc_type)
File « /usr/local/lib/python3.12/site-packages/async_timeout/init.py », line 228, in _do_exit
raise asyncio.TimeoutError
TimeoutError
2024-03-11 14:34:12.202 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/api.py », line 1098, in request_callback_rsp
await self.request(request, timeout=timeout, **response_params)
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/api.py », line 1033, in request
async with ctx:
File « /usr/local/lib/python3.12/site-packages/zigpy/datastructures.py », line 22, in aenter
await self.on_enter()
File « /usr/local/lib/python3.12/site-packages/zigpy/datastructures.py », line 111, in acquire
await fut
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/api.py », line 1097, in request_callback_rsp
async with async_timeout.timeout(timeout):
File « /usr/local/lib/python3.12/site-packages/async_timeout/init.py », line 141, in aexit
self._do_exit(exc_type)
File « /usr/local/lib/python3.12/site-packages/async_timeout/init.py », line 228, in _do_exit
raise asyncio.TimeoutError
TimeoutError
2024-03-11 14:34:19.229 WARNING (MainThread) [zigpy.application] Watchdog failure
Traceback (most recent call last):
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/api.py », line 1059, in request
response = await response_future
^^^^^^^^^^^^^^^^^^^^^
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File « /usr/local/lib/python3.12/site-packages/zigpy/application.py », line 673, in _watchdog_loop
await self.watchdog_feed()
File « /usr/local/lib/python3.12/site-packages/zigpy/application.py », line 655, in watchdog_feed
await self._watchdog_feed()
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/zigbee/application.py », line 628, in _watchdog_feed
await self._znp.request(c.SYS.Ping.Req())
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/api.py », line 1055, in request
async with async_timeout.timeout(
File « /usr/local/lib/python3.12/site-packages/async_timeout/init.py », line 141, in aexit
self._do_exit(exc_type)
File « /usr/local/lib/python3.12/site-packages/async_timeout/init.py », line 228, in _do_exit
raise asyncio.TimeoutError
TimeoutError
2024-03-11 14:34:19.238 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File « /usr/src/homeassistant/homeassistant/components/zha/sensor.py », line 263, in _refresh
await self.async_update()
File « /usr/src/homeassistant/homeassistant/components/zha/entity.py », line 256, in async_update
await asyncio.gather(*tasks)
File « /usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/homeautomation.py », line 127, in async_update
result = await self.get_attributes(attrs, from_cache=False, only_cache=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File « /usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/init.py », line 513, in _get_attributes
read, _ = await self.cluster.read_attributes(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File « /usr/local/lib/python3.12/site-packages/zigpy/zcl/init.py », line 528, in read_attributes
result = await self.read_attributes_raw(to_read, manufacturer=manufacturer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File « /usr/local/lib/python3.12/site-packages/zigpy/quirks/init.py », line 289, in read_attributes_raw
results = await super().read_attributes_raw(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File « /usr/local/lib/python3.12/site-packages/zigpy/quirks/init.py », line 334, in _read_attributes
return await super()._read_attributes(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File « /usr/local/lib/python3.12/site-packages/zigpy/zcl/init.py », line 377, in request
return await self._endpoint.request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File « /usr/local/lib/python3.12/site-packages/zigpy/endpoint.py », line 253, in request
return await self.device.request(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File « /usr/local/lib/python3.12/site-packages/zigpy/device.py », line 339, in request
await send_request()
File « /usr/local/lib/python3.12/site-packages/zigpy/application.py », line 841, in request
await self.send_packet(
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/zigbee/application.py », line 959, in send_packet
await self._send_request_raw(
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/zigbee/application.py », line 850, in _send_request_raw
response = await asyncio.shield(
^^^^^^^^^^^^^^^^^^^^^
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/api.py », line 1098, in request_callback_rsp
await self.request(request, timeout=timeout, **response_params)
File « /usr/local/lib/python3.12/site-packages/zigpy_znp/api.py », line 1052, in request
self._uart.send(frame)
^^^^^^^^^^^^^^^
AttributeError: ‹ NoneType › object has no attribute ‹ send ›
2024-03-11 14:34:19.259 WARNING (MainThread) [homeassistant.helpers.dispatcher] Unable to remove unknown dispatcher <bound method GroupProbe._reprobe_group of <homeassistant.components.zha.core.discovery.GroupProbe object at 0x7f2fac7dd220>>
2024-03-11 14:34:19.259 WARNING (MainThread) [homeassistant.helpers.dispatcher] Unable to remove unknown dispatcher <bound method GroupProbe._reprobe_group of <homeassistant.components.zha.core.discovery.GroupProbe object at 0x7f2fac7dd220>>
2024-03-11 14:34:19.259 WARNING (MainThread) [homeassistant.helpers.dispatcher] Unable to remove unknown dispatcher <bound method GroupProbe._reprobe_group of <homeassistant.components.zha.core.discovery.GroupProbe object at 0x7f2fac7dd220>>
2024-03-11 14:34:19.259 WARNING (MainThread) [homeassistant.helpers.dispatcher] Unable to remove unknown dispatcher <bound method GroupProbe._reprobe_group of <homeassistant.components.zha.core.discovery.GroupProbe object at 0x7f2fac7dd220>>
2024-03-11 14:34:19.259 WARNING (MainThread) [homeassistant.helpers.dispatcher] Unable to remove unknown dispatcher <bound method GroupProbe._reprobe_group of <homeassistant.components.zha.core.discovery.GroupProbe object at 0x7f2fac7dd220>>

il faut éviter de mettre un /dev/ttymachin, l’usb se renumérote à chaque reboot… et pas toujours dans le bon ordre. par contre, le device placé dans /dev/serial/by-id/ gardera le même nom tout au long de sa vie.

Quand tu publies tes logs, utilises les balises pour que ce soit plus lisible.

dans les logs, ils parle de zha. :
« /usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/homeautomation.py », line 127, in async_update
result = await self.get_attributes(attrs, from_cache=False, only_cache=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

c’est soit zha, soit zigbee2mqtt. les deux c’est pas possible.

ok ,comment tu utilise les balises? désolé de mon ignorance

d’accord, du coup faut que je supprime zha?

oui tu ne peux pas avoir les2 sur une seule clé.

oui, zha est l’intégration zigbee d’origine, il faut la retirer si tu veux mettre une autre intégration zigbee que celle inclue dans Home Assistant.

d’accord merci, je supprime cela?

soit tu le laisse et tu l’utilise comme il l’est, soit tu le supprime et tu aura a réappairer tes devices sous zigbee2mqtt

d’accord ,avec votre expérience quelle est le mieux a garder?

pour un usage normal, je garderais ZHA.
plus simple à gérer.

1 « J'aime »

Salut,
je garderai Z2M, plus de matériel compatible, ajout de nouveau matériel plus rapide que ZHA.
Menu plus conviviale, schéma réseau plus clair. C’est pas compliquer a gérer.

en plus ta une Sonoff P, top pour Z2M.

2 « J'aime »

bon aprés avoir supprimé ZHA ,jai toujours ce message d’erreur:


voici le journal:

2024-03-11 13:54:41.088 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-11 13:54:41.759 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2024-03-11 13:54:41.787 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=8 from 2024-03-11 12:13:07.504667)
2024-03-11 13:54:42.710 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (fr) string component.homeassistant.issues.config_entry_reauth.title failed
2024-03-11 14:24:48.162 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 1100, in request_callback_rsp
    return await callback_rsp
           ^^^^^^^^^^^^^^^^^^
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 1097, in request_callback_rsp
    async with async_timeout.timeout(timeout):
  File "/usr/local/lib/python3.12/site-packages/async_timeout/__init__.py", line 141, in __aexit__
    self._do_exit(exc_type)
  File "/usr/local/lib/python3.12/site-packages/async_timeout/__init__.py", line 228, in _do_exit
    raise asyncio.TimeoutError
TimeoutError
2024-03-11 14:29:03.806 WARNING (MainThread) [zigpy.application] Watchdog failure
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 1059, in request
    response = await response_future
               ^^^^^^^^^^^^^^^^^^^^^
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 673, in _watchdog_loop
    await self.watchdog_feed()
  File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 655, in watchdog_feed
    await self._watchdog_feed()
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/zigbee/application.py", line 628, in _watchdog_feed
    await self._znp.request(c.SYS.Ping.Req())
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 1055, in request
    async with async_timeout.timeout(
  File "/usr/local/lib/python3.12/site-packages/async_timeout/__init__.py", line 141, in __aexit__
    self._do_exit(exc_type)
  File "/usr/local/lib/python3.12/site-packages/async_timeout/__init__.py", line 228, in _do_exit
    raise asyncio.TimeoutError
TimeoutError
2024-03-11 14:33:49.184 WARNING (MainThread) [zigpy.backups] Failed to create a network backup
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 1059, in request
    response = await response_future
               ^^^^^^^^^^^^^^^^^^^^^
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/zigpy/backups.py", line 220, in _backup_loop
    await self.create_backup()
  File "/usr/local/lib/python3.12/site-packages/zigpy/backups.py", line 143, in create_backup
    await self.app.load_network_info(load_devices=load_devices)
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/zigbee/application.py", line 144, in load_network_info
    await self._znp.load_network_info(load_devices=load_devices)
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 238, in load_network_info
    await self._load_network_info(load_devices=load_devices)
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 105, in _load_network_info
    nib = await self.nvram.osal_read(OsalNvIds.NIB, item_type=t.NIB)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/nvram.py", line 168, in osal_read
    length = (await self.znp.request(c.SYS.OSALNVLength.Req(Id=nv_id))).ItemLen
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 1055, in request
    async with async_timeout.timeout(
  File "/usr/local/lib/python3.12/site-packages/async_timeout/__init__.py", line 141, in __aexit__
    self._do_exit(exc_type)
  File "/usr/local/lib/python3.12/site-packages/async_timeout/__init__.py", line 228, in _do_exit
    raise asyncio.TimeoutError
TimeoutError
2024-03-11 14:34:04.223 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 1098, in request_callback_rsp
    await self.request(request, timeout=timeout, **response_params)
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 1059, in request
    response = await response_future
               ^^^^^^^^^^^^^^^^^^^^^
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 1097, in request_callback_rsp
    async with async_timeout.timeout(timeout):
  File "/usr/local/lib/python3.12/site-packages/async_timeout/__init__.py", line 141, in __aexit__
    self._do_exit(exc_type)
  File "/usr/local/lib/python3.12/site-packages/async_timeout/__init__.py", line 228, in _do_exit
    raise asyncio.TimeoutError
TimeoutError
2024-03-11 14:34:12.202 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 1098, in request_callback_rsp
    await self.request(request, timeout=timeout, **response_params)
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 1033, in request
    async with ctx:
  File "/usr/local/lib/python3.12/site-packages/zigpy/datastructures.py", line 22, in __aenter__
    await self.on_enter()
  File "/usr/local/lib/python3.12/site-packages/zigpy/datastructures.py", line 111, in acquire
    await fut
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 1097, in request_callback_rsp
    async with async_timeout.timeout(timeout):
  File "/usr/local/lib/python3.12/site-packages/async_timeout/__init__.py", line 141, in __aexit__
    self._do_exit(exc_type)
  File "/usr/local/lib/python3.12/site-packages/async_timeout/__init__.py", line 228, in _do_exit
    raise asyncio.TimeoutError
TimeoutError
2024-03-11 14:34:19.229 WARNING (MainThread) [zigpy.application] Watchdog failure
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 1059, in request
    response = await response_future
               ^^^^^^^^^^^^^^^^^^^^^
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 673, in _watchdog_loop
    await self.watchdog_feed()
  File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 655, in watchdog_feed
    await self._watchdog_feed()
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/zigbee/application.py", line 628, in _watchdog_feed
    await self._znp.request(c.SYS.Ping.Req())
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 1055, in request
    async with async_timeout.timeout(
  File "/usr/local/lib/python3.12/site-packages/async_timeout/__init__.py", line 141, in __aexit__
    self._do_exit(exc_type)
  File "/usr/local/lib/python3.12/site-packages/async_timeout/__init__.py", line 228, in _do_exit
    raise asyncio.TimeoutError
TimeoutError
2024-03-11 14:34:19.238 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/sensor.py", line 263, in _refresh
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/zha/entity.py", line 256, in async_update
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/homeautomation.py", line 127, in async_update
    result = await self.get_attributes(attrs, from_cache=False, only_cache=False)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/__init__.py", line 513, in _get_attributes
    read, _ = await self.cluster.read_attributes(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/zcl/__init__.py", line 528, in read_attributes
    result = await self.read_attributes_raw(to_read, manufacturer=manufacturer)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/quirks/__init__.py", line 289, in read_attributes_raw
    results = await super().read_attributes_raw(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/quirks/__init__.py", line 334, in _read_attributes
    return await super()._read_attributes(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/zcl/__init__.py", line 377, in request
    return await self._endpoint.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/endpoint.py", line 253, in request
    return await self.device.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/device.py", line 339, in request
    await send_request()
  File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 841, in request
    await self.send_packet(
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/zigbee/application.py", line 959, in send_packet
    await self._send_request_raw(
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/zigbee/application.py", line 850, in _send_request_raw
    response = await asyncio.shield(
               ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 1098, in request_callback_rsp
    await self.request(request, timeout=timeout, **response_params)
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 1052, in request
    self._uart.send(frame)
    ^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'send'
2024-03-11 14:34:19.259 WARNING (MainThread) [homeassistant.helpers.dispatcher] Unable to remove unknown dispatcher <bound method GroupProbe._reprobe_group of <homeassistant.components.zha.core.discovery.GroupProbe object at 0x7f2fac7dd220>>
2024-03-11 14:34:19.259 WARNING (MainThread) [homeassistant.helpers.dispatcher] Unable to remove unknown dispatcher <bound method GroupProbe._reprobe_group of <homeassistant.components.zha.core.discovery.GroupProbe object at 0x7f2fac7dd220>>
2024-03-11 14:34:19.259 WARNING (MainThread) [homeassistant.helpers.dispatcher] Unable to remove unknown dispatcher <bound method GroupProbe._reprobe_group of <homeassistant.components.zha.core.discovery.GroupProbe object at 0x7f2fac7dd220>>
2024-03-11 14:34:19.259 WARNING (MainThread) [homeassistant.helpers.dispatcher] Unable to remove unknown dispatcher <bound method GroupProbe._reprobe_group of <homeassistant.components.zha.core.discovery.GroupProbe object at 0x7f2fac7dd220>>
2024-03-11 14:34:19.259 WARNING (MainThread) [homeassistant.helpers.dispatcher] Unable to remove unknown dispatcher <bound method GroupProbe._reprobe_group of <homeassistant.components.zha.core.discovery.GroupProbe object at 0x7f2fac7dd220>>

Le journal est celui de HA, faut regarder le journal dans le module complémentaire de Z2M.
Les erreur que ta, vienne de ZHA.
Je stoperai Z2M. décocher l’option démarrer automatiquement dans le module Z2M.
Supprimer ZHA et redémarrer HA.
Ignorer la découverte de ZHA, et relancer Z2M.

comment tu fais pour désactiver la découverte automatique, je ne trouve pas le configuration.yaml?