Bonsoir,
depuis hier soir et quelques tentatives (infructueuses) d’inclusion de modules Xiaomi que j’utilisais auparavant avec une Gateway, mon zigbee est inutilisé.
Ma conf :
- RPI4
- clé zigbee SonOff
- plugin officiel Zigbee
Ce que j’ai fait : - tentatives d’inclusion (origine du problème?)
- ré-installation des dépendances
- restauration d’une sauvegarde antérieure
- reboot(s) de mon RPI4
Je ne sais pas du tout où mettre les mains, je mets en vrac quelques éléments de ma conf :
et des logs (zigbeed1) :
File "/var/www/html/plugins/zigbee/resources/zigbeed/restServer.py", line 176, in post
values = await cluster.read_attributes(self.json_args['attributes'],manufacturer=manufacturer)
File "/usr/local/lib/python3.7/dist-packages/zigpy/zcl/__init__.py", line 482, in read_attributes
result = await self.read_attributes_raw(to_read, manufacturer=manufacturer)
File "/usr/local/lib/python3.7/dist-packages/zigpy/quirks/__init__.py", line 213, in read_attributes_raw
attributes, manufacturer=manufacturer
File "/usr/local/lib/python3.7/dist-packages/zigpy/device.py", line 300, in request
use_ieee=use_ieee,
File "/usr/local/lib/python3.7/dist-packages/zigpy_znp/zigbee/application.py", line 311, in request
data=data,
File "/usr/local/lib/python3.7/dist-packages/zigpy_znp/zigbee/application.py", line 1289, in _send_request
f"Request failed after {REQUEST_MAX_RETRIES} attempts:"
zigpy.exceptions.DeliveryError: Request failed after 5 attempts:
[2023-01-19 23:26:20]INFO : 200 POST /device/attributes (127.0.0.1) 23458.51ms
[2023-01-19 23:26:20]INFO : [DeviceHandler.prepare] Json arg : {'ieee': 'a4:c1:38:b8:c3:3e:3e:76', 'endpoint': 1, 'cluster': 1794, 'cluster_type': 'in', 'attributes': [0], 'allowCache': 0}
[2023-01-19 23:26:20]DEBUG : [0x7B8E:1:0x0702] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=127, command_id=, *direction=, *is_reply=False)
[2023-01-19 23:26:20]DEBUG : [0x7B8E:1:0x0702] Sending request: Read_Attributes(attribute_ids=[0])
[2023-01-19 23:26:20]DEBUG : Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=, address=0x7B8E), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=1794, TSN=127, Options=, Radius=30, Data=b'\x00\x7F\x00\x00\x00')
[2023-01-19 23:26:20]DEBUG : Received command: AF.DataRequestExt.Rsp(Status=)
[2023-01-19 23:26:24]DEBUG : Received command: AF.DataConfirm.Callback(Status=, Endpoint=1, TSN=127)
[2023-01-19 23:26:24]DEBUG : Request failed (Unsuccessful request status code: ), retry attempt 1 of 5
[2023-01-19 23:26:25]DEBUG : Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=, address=0x7B8E), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=1794, TSN=127, Options=, Radius=30, Data=b'\x00\x7F\x00\x00\x00')
[2023-01-19 23:26:25]DEBUG : Received command: AF.DataRequestExt.Rsp(Status=)
[2023-01-19 23:26:30]DEBUG : Received command: AF.DataConfirm.Callback(Status=, Endpoint=1, TSN=127)
[2023-01-19 23:26:30]DEBUG : Request failed (Unsuccessful request status code: ), retry attempt 2 of 5
[2023-01-19 23:26:30]DEBUG : Sending request: AF.DataRequestSrcRtg.Req(DstAddr=0x7B8E, DstEndpoint=1, SrcEndpoint=1, ClusterId=1794, TSN=127, Options=, Radius=30, SourceRoute=[], Data=b'\x00\x7F\x00\x00\x00')
[2023-01-19 23:26:30]DEBUG : Received command: AF.DataRequestSrcRtg.Rsp(Status=)
[2023-01-19 23:26:35]DEBUG : Received command: AF.DataConfirm.Callback(Status=, Endpoint=1, TSN=127)
[2023-01-19 23:26:35]DEBUG : Sending request: ZDO.ExtRouteDisc.Req(Dst=0x7B8E, Options=, Radius=30)
[2023-01-19 23:26:35]DEBUG : Received command: ZDO.ExtRouteDisc.Rsp(Status=)
[2023-01-19 23:26:36]DEBUG : Request failed (Unsuccessful request status code: ), retry attempt 3 of 5
[2023-01-19 23:26:37]DEBUG : Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=, address=0x7B8E), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=1794, TSN=127, Options=, Radius=30, Data=b'\x00\x7F\x00\x00\x00')
[2023-01-19 23:26:37]DEBUG : Received command: AF.DataRequestExt.Rsp(Status=)
[2023-01-19 23:26:41]DEBUG : Received command: AF.DataConfirm.Callback(Status=, Endpoint=1, TSN=127)
[2023-01-19 23:26:41]DEBUG : Request failed (Unsuccessful request status code: ), retry attempt 4 of 5
[2023-01-19 23:26:42]DEBUG : Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=, address=a4:c1:38:b8:c3:3e:3e:76), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=1794, TSN=127, Options=, Radius=30, Data=b'\x00\x7F\x00\x00\x00')
[2023-01-19 23:26:42]DEBUG : Received command: AF.DataRequestExt.Rsp(Status=)
[2023-01-19 23:26:47]DEBUG : Received command: AF.DataConfirm.Callback(Status=, Endpoint=1, TSN=127)
[2023-01-19 23:26:47]DEBUG : Request failed (Unsuccessful request status code: ), retry attempt 5 of 5
[2023-01-19 23:26:47]INFO : Traceback (most recent call last):
File "/var/www/html/plugins/zigbee/resources/zigbeed/restServer.py", line 176, in post
values = await cluster.read_attributes(self.json_args['attributes'],manufacturer=manufacturer)
File "/usr/local/lib/python3.7/dist-packages/zigpy/zcl/__init__.py", line 482, in read_attributes
result = await self.read_attributes_raw(to_read, manufacturer=manufacturer)
File "/usr/local/lib/python3.7/dist-packages/zigpy/quirks/__init__.py", line 234, in read_attributes_raw
attrs_to_read, manufacturer=manufacturer
File "/usr/local/lib/python3.7/dist-packages/zigpy/device.py", line 300, in request
use_ieee=use_ieee,
File "/usr/local/lib/python3.7/dist-packages/zigpy_znp/zigbee/application.py", line 311, in request
data=data,
File "/usr/local/lib/python3.7/dist-packages/zigpy_znp/zigbee/application.py", line 1289, in _send_request
f"Request failed after {REQUEST_MAX_RETRIES} attempts:"
zigpy.exceptions.DeliveryError: Request failed after 5 attempts:
[2023-01-19 23:26:47]INFO : 200 POST /device/attributes (127.0.0.1) 26846.67ms
[2023-01-19 23:26:47]INFO : [DeviceHandler.prepare] Json arg : {'ieee': 'a4:c1:38:b8:c3:3e:3e:76', 'endpoint': 1, 'cluster': 2820, 'cluster_type': 'in', 'attributes': [1291], 'allowCache': 0}
[2023-01-19 23:26:47]DEBUG : [0x7B8E:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=128, command_id=, *direction=, *is_reply=False)
[2023-01-19 23:26:47]DEBUG : [0x7B8E:1:0x0b04] Sending request: Read_Attributes(attribute_ids=[1291])
[2023-01-19 23:26:47]DEBUG : Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=, address=0x7B8E), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=2820, TSN=128, Options=, Radius=30, Data=b'\x00\x80\x00\x0B\x05')
[2023-01-19 23:26:47]DEBUG : Received command: AF.DataRequestExt.Rsp(Status=)
[2023-01-19 23:26:50]DEBUG : Sending request: SYS.Ping.Req()
[2023-01-19 23:26:50]DEBUG : Received command: SYS.Ping.Rsp(Capabilities=)
[2023-01-19 23:26:52]DEBUG : Received command: AF.DataConfirm.Callback(Status=, Endpoint=1, TSN=128)
[2023-01-19 23:26:52]DEBUG : Request failed (Unsuccessful request status code: ), retry attempt 1 of 5
[2023-01-19 23:26:53]DEBUG : Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=, address=0x7B8E), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=2820, TSN=128, Options=, Radius=30, Data=b'\x00\x80\x00\x0B\x05')
[2023-01-19 23:26:53]DEBUG : Received command: AF.DataRequestExt.Rsp(Status=)
[2023-01-19 23:26:58]DEBUG : Received command: AF.DataConfirm.Callback(Status=, Endpoint=1, TSN=128)
[2023-01-19 23:26:58]DEBUG : Request failed (Unsuccessful request status code: ), retry attempt 2 of 5
[2023-01-19 23:26:59]DEBUG : Sending request: AF.DataRequestSrcRtg.Req(DstAddr=0x7B8E, DstEndpoint=1, SrcEndpoint=1, ClusterId=2820, TSN=128, Options=, Radius=30, SourceRoute=[], Data=b'\x00\x80\x00\x0B\x05')
[2023-01-19 23:26:59]DEBUG : Received command: AF.DataRequestSrcRtg.Rsp(Status=)
[2023-01-19 23:27:02]DEBUG : Received command: AF.DataConfirm.Callback(Status=, Endpoint=1, TSN=128)
[2023-01-19 23:27:02]DEBUG : Sending request: ZDO.ExtRouteDisc.Req(Dst=0x7B8E, Options=, Radius=30)
[2023-01-19 23:27:02]DEBUG : Received command: ZDO.ExtRouteDisc.Rsp(Status=)
[2023-01-19 23:27:04]DEBUG : Request failed (Unsuccessful request status code: ), retry attempt 3 of 5
[2023-01-19 23:27:04]DEBUG : Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=, address=0x7B8E), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=2820, TSN=128, Options=, Radius=30, Data=b'\x00\x80\x00\x0B\x05')
[2023-01-19 23:27:04]DEBUG : Received command: AF.DataRequestExt.Rsp(Status=)
[2023-01-19 23:27:08]DEBUG : Received command: AF.DataConfirm.Callback(Status=, Endpoint=1, TSN=128)
[2023-01-19 23:27:08]DEBUG : Request failed (Unsuccessful request status code: ), retry attempt 4 of 5
[2023-01-19 23:27:08]DEBUG : Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=, address=a4:c1:38:b8:c3:3e:3e:76), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=2820, TSN=128, Options=, Radius=30, Data=b'\x00\x80\x00\x0B\x05')
[2023-01-19 23:27:08]DEBUG : Received command: AF.DataRequestExt.Rsp(Status=)
[2023-01-19 23:27:12]DEBUG : Received command: AF.DataConfirm.Callback(Status=, Endpoint=1, TSN=128)
[2023-01-19 23:27:12]DEBUG : Request failed (Unsuccessful request status code: ), retry attempt 5 of 5
[2023-01-19 23:27:12]INFO : Traceback (most recent call last):
File "/var/www/html/plugins/zigbee/resources/zigbeed/restServer.py", line 176, in post
values = await cluster.read_attributes(self.json_args['attributes'],manufacturer=manufacturer)
File "/usr/local/lib/python3.7/dist-packages/zigpy/zcl/__init__.py", line 482, in read_attributes
result = await self.read_attributes_raw(to_read, manufacturer=manufacturer)
File "/usr/local/lib/python3.7/dist-packages/zigpy/quirks/__init__.py", line 234, in read_attributes_raw
attrs_to_read, manufacturer=manufacturer
File "/usr/local/lib/python3.7/dist-packages/zigpy/device.py", line 300, in request
use_ieee=use_ieee,
File "/usr/local/lib/python3.7/dist-packages/zigpy_znp/zigbee/application.py", line 311, in request
data=data,
File "/usr/local/lib/python3.7/dist-packages/zigpy_znp/zigbee/application.py", line 1289, in _send_request
f"Request failed after {REQUEST_MAX_RETRIES} attempts:"
zigpy.exceptions.DeliveryError: Request failed after 5 attempts:
[2023-01-19 23:27:12]INFO : 200 POST /device/attributes (127.0.0.1) 24946.05ms
[2023-01-19 23:27:20]DEBUG : Sending request: SYS.Ping.Req()
[2023-01-19 23:27:20]DEBUG : Received command: SYS.Ping.Rsp(Capabilities=)
[2023-01-19 23:27:50]DEBUG : Sending request: SYS.Ping.Req()
[2023-01-19 23:27:50]DEBUG : Received command: SYS.Ping.Rsp(Capabilities=)
[2023-01-19 23:28:20]DEBUG : Sending request: SYS.Ping.Req()
[2023-01-19 23:28:20]DEBUG : Received command: SYS.Ping.Rsp(Capabilities=)
[2023-01-19 23:28:50]DEBUG : Sending request: SYS.Ping.Req()
[2023-01-19 23:28:50]DEBUG : Received command: SYS.Ping.Rsp(Capabilities=)
[2023-01-19 23:29:20]DEBUG : Sending request: SYS.Ping.Req()
[2023-01-19 23:29:20]DEBUG : Received command: SYS.Ping.Rsp(Capabilities=)
Merci d’avance pour les idées ou les pistes à explorer !