Mon problème
J’ai une installation Zigbee avec un controleur LIDL.
Tout fonctionnait parfaitement jusqu’à ces jours-ci.
Mais maintenant, cela ne fonctionne plus. Aucune idée pour trouver l’origine du problème.
Dans les journaux, je vois ces messages d’erreur :
Error doing job: Exception in callback SerialTransport._call_connection_lost(None)
11:31:16 – (ERREUR) util/async_.py - message survenu pour la première fois à 11:04:58 et apparu 7 fois.
NCP entered failed state. Requesting APP controller restart
11:31:16 – (ERREUR) /usr/local/lib/python3.9/site-packages/bellows/ezsp/__init__.py - message survenu pour la première fois à 11:30:30 et apparu 4 fois.
Lost serial connection: read failed: socket disconnected
11:31:16 – (ERREUR) /usr/local/lib/python3.9/site-packages/bellows/uart.py - message survenu pour la première fois à 11:30:30 et apparu 4 fois.
[0x5B72:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('[0x5b72:1:0x0006]: Message send failure'), DeliveryError('[0x5b72:1:0x0006]: Message send failure'), DeliveryError('[0x5b72:1:0x0006]: Message send failure'), DeliveryError('[0x5b72:1:0x0006]: Message send failure')]
11:27:12 – (ATTENTION) Zigbee Home Automation - message survenu pour la première fois à 10:57:47 et apparu 48 fois.
Login attempt or request with invalid authentication from localhost (127.0.0.1). (None)
10:58:04 – (ATTENTION) HTTP
Detected integration that uses deprecated `async_get_registry` to access device registry, use async_get instead. Please report issue to the custom component author for ecodevices using this method at custom_components/ecodevices/__init__.py, line 91: device_registry = await dr.async_get_registry(hass)
10:57:12 – (ATTENTION) helpers/frame.py
Blueprint Sonoff Zigbee Button generated invalid automation with inputs OrderedDict([('sonoff_button', 'fe648ba783ed343e653cf6039fec8a24'), ('toggle_action', [OrderedDict([('service', '')])])]): Service does not match format <domain>.<name> for dictionary value @ data['action'][1]['choose'][0]['sequence'][0]['service']. Got None
10:57:12 – (ERREUR) Automatisation
Setup of group is taking over 10 seconds.
10:57:08 – (ATTENTION) /usr/local/lib/python3.9/asyncio/events.py - message survenu pour la première fois à 10:57:07 et apparu 4 fois.
**Extrait des journaux**
2022-06-16 11:25:35 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x5B72:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('[0x5b72:1:0x0008]: Message send failure'), DeliveryError('[0x5b72:1:0x0008]: Message send failure'), DeliveryError('[0x5b72:1:0x0008]: Message send failure'), DeliveryError('[0x5b72:1:0x0008]: Message send failure')]
2022-06-16 11:26:40 ERROR (bellows.thread_0) [homeassistant] Error doing job: Exception in callback SerialTransport._call_connection_lost(None)
Traceback (most recent call last):
File "/usr/local/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.9/site-packages/serial_asyncio/__init__.py", line 417, in _call_connection_lost
self._serial.close()
File "/usr/local/lib/python3.9/site-packages/serial/urlhandler/protocol_socket.py", line 104, in close
time.sleep(0.3)
File "/usr/src/homeassistant/homeassistant/util/async_.py", line 180, in protected_loop_func
check_loop(func, strict=strict)
File "/usr/src/homeassistant/homeassistant/util/async_.py", line 141, in check_loop
raise RuntimeError(
RuntimeError: Detected blocking call to sleep inside the event loop. Use `await hass.async_add_executor_job()`; This is causing stability issues. Please report issue
2022-06-16 11:27:09 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x1914:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('[0x1914:1:0x0006]: Message send failure'), DeliveryError('[0x1914:1:0x0006]: Message send failure'), DeliveryError('[0x1914:1:0x0006]: Message send failure'), DeliveryError('[0x1914:1:0x0006]: Message send failure')]
2022-06-16 11:27:10 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x05C5:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('[0x05c5:1:0x0008]: Message send failure'), DeliveryError('[0x05c5:1:0x0008]: Message send failure'), DeliveryError('[0x05c5:1:0x0008]: Message send failure'), DeliveryError('[0x05c5:1:0x0008]: Message send failure')]
2022-06-16 11:27:10 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x1914:1:0x0300]: async_initialize: all attempts have failed: [DeliveryError('[0x1914:1:0x0300]: Message send failure'), DeliveryError('[0x1914:1:0x0300]: Message send failure'), DeliveryError('[0x1914:1:0x0300]: Message send failure'), DeliveryError('[0x1914:1:0x0300]: Message send failure')]
2022-06-16 11:27:10 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x8FFD:1:0x0300]: async_initialize: all attempts have failed: [DeliveryError('[0x8ffd:1:0x0300]: Message send failure'), DeliveryError('[0x8ffd:1:0x0300]: Message send failure'), DeliveryError('[0x8ffd:1:0x0300]: Message send failure'), DeliveryError('[0x8ffd:1:0x0300]: Message send failure')]
2022-06-16 11:27:10 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x8FFD:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('[0x8ffd:1:0x0006]: Message send failure'), DeliveryError('[0x8ffd:1:0x0006]: Message send failure'), DeliveryError('[0x8ffd:1:0x0006]: Message send failure'), DeliveryError('[0x8ffd:1:0x0006]: Message send failure')]
2022-06-16 11:27:11 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x8FFD:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('[0x8ffd:1:0x0008]: Message send failure'), DeliveryError('[0x8ffd:1:0x0008]: Message send failure'), DeliveryError('[0x8ffd:1:0x0008]: Message send failure'), DeliveryError('[0x8ffd:1:0x0008]: Message send failure')]
2022-06-16 11:27:11 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x1914:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('[0x1914:1:0x0008]: Message send failure'), DeliveryError('[0x1914:1:0x0008]: Message send failure'), DeliveryError('[0x1914:1:0x0008]: Message send failure'), DeliveryError('[0x1914:1:0x0008]: Message send failure')]
2022-06-16 11:27:11 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x5B72:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('[0x5b72:1:0x0006]: Message send failure'), DeliveryError('[0x5b72:1:0x0006]: Message send failure'), DeliveryError('[0x5b72:1:0x0006]: Message send failure'), DeliveryError('[0x5b72:1:0x0006]: Message send failure')]
2022-06-16 11:27:11 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x05C5:1:0x0300]: async_initialize: all attempts have failed: [DeliveryError('[0x05c5:1:0x0300]: Message send failure'), DeliveryError('[0x05c5:1:0x0300]: Message send failure'), DeliveryError('[0x05c5:1:0x0300]: Message send failure'), DeliveryError('[0x05c5:1:0x0300]: Message send failure')]
2022-06-16 11:27:11 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x5B72:1:0x0300]: async_initialize: all attempts have failed: [DeliveryError('[0x5b72:1:0x0300]: Message send failure'), DeliveryError('[0x5b72:1:0x0300]: Message send failure'), DeliveryError('[0x5b72:1:0x0300]: Message send failure'), DeliveryError('[0x5b72:1:0x0300]: Message send failure')]
2022-06-16 11:27:11 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x5B72:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('[0x5b72:1:0x0008]: Message send failure'), DeliveryError('[0x5b72:1:0x0008]: Message send failure'), DeliveryError('[0x5b72:1:0x0008]: Message send failure'), DeliveryError('[0x5b72:1:0x0008]: Message send failure')]
2022-06-16 11:27:12 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x05C5:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('[0x05c5:1:0x0006]: Message send failure'), DeliveryError('[0x05c5:1:0x0006]: Message send failure'), DeliveryError('[0x05c5:1:0x0006]: Message send failure'), DeliveryError('[0x05c5:1:0x0006]: Message send failure')]
2022-06-16 11:30:30 ERROR (bellows.thread_0) [bellows.uart] Lost serial connection: read failed: socket disconnected
2022-06-16 11:30:30 ERROR (MainThread) [bellows.ezsp] NCP entered failed state. Requesting APP controller restart
2022-06-16 11:30:30 ERROR (bellows.thread_0) [homeassistant] Error doing job: Exception in callback SerialTransport._call_connection_lost(SerialExcepti...disconnected'))
Traceback (most recent call last):
File "/usr/local/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.9/site-packages/serial_asyncio/__init__.py", line 417, in _call_connection_lost
self._serial.close()
File "/usr/local/lib/python3.9/site-packages/serial/urlhandler/protocol_socket.py", line 104, in close
time.sleep(0.3)
File "/usr/src/homeassistant/homeassistant/util/async_.py", line 180, in protected_loop_func
check_loop(func, strict=strict)
File "/usr/src/homeassistant/homeassistant/util/async_.py", line 141, in check_loop
raise RuntimeError(
RuntimeError: Detected blocking call to sleep inside the event loop. Use `await hass.async_add_executor_job()`; This is causing stability issues. Please report issue
2022-06-16 11:30:41 ERROR (bellows.thread_0) [bellows.uart] Lost serial connection: read failed: socket disconnected
2022-06-16 11:30:41 ERROR (MainThread) [bellows.ezsp] NCP entered failed state. Requesting APP controller restart
2022-06-16 11:30:41 ERROR (bellows.thread_0) [homeassistant] Error doing job: Exception in callback SerialTransport._call_connection_lost(SerialExcepti...disconnected'))
Traceback (most recent call last):
File "/usr/local/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.9/site-packages/serial_asyncio/__init__.py", line 417, in _call_connection_lost
self._serial.close()
File "/usr/local/lib/python3.9/site-packages/serial/urlhandler/protocol_socket.py", line 104, in close
time.sleep(0.3)
File "/usr/src/homeassistant/homeassistant/util/async_.py", line 180, in protected_loop_func
check_loop(func, strict=strict)
File "/usr/src/homeassistant/homeassistant/util/async_.py", line 141, in check_loop
raise RuntimeError(
RuntimeError: Detected blocking call to sleep inside the event loop. Use `await hass.async_add_executor_job()`; This is causing stability issues. Please report issue
2022-06-16 11:30:55 ERROR (bellows.thread_0) [bellows.uart] Lost serial connection: read failed: socket disconnected
2022-06-16 11:30:55 ERROR (MainThread) [bellows.ezsp] NCP entered failed state. Requesting APP controller restart
2022-06-16 11:30:55 ERROR (bellows.thread_0) [homeassistant] Error doing job: Exception in callback SerialTransport._call_connection_lost(SerialExcepti...disconnected'))
Traceback (most recent call last):
File "/usr/local/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.9/site-packages/serial_asyncio/__init__.py", line 417, in _call_connection_lost
self._serial.close()
File "/usr/local/lib/python3.9/site-packages/serial/urlhandler/protocol_socket.py", line 104, in close
time.sleep(0.3)
File "/usr/src/homeassistant/homeassistant/util/async_.py", line 180, in protected_loop_func
check_loop(func, strict=strict)
File "/usr/src/homeassistant/homeassistant/util/async_.py", line 141, in check_loop
raise RuntimeError(
RuntimeError: Detected blocking call to sleep inside the event loop. Use `await hass.async_add_executor_job()`; This is causing stability issues. Please report issue
2022-06-16 11:31:16 ERROR (bellows.thread_0) [bellows.uart] Lost serial connection: read failed: socket disconnected
2022-06-16 11:31:16 ERROR (MainThread) [bellows.ezsp] NCP entered failed state. Requesting APP controller restart
2022-06-16 11:31:16 ERROR (bellows.thread_0) [homeassistant] Error doing job: Exception in callback SerialTransport._call_connection_lost(SerialExcepti...disconnected'))
Traceback (most recent call last):
File "/usr/local/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.9/site-packages/serial_asyncio/__init__.py", line 417, in _call_connection_lost
self._serial.close()
File "/usr/local/lib/python3.9/site-packages/serial/urlhandler/protocol_socket.py", line 104, in close
time.sleep(0.3)
File "/usr/src/homeassistant/homeassistant/util/async_.py", line 180, in protected_loop_func
check_loop(func, strict=strict)
File "/usr/src/homeassistant/homeassistant/util/async_.py", line 141, in check_loop
raise RuntimeError(
RuntimeError: Detected blocking call to sleep inside the event loop. Use `await hass.async_add_executor_job()`; This is causing stability issues. Please report issue
2022-06-16 11:33:15 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendBroadcast: (<BroadcastAddress.ALL_ROUTERS_AND_COORDINATOR: 65532>, EmberApsFrame(profileId=0, clusterId=54, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_NONE: 0>, groupId=0, sequence=132), 0, 133, b'\x84<\x00')
2022-06-16 11:33:15 DEBUG (MainThread) [bellows.ezsp.protocol] Send command addTransientLinkKey: (ff:ff:ff:ff:ff:ff:ff:ff, [90, 105, 103, 66, 101, 101, 65, 108, 108, 105, 97, 110, 99, 101, 48, 57])
2022-06-16 11:33:15 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'230b21a9622ae94d59947c25aa5592499c4ea3ab68cde3b7fdbfd47e'
2022-06-16 11:33:15 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'330ba1a9622a15b34cab7e'
2022-06-16 11:33:15 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8430fc7e'
2022-06-16 11:33:15 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'340821a9fb2aea4da66bb5da55aac820fb0c42ceaca20be29ca800eccc4780d67e'
2022-06-16 11:33:15 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 54 (sendBroadcast) received: b'0001'
2022-06-16 11:33:15 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'430bb1a9112a10b259a24a25aa5592499c4fd8abedce9874fe425f89e4867e'
2022-06-16 11:33:15 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8520dd7e'
2022-06-16 11:33:15 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b'050000360000000000000001ff000000ffff03843c00'
2022-06-16 11:33:15 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_BROADCAST_LOOPBACK: 5>, EmberApsFrame(profileId=0, clusterId=54, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_NONE: 0>, groupId=0, sequence=1), 255, 0, 0x0000, 255, 255, b'\x84<\x00']
2022-06-16 11:33:15 DEBUG (MainThread) [zigpy.zdo] [0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_req: [60, <Bool.false: 0>]
2022-06-16 11:33:15 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'5408a1a9fb2a15f6f37e'
2022-06-16 11:33:15 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8610be7e'
2022-06-16 11:33:15 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 175 (addTransientLinkKey) received: b'00'
2022-06-16 11:33:15 DEBUG (MainThread) [bellows.ezsp.protocol] Send command setPolicy: (<EzspPolicyId.TRUST_CENTER_POLICY: 0>, <EzspDecisionBitmask.ALLOW_UNSECURED_REJOINS|ALLOW_JOINS: 3>)
2022-06-16 11:33:15 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'460921a9012a15b15980b07e'
2022-06-16 11:33:15 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'6509a1a9012a15762c7e'
2022-06-16 11:33:15 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'87009f7e'
2022-06-16 11:33:15 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 85 (setPolicy) received: b'00'
2022-06-16 11:33:16 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'7509b1a96b2a134ea6944a13aa5592499c4e27aa68a8677dfa7e'
2022-06-16 11:33:16 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8070787e'
2022-06-16 11:33:16 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b'06fcff0000360000000000000001856600'
2022-06-16 11:33:16 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_BROADCAST: 6>, 65532, EmberApsFrame(profileId=0, clusterId=54, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_NONE: 0>, groupId=0, sequence=1), 133, <EmberStatus.DELIVERY_FAILED: 102>, b'']
2022-06-16 11:33:16 DEBUG (MainThread) [bellows.ezsp.protocol] Send command permitJoining: (60,)
2022-06-16 11:33:16 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'500e21a9762a2916d07e'
2022-06-16 11:33:16 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'060ea1a9762a15886d7e'
2022-06-16 11:33:16 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8160597e'
2022-06-16 11:33:16 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 34 (permitJoining) received: b'00'
2022-06-16 11:33:19 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x30BC](WB01): last_seen is 93819.74719977379 seconds ago and ping attempts have been exhausted, marking the device unavailable
2022-06-16 11:33:19 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x30BC](WB01): Update device availability - device available: False - new availability: False - changed: False
2022-06-16 11:33:20 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x2DB5](WB01): Device seen - marking the device available and resetting counter
2022-06-16 11:33:20 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x2DB5](WB01): Update device availability - device available: True - new availability: True - changed: False
Ma configuration
System Health
version: core-2022.6.2
installation_type: Home Assistant OS
dev: false
hassio: true
docker: true
user: root
virtualenv: false
python_version: 3.9.12
os_name: Linux
os_version: 5.15.32-v8
arch: aarch64
timezone: Europe/Paris
GitHub API: ok
GitHub Content: ok
GitHub Web: ok
GitHub API Calls Remaining: 5000
Installed Version: 1.24.0
Stage: running
Available Repositories: 1044
Downloaded Repositories: 13
logged_in: false
can_reach_cert_server: ok
can_reach_cloud_auth: ok
can_reach_cloud: ok
host_os: Home Assistant OS 8.2
update_channel: stable
supervisor_version: supervisor-2022.05.3
agent_version: 1.2.1
docker_version: 20.10.14
disk_total: 237.7 GB
disk_used: 17.2 GB
healthy: true
supported: true
board: rpi4-64
supervisor_api: ok
version_api: ok
installed_addons: Samba share (9.7.0), File editor (5.3.3), Duck DNS (1.15.0), SSH & Web Terminal (11.0.1), Mosquitto broker (6.1.2), Node-RED (12.0.2), Z-Wave JS (0.1.60), SQLite Web (3.6.0), InfluxDB (4.5.0), Grafana (7.6.0)
dashboards: 14
resources: 10
views: 37
mode: storage
oldest_recorder_run: 23 avril 2022, 17:01
current_recorder_run: 16 juin 2022, 10:56
estimated_db_size: 366.89 MiB
database_engine: sqlite
database_version: 3.34.1