My configuration.yaml with ZHA/zigpy debugging enabled:
logger:
default: error
logs:
zigpy: debug
zigpy_xbee: debug
zigpy_deconz: debug
homeassistant.components.zha: debug
And here is a part of my homeassistant.log after sending 0x0a and 0x06 commands to the Yale YRD210 PB DB zigbee lock:
2023-11-02 14:14:52.588 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 11, 2, 18, 14, 52, 588089, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6051), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=34, profile_id=260, cluster_id=257, data=Serialized[b'\x19\xb7\n\x02\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-60)
2023-11-02 14:14:52.588 DEBUG (MainThread) [zigpy.zcl] [0x6051:1:0x0101] Received ZCL frame: b'\x19\xb7\n\x02\x00\x01'
2023-11-02 14:14:52.588 DEBUG (MainThread) [zigpy.zcl] [0x6051:1:0x0101] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=True, *is_general=False), tsn=183, command_id=10, *direction=<Direction.Client_to_Server: 1>)
2023-11-02 14:14:52.589 DEBUG (MainThread) [zigpy.zcl] [0x6051:1:0x0101] Decoded ZCL frame: DoorLock:get_user_status_response(user_id=2, user_status=<UserStatus.Enabled: 1>)
2023-11-02 14:14:52.590 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x6051](YRD210 PB DB): Issued cluster command: cluster_id: [257] cluster_type: [in] endpoint_id: [1] command: [10] command_type: [server] args: [None] params: [{'user_id': 2}] manufacturer: [None]
2023-11-02 14:14:52.590 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140603830223680] Failed to issue cluster command with status: <UserStatus.Enabled: 1>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 230, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 2035, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2072, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 986, in admin_handler
await result
File "/usr/src/homeassistant/homeassistant/components/zha/websocket_api.py", line 1361, in issue_zigbee_cluster_command
await zha_device.issue_cluster_command(
File "/usr/src/homeassistant/homeassistant/components/zha/core/device.py", line 839, in issue_cluster_command
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Failed to issue cluster command with status: <UserStatus.Enabled: 1>
-------------------------------
2023-11-02 14:16:11.847 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 11, 2, 18, 16, 11, 847041, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6051), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=36, profile_id=260, cluster_id=257, data=Serialized[b'\x08\xc2\x0b\x06\x81'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-60)
2023-11-02 14:16:11.847 DEBUG (MainThread) [zigpy.zcl] [0x6051:1:0x0101] Received ZCL frame: b'\x08\xc2\x0b\x06\x81'
2023-11-02 14:16:11.848 DEBUG (MainThread) [zigpy.zcl] [0x6051:1:0x0101] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=194, command_id=11, *direction=<Direction.Client_to_Server: 1>)
2023-11-02 14:16:11.848 DEBUG (MainThread) [zigpy.zcl] [0x6051:1:0x0101] Decoded ZCL frame: DoorLock:Default_Response(command_id=6, status=<Status.UNSUP_CLUSTER_COMMAND: 129>)
2023-11-02 14:16:11.860 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x6051](YRD210 PB DB): Issued cluster command: cluster_id: [257] cluster_type: [in] endpoint_id: [1] command: [6] command_type: [server] args: [None] params: [{'user_id': 2}] manufacturer: [None]
2023-11-02 14:16:11.862 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140603830223680] Failed to issue cluster command with status: <Status.UNSUP_CLUSTER_COMMAND: 129>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 230, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 2035, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2072, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 986, in admin_handler
await result
File "/usr/src/homeassistant/homeassistant/components/zha/websocket_api.py", line 1361, in issue_zigbee_cluster_command
await zha_device.issue_cluster_command(
File "/usr/src/homeassistant/homeassistant/components/zha/core/device.py", line 839, in issue_cluster_command
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Failed to issue cluster command with status: <Status.UNSUP_CLUSTER_COMMAND: 129>