zigpy / zha-device-handlers

ZHA device handlers bridge the functionality gap created when manufacturers deviate from the ZCL specification, handling deviations and exceptions by parsing custom messages to and from Zigbee devices.
Apache License 2.0
719 stars 663 forks source link

Moes 3 Gang Light Dimmer Switch ZS-USD3-WH-MS (Tuya "_TZE200_vm1gyrso", "TS0601") #1461

Closed freemanm closed 2 years ago

freemanm commented 2 years ago

I like to request support for the Moer Zigbee Dimmer Light Switch. see signature detail below. THe switch I have is a 3-gang version

It is currently pick up as a router and not an End-Device. THis is a link to the vendor website.

Signature

{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0051",
      "in_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0xef00"
      ],
      "out_clusters": [
        "0x000a",
        "0x0019"
      ]
    },
    "242": {
      "profile_id": 41440,
      "device_type": "0x0061",
      "in_clusters": [],
      "out_clusters": [
        "0x0021"
      ]
    }
  },
  "manufacturer": "_TZE200_vm1gyrso",
  "model": "TS0601",
  "class": "zigpy.device.Device"
}
javicalle commented 2 years ago

Another Tuya dimmer device. This one with a GreenPowerProxy.

3 gang type device Other functions:

Probably also:

Please, enable debug logging and attach the logs from interact with the physical switch:

Logs from three buttons are needed to get the necessary data.

freemanm commented 2 years ago

Log information as requested

Button-1 Press (ON) ``` 2022-04-04 18:36:31 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0x1C87, Relays=[]) 2022-04-04 18:36:31 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=177, SecurityUse=, TimeStamp=8685565, TSN=0, Data=b'\x09\x93\x01\x00\x60\x01\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:36:31 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=147 command_id=1> 2022-04-04 18:36:31 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:36:31 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00`\x01\x01\x00\x01\x00' 2022-04-04 18:36:31 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:36:31 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:36:31 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=177, SecurityUse=, TimeStamp=8710400, TSN=0, Data=b'\x09\x93\x01\x00\x60\x01\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:36:31 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=147 command_id=1> 2022-04-04 18:36:31 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:36:31 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00`\x01\x01\x00\x01\x00' 2022-04-04 18:36:31 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:36:31 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:36:31 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=8722946, TSN=0, Data=b'\x09\x93\x01\x00\x60\x01\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:36:31 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=147 command_id=1> 2022-04-04 18:36:31 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:36:31 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00`\x01\x01\x00\x01\x00' 2022-04-04 18:36:31 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:36:31 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:36:32 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=8735493, TSN=0, Data=b'\x09\x93\x01\x00\x60\x01\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:36:32 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=147 command_id=1> 2022-04-04 18:36:32 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:36:32 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00`\x01\x01\x00\x01\x00' 2022-04-04 18:36:32 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:36:32 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:36:32 DEBUG (MainThread) [homeassistant.core] Bus:Handling , new_state=> 2022-04-04 18:36:32 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=8748037, TSN=0, Data=b'\x09\x93\x01\x00\x60\x01\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:36:32 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=147 command_id=1> 2022-04-04 18:36:32 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:36:32 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00`\x01\x01\x00\x01\x00' 2022-04-04 18:36:32 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:36:32 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:36:32 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=8760583, TSN=0, Data=b'\x09\x93\x01\x00\x60\x01\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:36:32 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=147 command_id=1> 2022-04-04 18:36:32 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:36:32 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00`\x01\x01\x00\x01\x00' 2022-04-04 18:36:32 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:36:32 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:36:32 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=8773128, TSN=0, Data=b'\x09\x93\x01\x00\x60\x01\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:36:32 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=147 command_id=1> 2022-04-04 18:36:32 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:36:32 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00`\x01\x01\x00\x01\x00' 2022-04-04 18:36:32 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:36:32 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:36:32 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=8785675, TSN=0, Data=b'\x09\x93\x01\x00\x60\x01\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:36:32 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=147 command_id=1> 2022-04-04 18:36:32 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:36:32 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00`\x01\x01\x00\x01\x00' 2022-04-04 18:36:32 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:36:32 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:36:33 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=8798221, TSN=0, Data=b'\x09\x93\x01\x00\x60\x01\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:36:33 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=147 command_id=1> 2022-04-04 18:36:33 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:36:33 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00`\x01\x01\x00\x01\x00' 2022-04-04 18:36:33 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:36:33 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:36:33 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=8810768, TSN=0, Data=b'\x09\x93\x01\x00\x60\x01\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:36:33 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=147 command_id=1> 2022-04-04 18:36:33 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:36:33 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00`\x01\x01\x00\x01\x00' 2022-04-04 18:36:33 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 ```
BUtton-1 Press (OFF) ``` 2022-04-04 18:37:07 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=10965762, TSN=0, Data=b'\x09\x94\x01\x00\x61\x01\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:37:07 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=148 command_id=1> 2022-04-04 18:37:07 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:37:07 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00a\x01\x01\x00\x01\x01' 2022-04-04 18:37:07 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:37:07 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:37:08 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=189, SecurityUse=, TimeStamp=10990843, TSN=0, Data=b'\x09\x94\x01\x00\x61\x01\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:37:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=148 command_id=1> 2022-04-04 18:37:08 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:37:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00a\x01\x01\x00\x01\x01' 2022-04-04 18:37:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:37:08 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:37:08 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=11003374, TSN=0, Data=b'\x09\x94\x01\x00\x61\x01\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:37:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=148 command_id=1> 2022-04-04 18:37:08 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:37:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00a\x01\x01\x00\x01\x01' 2022-04-04 18:37:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:37:08 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:37:08 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=11015921, TSN=0, Data=b'\x09\x94\x01\x00\x61\x01\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:37:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=148 command_id=1> 2022-04-04 18:37:08 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:37:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00a\x01\x01\x00\x01\x01' 2022-04-04 18:37:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:37:08 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:37:08 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=11028467, TSN=0, Data=b'\x09\x94\x01\x00\x61\x01\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:37:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=148 command_id=1> 2022-04-04 18:37:08 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:37:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00a\x01\x01\x00\x01\x01' 2022-04-04 18:37:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:37:08 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:37:08 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=11041016, TSN=0, Data=b'\x09\x94\x01\x00\x61\x01\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:37:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=148 command_id=1> 2022-04-04 18:37:08 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:37:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00a\x01\x01\x00\x01\x01' 2022-04-04 18:37:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:37:08 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:37:09 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=11053562, TSN=0, Data=b'\x09\x94\x01\x00\x61\x01\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:37:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=148 command_id=1> 2022-04-04 18:37:09 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:37:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00a\x01\x01\x00\x01\x01' 2022-04-04 18:37:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:37:09 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:37:09 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=11066110, TSN=0, Data=b'\x09\x94\x01\x00\x61\x01\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:37:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=148 command_id=1> 2022-04-04 18:37:09 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:37:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00a\x01\x01\x00\x01\x01' 2022-04-04 18:37:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:37:09 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:37:09 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=11078655, TSN=0, Data=b'\x09\x94\x01\x00\x61\x01\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:37:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=148 command_id=1> 2022-04-04 18:37:09 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:37:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00a\x01\x01\x00\x01\x01' 2022-04-04 18:37:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:37:09 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:37:09 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=186, SecurityUse=, TimeStamp=11091202, TSN=0, Data=b'\x09\x94\x01\x00\x61\x01\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:37:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=148 command_id=1> 2022-04-04 18:37:09 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:37:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00a\x01\x01\x00\x01\x01' 2022-04-04 18:37:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:37:09 DEBUG (MainThread) [homeassistant.core] Bus:Handling ```
BUtton-2 Press (ON) ``` 2022-04-04 18:58:54 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=186, SecurityUse=, TimeStamp=13983857, TSN=0, Data=b'\x09\x9E\x01\x00\x62\x07\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:58:54 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=158 command_id=1> 2022-04-04 18:58:54 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:58:54 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00b\x07\x01\x00\x01\x00' 2022-04-04 18:58:54 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:58:54 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:58:54 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=14008925, TSN=0, Data=b'\x09\x9E\x01\x00\x62\x07\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:58:54 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=158 command_id=1> 2022-04-04 18:58:54 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:58:54 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00b\x07\x01\x00\x01\x00' 2022-04-04 18:58:54 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:58:54 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:58:54 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=14021472, TSN=0, Data=b'\x09\x9E\x01\x00\x62\x07\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:58:54 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=158 command_id=1> 2022-04-04 18:58:54 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:58:54 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00b\x07\x01\x00\x01\x00' 2022-04-04 18:58:54 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:58:54 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:58:55 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=14034019, TSN=0, Data=b'\x09\x9E\x01\x00\x62\x07\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:58:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=158 command_id=1> 2022-04-04 18:58:55 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:58:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00b\x07\x01\x00\x01\x00' 2022-04-04 18:58:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:58:55 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:58:55 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=186, SecurityUse=, TimeStamp=14046563, TSN=0, Data=b'\x09\x9E\x01\x00\x62\x07\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:58:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=158 command_id=1> 2022-04-04 18:58:55 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:58:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00b\x07\x01\x00\x01\x00' 2022-04-04 18:58:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:58:55 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:58:55 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=186, SecurityUse=, TimeStamp=14059112, TSN=0, Data=b'\x09\x9E\x01\x00\x62\x07\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:58:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=158 command_id=1> 2022-04-04 18:58:55 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:58:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00b\x07\x01\x00\x01\x00' 2022-04-04 18:58:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:58:55 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:58:55 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=189, SecurityUse=, TimeStamp=14071656, TSN=0, Data=b'\x09\x9E\x01\x00\x62\x07\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:58:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=158 command_id=1> 2022-04-04 18:58:55 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:58:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00b\x07\x01\x00\x01\x00' 2022-04-04 18:58:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:58:55 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:58:55 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=189, SecurityUse=, TimeStamp=14084201, TSN=0, Data=b'\x09\x9E\x01\x00\x62\x07\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:58:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=158 command_id=1> 2022-04-04 18:58:55 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:58:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00b\x07\x01\x00\x01\x00' 2022-04-04 18:58:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:58:55 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:58:56 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=192, SecurityUse=, TimeStamp=14096744, TSN=0, Data=b'\x09\x9E\x01\x00\x62\x07\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:58:56 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=158 command_id=1> 2022-04-04 18:58:56 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:58:56 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00b\x07\x01\x00\x01\x00' 2022-04-04 18:58:56 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 18:58:56 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 18:58:56 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=14109291, TSN=0, Data=b'\x09\x9E\x01\x00\x62\x07\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 18:58:56 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=158 command_id=1> 2022-04-04 18:58:56 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 18:58:56 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00b\x07\x01\x00\x01\x00' 2022-04-04 18:58:56 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 ```
BUtton-2 Press (OFF) ``` 2022-04-04 19:10:08 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0x1C87, Relays=[]) 2022-04-04 19:10:08 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=8947471, TSN=0, Data=b'\x09\xA7\x01\x00\x65\x07\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:10:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=167 command_id=1> 2022-04-04 19:10:08 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:10:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00e\x07\x01\x00\x01\x01' 2022-04-04 19:10:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:10:08 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:10:09 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=8972306, TSN=0, Data=b'\x09\xA7\x01\x00\x65\x07\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:10:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=167 command_id=1> 2022-04-04 19:10:09 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:10:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00e\x07\x01\x00\x01\x01' 2022-04-04 19:10:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:10:09 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:10:09 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=8984854, TSN=0, Data=b'\x09\xA7\x01\x00\x65\x07\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:10:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=167 command_id=1> 2022-04-04 19:10:09 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:10:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00e\x07\x01\x00\x01\x01' 2022-04-04 19:10:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:10:09 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:10:09 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=8997398, TSN=0, Data=b'\x09\xA7\x01\x00\x65\x07\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:10:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=167 command_id=1> 2022-04-04 19:10:09 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:10:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00e\x07\x01\x00\x01\x01' 2022-04-04 19:10:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:10:09 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:10:09 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=9009943, TSN=0, Data=b'\x09\xA7\x01\x00\x65\x07\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:10:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=167 command_id=1> 2022-04-04 19:10:09 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:10:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00e\x07\x01\x00\x01\x01' 2022-04-04 19:10:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:10:09 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:10:09 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=9022486, TSN=0, Data=b'\x09\xA7\x01\x00\x65\x07\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:10:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=167 command_id=1> 2022-04-04 19:10:09 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:10:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00e\x07\x01\x00\x01\x01' 2022-04-04 19:10:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:10:09 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:10:10 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=9035033, TSN=0, Data=b'\x09\xA7\x01\x00\x65\x07\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:10:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=167 command_id=1> 2022-04-04 19:10:10 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:10:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00e\x07\x01\x00\x01\x01' 2022-04-04 19:10:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:10:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:10:10 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=9047579, TSN=0, Data=b'\x09\xA7\x01\x00\x65\x07\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:10:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=167 command_id=1> 2022-04-04 19:10:10 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:10:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00e\x07\x01\x00\x01\x01' 2022-04-04 19:10:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:10:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:10:10 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=177, SecurityUse=, TimeStamp=9060126, TSN=0, Data=b'\x09\xA7\x01\x00\x65\x07\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:10:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=167 command_id=1> 2022-04-04 19:10:10 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:10:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00e\x07\x01\x00\x01\x01' 2022-04-04 19:10:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:10:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:10:10 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=9072672, TSN=0, Data=b'\x09\xA7\x01\x00\x65\x07\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:10:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=167 command_id=1> 2022-04-04 19:10:10 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:10:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00e\x07\x01\x00\x01\x01' 2022-04-04 19:10:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 ```
BUtton-3 Press (ON) ``` 2022-04-04 19:20:49 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.Ping.Req() 2022-04-04 19:20:50 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.Ping.Rsp(Capabilities=) 2022-04-04 19:20:54 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=168, SecurityUse=, TimeStamp=2141510, TSN=0, Data=b'\x09\xAD\x01\x00\x66\x0F\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:20:54 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=173 command_id=1> 2022-04-04 19:20:54 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:20:54 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00f\x0f\x01\x00\x01\x01' 2022-04-04 19:20:54 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:20:54 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:20:55 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=174, SecurityUse=, TimeStamp=2166562, TSN=0, Data=b'\x09\xAD\x01\x00\x66\x0F\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:20:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=173 command_id=1> 2022-04-04 19:20:55 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:20:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00f\x0f\x01\x00\x01\x01' 2022-04-04 19:20:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:20:55 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:20:55 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=162, SecurityUse=, TimeStamp=2179109, TSN=0, Data=b'\x09\xAD\x01\x00\x66\x0F\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:20:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=173 command_id=1> 2022-04-04 19:20:55 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:20:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00f\x0f\x01\x00\x01\x01' 2022-04-04 19:20:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:20:55 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:20:55 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=165, SecurityUse=, TimeStamp=2191653, TSN=0, Data=b'\x09\xAD\x01\x00\x66\x0F\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:20:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=173 command_id=1> 2022-04-04 19:20:55 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:20:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00f\x0f\x01\x00\x01\x01' 2022-04-04 19:20:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:20:55 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:20:55 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=165, SecurityUse=, TimeStamp=2204202, TSN=0, Data=b'\x09\xAD\x01\x00\x66\x0F\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:20:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=173 command_id=1> 2022-04-04 19:20:55 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:20:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00f\x0f\x01\x00\x01\x01' 2022-04-04 19:20:55 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:20:55 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:20:56 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=165, SecurityUse=, TimeStamp=2216748, TSN=0, Data=b'\x09\xAD\x01\x00\x66\x0F\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:20:56 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=173 command_id=1> 2022-04-04 19:20:56 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:20:56 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00f\x0f\x01\x00\x01\x01' 2022-04-04 19:20:56 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:20:56 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:20:56 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=165, SecurityUse=, TimeStamp=2229294, TSN=0, Data=b'\x09\xAD\x01\x00\x66\x0F\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:20:56 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=173 command_id=1> 2022-04-04 19:20:56 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:20:56 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00f\x0f\x01\x00\x01\x01' 2022-04-04 19:20:56 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:20:56 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:20:56 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=165, SecurityUse=, TimeStamp=2241840, TSN=0, Data=b'\x09\xAD\x01\x00\x66\x0F\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:20:56 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=173 command_id=1> 2022-04-04 19:20:56 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:20:56 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00f\x0f\x01\x00\x01\x01' 2022-04-04 19:20:56 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:20:56 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:20:56 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=156, SecurityUse=, TimeStamp=2254387, TSN=0, Data=b'\x09\xAD\x01\x00\x66\x0F\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:20:56 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=173 command_id=1> 2022-04-04 19:20:56 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:20:56 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00f\x0f\x01\x00\x01\x01' 2022-04-04 19:20:56 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:20:56 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:20:56 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=159, SecurityUse=, TimeStamp=2266935, TSN=0, Data=b'\x09\xAD\x01\x00\x66\x0F\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:20:56 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=173 command_id=1> 2022-04-04 19:20:56 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:20:56 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00f\x0f\x01\x00\x01\x01' 2022-04-04 19:20:56 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:20:56 DEBUG (MainThread) [homeassistant.core] Bus:Handling ```
BUtton-3 Press (OFF) ``` 2022-04-04 19:25:22 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.Ping.Req() 2022-04-04 19:25:22 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.Ping.Rsp(Capabilities=) 2022-04-04 19:25:24 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0x1C87, Relays=[]) 2022-04-04 19:25:24 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=186, SecurityUse=, TimeStamp=3275585, TSN=0, Data=b'\x09\xB0\x01\x00\x67\x0F\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:25:24 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=176 command_id=1> 2022-04-04 19:25:24 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:25:24 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00g\x0f\x01\x00\x01\x00' 2022-04-04 19:25:24 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:25:24 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:25:25 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=3300419, TSN=0, Data=b'\x09\xB0\x01\x00\x67\x0F\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:25:25 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=176 command_id=1> 2022-04-04 19:25:25 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:25:25 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00g\x0f\x01\x00\x01\x00' 2022-04-04 19:25:25 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:25:25 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:25:25 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=177, SecurityUse=, TimeStamp=3312983, TSN=0, Data=b'\x09\xB0\x01\x00\x67\x0F\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:25:25 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=176 command_id=1> 2022-04-04 19:25:25 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:25:25 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00g\x0f\x01\x00\x01\x00' 2022-04-04 19:25:25 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:25:25 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:25:25 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=3325513, TSN=0, Data=b'\x09\xB0\x01\x00\x67\x0F\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:25:25 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=176 command_id=1> 2022-04-04 19:25:25 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:25:25 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00g\x0f\x01\x00\x01\x00' 2022-04-04 19:25:25 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:25:25 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:25:25 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=189, SecurityUse=, TimeStamp=3338059, TSN=0, Data=b'\x09\xB0\x01\x00\x67\x0F\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:25:25 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=176 command_id=1> 2022-04-04 19:25:25 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:25:25 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00g\x0f\x01\x00\x01\x00' 2022-04-04 19:25:25 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:25:25 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:25:25 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=189, SecurityUse=, TimeStamp=3350608, TSN=0, Data=b'\x09\xB0\x01\x00\x67\x0F\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:25:25 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=176 command_id=1> 2022-04-04 19:25:25 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:25:25 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00g\x0f\x01\x00\x01\x00' 2022-04-04 19:25:25 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:25:25 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:25:26 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=3363152, TSN=0, Data=b'\x09\xB0\x01\x00\x67\x0F\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:25:26 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=176 command_id=1> 2022-04-04 19:25:26 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:25:26 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00g\x0f\x01\x00\x01\x00' 2022-04-04 19:25:26 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:25:26 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:25:26 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=186, SecurityUse=, TimeStamp=3375698, TSN=0, Data=b'\x09\xB0\x01\x00\x67\x0F\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:25:26 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=176 command_id=1> 2022-04-04 19:25:26 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:25:26 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00g\x0f\x01\x00\x01\x00' 2022-04-04 19:25:26 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:25:26 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:25:26 DEBUG (MainThread) [homeassistant.core] Bus:Handling , new_state=> 2022-04-04 19:25:26 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=189, SecurityUse=, TimeStamp=3388242, TSN=0, Data=b'\x09\xB0\x01\x00\x67\x0F\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:25:26 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=176 command_id=1> 2022-04-04 19:25:26 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:25:26 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00g\x0f\x01\x00\x01\x00' 2022-04-04 19:25:26 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:25:26 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:25:26 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=186, SecurityUse=, TimeStamp=3400788, TSN=0, Data=b'\x09\xB0\x01\x00\x67\x0F\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:25:26 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=176 command_id=1> 2022-04-04 19:25:26 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:25:26 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00g\x0f\x01\x00\x01\x00' 2022-04-04 19:25:26 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:25:26 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:25:27 DEBUG (MainThread) [homeassistant.core] Bus:Handling , new_state=> ```
Button 3 - (Dim (100%->0%) ``` 2022-04-04 19:30:52 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:30:52 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=8064913, TSN=0, Data=b'\x09\xB5\x01\x00\x68\x0F\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:30:52 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=181 command_id=1> 2022-04-04 19:30:52 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:30:52 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00h\x0f\x01\x00\x01\x01' 2022-04-04 19:30:52 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:30:52 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:30:53 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=177, SecurityUse=, TimeStamp=8077459, TSN=0, Data=b'\x09\xB5\x01\x00\x68\x0F\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:30:53 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=181 command_id=1> 2022-04-04 19:30:53 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:30:53 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00h\x0f\x01\x00\x01\x01' 2022-04-04 19:30:53 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:30:53 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:30:53 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=177, SecurityUse=, TimeStamp=8090003, TSN=0, Data=b'\x09\xB5\x01\x00\x68\x0F\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:30:53 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=181 command_id=1> 2022-04-04 19:30:53 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:30:53 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00h\x0f\x01\x00\x01\x01' 2022-04-04 19:30:53 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:30:53 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:30:53 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=8102550, TSN=0, Data=b'\x09\xB5\x01\x00\x68\x0F\x01\x00\x01\x01', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:30:53 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=181 command_id=1> 2022-04-04 19:30:53 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:30:53 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00h\x0f\x01\x00\x01\x01' 2022-04-04 19:30:53 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:30:53 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:30:55 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.Ping.Req() 2022-04-04 19:30:56 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.Ping.Rsp(Capabilities=) 2022-04-04 19:31:03 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0x1C87, Relays=[]) 2022-04-04 19:31:03 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=177, SecurityUse=, TimeStamp=8722197, TSN=0, Data=b'\x09\xB6\x01\x00\x69\x10\x02\x00\x04\x00\x00\x00\xE6', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:31:03 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=182 command_id=1> 2022-04-04 19:31:03 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:31:03 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00i\x10\x02\x00\x04\x00\x00\x00\xe6' 2022-04-04 19:31:03 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:31:03 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:31:03 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=177, SecurityUse=, TimeStamp=8747094, TSN=0, Data=b'\x09\xB6\x01\x00\x69\x10\x02\x00\x04\x00\x00\x00\xE6', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:31:03 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=182 command_id=1> 2022-04-04 19:31:03 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:31:03 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00i\x10\x02\x00\x04\x00\x00\x00\xe6' 2022-04-04 19:31:03 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:31:03 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:31:04 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=8759702, TSN=0, Data=b'\x09\xB6\x01\x00\x69\x10\x02\x00\x04\x00\x00\x00\xE6', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:31:04 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=182 command_id=1> 2022-04-04 19:31:04 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:31:04 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00i\x10\x02\x00\x04\x00\x00\x00\xe6' 2022-04-04 19:31:04 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:31:04 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:31:04 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=174, SecurityUse=, TimeStamp=8772325, TSN=0, Data=b'\x09\xB6\x01\x00\x69\x10\x02\x00\x04\x00\x00\x00\xE6', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:31:04 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=182 command_id=1> 2022-04-04 19:31:04 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:31:04 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00i\x10\x02\x00\x04\x00\x00\x00\xe6' 2022-04-04 19:31:04 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:31:04 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:31:04 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=8784934, TSN=0, Data=b'\x09\xB6\x01\x00\x69\x10\x02\x00\x04\x00\x00\x00\xE6', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:31:04 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=182 command_id=1> 2022-04-04 19:31:04 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:31:04 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00i\x10\x02\x00\x04\x00\x00\x00\xe6' 2022-04-04 19:31:04 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:31:04 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:31:04 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=177, SecurityUse=, TimeStamp=8797480, TSN=0, Data=b'\x09\xB6\x01\x00\x69\x10\x02\x00\x04\x00\x00\x00\xE6', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:31:04 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=182 command_id=1> 2022-04-04 19:31:04 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:31:04 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00i\x10\x02\x00\x04\x00\x00\x00\xe6' 2022-04-04 19:31:04 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:31:04 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:31:04 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=177, SecurityUse=, TimeStamp=8810093, TSN=0, Data=b'\x09\xB6\x01\x00\x69\x10\x02\x00\x04\x00\x00\x00\xE6', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:31:04 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=182 command_id=1> 2022-04-04 19:31:04 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:31:04 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00i\x10\x02\x00\x04\x00\x00\x00\xe6' 2022-04-04 19:31:04 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:31:04 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:31:05 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=174, SecurityUse=, TimeStamp=8822697, TSN=0, Data=b'\x09\xB6\x01\x00\x69\x10\x02\x00\x04\x00\x00\x00\xE6', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:31:05 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=182 command_id=1> 2022-04-04 19:31:05 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:31:05 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00i\x10\x02\x00\x04\x00\x00\x00\xe6' 2022-04-04 19:31:05 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:31:05 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:31:05 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=8835243, TSN=0, Data=b'\x09\xB6\x01\x00\x69\x10\x02\x00\x04\x00\x00\x00\xE6', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:31:05 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=182 command_id=1> 2022-04-04 19:31:05 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:31:05 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00i\x10\x02\x00\x04\x00\x00\x00\xe6' 2022-04-04 19:31:05 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:31:05 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:31:05 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=8847788, TSN=0, Data=b'\x09\xB6\x01\x00\x69\x10\x02\x00\x04\x00\x00\x00\xE6', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:31:05 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=182 command_id=1> 2022-04-04 19:31:05 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:31:05 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00i\x10\x02\x00\x04\x00\x00\x00\xe6' 2022-04-04 19:31:05 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:31:05 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:31:05 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=8873071, TSN=0, Data=b'\x09\xB7\x01\x00\x6A\x10\x02\x00\x04\x00\x00\x00\xBE', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:31:05 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=183 command_id=1> 2022-04-04 19:31:05 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:31:05 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00j\x10\x02\x00\x04\x00\x00\x00\xbe' 2022-04-04 19:31:05 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:31:05 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:31:06 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=8898354, TSN=0, Data=b'\x09\xB8\x01\x00\x6B\x10\x02\x00\x04\x00\x00\x00\x96', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:31:06 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=184 command_id=1> 2022-04-04 19:31:06 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:31:06 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00k\x10\x02\x00\x04\x00\x00\x00\x96' 2022-04-04 19:31:06 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:31:06 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:31:06 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=177, SecurityUse=, TimeStamp=8923688, TSN=0, Data=b'\x09\xB9\x01\x00\x6C\x10\x02\x00\x04\x00\x00\x00\x6E', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:31:06 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=185 command_id=1> 2022-04-04 19:31:06 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:31:06 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00l\x10\x02\x00\x04\x00\x00\x00n' 2022-04-04 19:31:06 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:31:06 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:31:07 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=8949027, TSN=0, Data=b'\x09\xBA\x01\x00\x6D\x10\x02\x00\x04\x00\x00\x00\x46', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:31:07 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=186 command_id=1> 2022-04-04 19:31:07 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:31:07 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00m\x10\x02\x00\x04\x00\x00\x00F' 2022-04-04 19:31:07 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:31:07 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:31:07 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=8974296, TSN=0, Data=b'\x09\xBB\x01\x00\x6E\x10\x02\x00\x04\x00\x00\x00\x1E', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:31:07 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=187 command_id=1> 2022-04-04 19:31:07 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:31:07 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00n\x10\x02\x00\x04\x00\x00\x00\x1e' 2022-04-04 19:31:07 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:31:07 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:31:07 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=8999554, TSN=0, Data=b'\x09\xBC\x01\x00\x6F\x10\x02\x00\x04\x00\x00\x00\x0A', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:31:07 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=188 command_id=1> 2022-04-04 19:31:07 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:31:07 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00o\x10\x02\x00\x04\x00\x00\x00\n' 2022-04-04 19:31:07 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:31:07 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:31:08 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=171, SecurityUse=, TimeStamp=9024849, TSN=0, Data=b'\x09\xBD\x01\x00\x70\x0F\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:31:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=189 command_id=1> 2022-04-04 19:31:08 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:31:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00p\x0f\x01\x00\x01\x00' 2022-04-04 19:31:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:31:08 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:31:08 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=165, SecurityUse=, TimeStamp=9037406, TSN=0, Data=b'\x09\xBD\x01\x00\x70\x0F\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:31:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=189 command_id=1> 2022-04-04 19:31:08 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:31:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00p\x0f\x01\x00\x01\x00' 2022-04-04 19:31:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:31:08 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:31:08 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=171, SecurityUse=, TimeStamp=9049954, TSN=0, Data=b'\x09\xBD\x01\x00\x70\x0F\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:31:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=189 command_id=1> 2022-04-04 19:31:08 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:31:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00p\x0f\x01\x00\x01\x00' 2022-04-04 19:31:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:31:08 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:31:08 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=168, SecurityUse=, TimeStamp=9062499, TSN=0, Data=b'\x09\xBD\x01\x00\x70\x0F\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:31:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=189 command_id=1> 2022-04-04 19:31:08 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:31:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00p\x0f\x01\x00\x01\x00' 2022-04-04 19:31:08 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:31:08 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 19:31:09 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=171, SecurityUse=, TimeStamp=9075047, TSN=0, Data=b'\x09\xBD\x01\x00\x70\x0F\x01\x00\x01\x00', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 19:31:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=189 command_id=1> 2022-04-04 19:31:09 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 19:31:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00p\x0f\x01\x00\x01\x00' 2022-04-04 19:31:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 19:31:09 DEBUG (MainThread) [homeassistant.core] Bus:Handling ```
Button 3 - (Dim(0%->100%) ``` 2022-04-04 20:00:51 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.Ping.Req() 2022-04-04 20:01:09 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=7121592, TSN=0, Data=b'\x09\xE4\x01\x00\x87\x10\x02\x00\x04\x00\x00\x00\x1E', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=228 command_id=1> 2022-04-04 20:01:09 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x87\x10\x02\x00\x04\x00\x00\x00\x1e' 2022-04-04 20:01:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:09 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:09 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=7146722, TSN=0, Data=b'\x09\xE4\x01\x00\x87\x10\x02\x00\x04\x00\x00\x00\x1E', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=228 command_id=1> 2022-04-04 20:01:09 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x87\x10\x02\x00\x04\x00\x00\x00\x1e' 2022-04-04 20:01:09 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:09 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:10 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=7159332, TSN=0, Data=b'\x09\xE4\x01\x00\x87\x10\x02\x00\x04\x00\x00\x00\x1E', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=228 command_id=1> 2022-04-04 20:01:10 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x87\x10\x02\x00\x04\x00\x00\x00\x1e' 2022-04-04 20:01:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:10 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=7171938, TSN=0, Data=b'\x09\xE4\x01\x00\x87\x10\x02\x00\x04\x00\x00\x00\x1E', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=228 command_id=1> 2022-04-04 20:01:10 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x87\x10\x02\x00\x04\x00\x00\x00\x1e' 2022-04-04 20:01:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:10 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=7184547, TSN=0, Data=b'\x09\xE4\x01\x00\x87\x10\x02\x00\x04\x00\x00\x00\x1E', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=228 command_id=1> 2022-04-04 20:01:10 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x87\x10\x02\x00\x04\x00\x00\x00\x1e' 2022-04-04 20:01:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:10 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=177, SecurityUse=, TimeStamp=7197091, TSN=0, Data=b'\x09\xE4\x01\x00\x87\x10\x02\x00\x04\x00\x00\x00\x1E', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=228 command_id=1> 2022-04-04 20:01:10 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x87\x10\x02\x00\x04\x00\x00\x00\x1e' 2022-04-04 20:01:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:10 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=7209700, TSN=0, Data=b'\x09\xE4\x01\x00\x87\x10\x02\x00\x04\x00\x00\x00\x1E', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=228 command_id=1> 2022-04-04 20:01:10 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x87\x10\x02\x00\x04\x00\x00\x00\x1e' 2022-04-04 20:01:10 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:11 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=7222310, TSN=0, Data=b'\x09\xE4\x01\x00\x87\x10\x02\x00\x04\x00\x00\x00\x1E', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:11 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=228 command_id=1> 2022-04-04 20:01:11 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:11 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x87\x10\x02\x00\x04\x00\x00\x00\x1e' 2022-04-04 20:01:11 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:11 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:11 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=7234919, TSN=0, Data=b'\x09\xE4\x01\x00\x87\x10\x02\x00\x04\x00\x00\x00\x1E', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:11 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=228 command_id=1> 2022-04-04 20:01:11 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:11 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x87\x10\x02\x00\x04\x00\x00\x00\x1e' 2022-04-04 20:01:11 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:11 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:11 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=7247529, TSN=0, Data=b'\x09\xE4\x01\x00\x87\x10\x02\x00\x04\x00\x00\x00\x1E', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:11 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=228 command_id=1> 2022-04-04 20:01:11 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:11 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x87\x10\x02\x00\x04\x00\x00\x00\x1e' 2022-04-04 20:01:11 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:11 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:11 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=7272872, TSN=0, Data=b'\x09\xE5\x01\x00\x88\x10\x02\x00\x04\x00\x00\x00\x46', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:11 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=229 command_id=1> 2022-04-04 20:01:11 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:11 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x88\x10\x02\x00\x04\x00\x00\x00F' 2022-04-04 20:01:11 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:11 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:12 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=7298279, TSN=0, Data=b'\x09\xE6\x01\x00\x89\x10\x02\x00\x04\x00\x00\x00\x6E', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:12 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=230 command_id=1> 2022-04-04 20:01:12 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:12 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x89\x10\x02\x00\x04\x00\x00\x00n' 2022-04-04 20:01:12 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:12 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:12 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=183, SecurityUse=, TimeStamp=7323715, TSN=0, Data=b'\x09\xE7\x01\x00\x8A\x10\x02\x00\x04\x00\x00\x00\x96', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:12 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=231 command_id=1> 2022-04-04 20:01:12 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:12 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x8a\x10\x02\x00\x04\x00\x00\x00\x96' 2022-04-04 20:01:12 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:12 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:13 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=180, SecurityUse=, TimeStamp=7349042, TSN=0, Data=b'\x09\xE8\x01\x00\x8B\x10\x02\x00\x04\x00\x00\x00\xBE', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:13 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=232 command_id=1> 2022-04-04 20:01:13 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:13 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x8b\x10\x02\x00\x04\x00\x00\x00\xbe' 2022-04-04 20:01:13 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:13 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:13 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=168, SecurityUse=, TimeStamp=7374367, TSN=0, Data=b'\x09\xE9\x01\x00\x8C\x10\x02\x00\x04\x00\x00\x00\xE6', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:13 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=233 command_id=1> 2022-04-04 20:01:13 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:13 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x8c\x10\x02\x00\x04\x00\x00\x00\xe6' 2022-04-04 20:01:13 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:13 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:13 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=165, SecurityUse=, TimeStamp=7399614, TSN=0, Data=b'\x09\xEA\x01\x00\x8D\x10\x02\x00\x04\x00\x00\x01\x0E', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:13 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=234 command_id=1> 2022-04-04 20:01:13 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:13 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x8d\x10\x02\x00\x04\x00\x00\x01\x0e' 2022-04-04 20:01:13 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:13 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:14 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=177, SecurityUse=, TimeStamp=7424896, TSN=0, Data=b'\x09\xEB\x01\x00\x8E\x10\x02\x00\x04\x00\x00\x01\x36', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:14 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=235 command_id=1> 2022-04-04 20:01:14 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:14 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x8e\x10\x02\x00\x04\x00\x00\x016' 2022-04-04 20:01:14 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:14 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:14 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=165, SecurityUse=, TimeStamp=7450175, TSN=0, Data=b'\x09\xEC\x01\x00\x8F\x10\x02\x00\x04\x00\x00\x01\x5E', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:14 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=236 command_id=1> 2022-04-04 20:01:14 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:14 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x8f\x10\x02\x00\x04\x00\x00\x01^' 2022-04-04 20:01:14 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:14 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:15 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=174, SecurityUse=, TimeStamp=7475492, TSN=0, Data=b'\x09\xED\x01\x00\x90\x10\x02\x00\x04\x00\x00\x01\x86', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:15 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=237 command_id=1> 2022-04-04 20:01:15 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:15 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x90\x10\x02\x00\x04\x00\x00\x01\x86' 2022-04-04 20:01:15 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:15 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:15 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=171, SecurityUse=, TimeStamp=7500782, TSN=0, Data=b'\x09\xEE\x01\x00\x91\x10\x02\x00\x04\x00\x00\x01\xAE', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:15 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=238 command_id=1> 2022-04-04 20:01:15 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:15 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x91\x10\x02\x00\x04\x00\x00\x01\xae' 2022-04-04 20:01:15 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:15 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:15 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=171, SecurityUse=, TimeStamp=7525991, TSN=0, Data=b'\x09\xEF\x01\x00\x92\x10\x02\x00\x04\x00\x00\x01\xD6', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:15 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=239 command_id=1> 2022-04-04 20:01:15 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:15 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x92\x10\x02\x00\x04\x00\x00\x01\xd6' 2022-04-04 20:01:15 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:15 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:16 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=171, SecurityUse=, TimeStamp=7551259, TSN=0, Data=b'\x09\xF0\x01\x00\x93\x10\x02\x00\x04\x00\x00\x01\xFE', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:16 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=240 command_id=1> 2022-04-04 20:01:16 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:16 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x93\x10\x02\x00\x04\x00\x00\x01\xfe' 2022-04-04 20:01:16 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:16 DEBUG (MainThread) [homeassistant.core] Bus:Handling 2022-04-04 20:01:16 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x1C87, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=171, SecurityUse=, TimeStamp=7583814, TSN=0, Data=b'\x09\xF1\x01\x00\x94\x10\x02\x00\x04\x00\x00\x02\x08', MacSrcAddr=0x1C87, MsgResultRadius=29) 2022-04-04 20:01:16 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL deserialize: manufacturer=None tsn=241 command_id=1> 2022-04-04 20:01:16 WARNING (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] Unknown cluster-specific command 1 2022-04-04 20:01:16 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] ZCL request 0x0001: b'\x00\x94\x10\x02\x00\x04\x00\x00\x02\x08' 2022-04-04 20:01:16 DEBUG (MainThread) [zigpy.zcl] [0x1c87:1:0xef00] No handler for cluster command 1 2022-04-04 20:01:16 DEBUG (MainThread) [homeassistant.core] Bus:Handling ```
javicalle commented 2 years ago

A lot of info (thanks for that) but not exactly the one I expected.

That's what we are going to do, you need to enable the custom_zha_quirks in your installation. Here is an explanation how to do:

Copy the ts0601_dimmer.py file in your custom_zha_quirks folder:

And add this class at the bottom of your local file:

class TuyaTripleSwitchDimmerGPP(TuyaDimmerSwitch):
    """Tuya double channel dimmer device."""

    signature = {
        # "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, 
        #                     reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, 
        #                     mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, 
        #                     manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, 
        #                     maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, 
        #                     *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, 
        #                     *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, 
        #                     *is_security_capable=False)",
        # "endpoints": {
        #     "1": {"profile_id": 260, "device_type": "0x0051", "in_clusters": ["0x0000","0x0004","0x0005","0xef00"],"out_clusters": ["0x000a","0x0019"]},
        #     "242": {"profile_id": 41440,"device_type": "0x0061","in_clusters": [],"out_clusters": ["0x0021"]}
        # },
        # "manufacturer": "_TZE200_vm1gyrso",
        # "model": "TS0601",
        # "class": "zigpy.device.Device"

        MODELS_INFO: [
            ("_TZE200_vm1gyrso", "TS0601"),
        ],
        ENDPOINTS: {
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.SMART_PLUG,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaManufCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id],
            },
            242: {
                PROFILE_ID: 41440,
                DEVICE_TYPE: 97,
                INPUT_CLUSTERS: [],
                OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id],
            },
        },
    }

    replacement = {
        ENDPOINTS: {
            1: {
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaLevelControlManufCluster,
                    TuyaOnOffMCU,
                    TuyaInWallLevelControl,
                ],
                OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id],
            },
            2: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    TuyaOnOffMCU,
                    TuyaInWallLevelControl,
                ],
                OUTPUT_CLUSTERS: [],
            },
            3: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT,
                INPUT_CLUSTERS: [
                    TuyaOnOffMCU,
                    TuyaInWallLevelControl,
                ],
                OUTPUT_CLUSTERS: [],
            },
            242: {
                PROFILE_ID: 41440,
                DEVICE_TYPE: 97,
                INPUT_CLUSTERS: [],
                OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id],
            },
        }
    }

You will need to import the GreenPowerProxy class at the beginning of the file:

from zigpy.zcl.clusters.general import Basic, GreenPowerProxy, Groups, LevelControl, Ota, Scenes, Time

Restart HA and test. If the quirk load, the device signature will change. Buttons 1 and 2 are expected to work. Button 3 don't. We need logs from all not working functions.

javicalle commented 2 years ago

I've managed to decode the messages from the third button, so we could have the quirk fully functional. But that requires extra work...

(The steps in the comment above should also be done)

You'll need to copy the tuya.mcu.__init__.py file to your custom_zha_quirks folder:

In this file you have to modify the TuyaLevelControlManufCluster class to add DPs 15-18:

class TuyaLevelControlManufCluster(TuyaMCUCluster):
    """Tuya with Level Control data points."""

    dp_to_attribute: Dict[int, DPToAttributeMapping] = {
        1: DPToAttributeMapping(
            TuyaOnOff.ep_attribute,
            "on_off",
            dp_type=TuyaDPType.BOOL,
        ),
        2: DPToAttributeMapping(
            TuyaLevelControl.ep_attribute,
            "current_level",
            dp_type=TuyaDPType.VALUE,
            converter=lambda x: (x * 255) // 1000,
            dp_converter=lambda x: (x * 1000) // 255,
        ),
        3: DPToAttributeMapping(
            TuyaLevelControl.ep_attribute,
            "minimum_level",
            dp_type=TuyaDPType.VALUE,
            converter=lambda x: (x * 255) // 1000,
            dp_converter=lambda x: (x * 1000) // 255,
        ),
        4: DPToAttributeMapping(
            TuyaLevelControl.ep_attribute,
            "bulb_type",
            dp_type=TuyaDPType.ENUM,
        ),
        7: DPToAttributeMapping(
            TuyaOnOff.ep_attribute,
            "on_off",
            dp_type=TuyaDPType.BOOL,
            endpoint_id=2,
        ),
        8: DPToAttributeMapping(
            TuyaLevelControl.ep_attribute,
            "current_level",
            dp_type=TuyaDPType.VALUE,
            converter=lambda x: (x * 255) // 1000,
            dp_converter=lambda x: (x * 1000) // 255,
            endpoint_id=2,
        ),
        9: DPToAttributeMapping(
            TuyaLevelControl.ep_attribute,
            "minimum_level",
            dp_type=TuyaDPType.VALUE,
            converter=lambda x: (x * 255) // 1000,
            dp_converter=lambda x: (x * 1000) // 255,
            endpoint_id=2,
        ),
        10: DPToAttributeMapping(
            TuyaLevelControl.ep_attribute,
            "bulb_type",
            dp_type=TuyaDPType.ENUM,
            endpoint_id=2,
        ),
        15: DPToAttributeMapping(
            TuyaOnOff.ep_attribute,
            "on_off",
            dp_type=TuyaDPType.BOOL,
            endpoint_id=3,
        ),
        16: DPToAttributeMapping(
            TuyaLevelControl.ep_attribute,
            "current_level",
            dp_type=TuyaDPType.VALUE,
            converter=lambda x: (x * 255) // 1000,
            dp_converter=lambda x: (x * 1000) // 255,
            endpoint_id=3,
        ),
        17: DPToAttributeMapping(
            TuyaLevelControl.ep_attribute,
            "minimum_level",
            dp_type=TuyaDPType.VALUE,
            converter=lambda x: (x * 255) // 1000,
            dp_converter=lambda x: (x * 1000) // 255,
            endpoint_id=3,
        ),
        18: DPToAttributeMapping(
            TuyaLevelControl.ep_attribute,
            "bulb_type",
            dp_type=TuyaDPType.ENUM,
            endpoint_id=3,
        ),
    }

Modify (a little further down) the data_point_handlers:

    data_point_handlers = {
        1: "_dp_2_attr_update",
        2: "_dp_2_attr_update",
        3: "_dp_2_attr_update",
        4: "_dp_2_attr_update",
        7: "_dp_2_attr_update",
        8: "_dp_2_attr_update",
        9: "_dp_2_attr_update",
        10: "_dp_2_attr_update",
        15: "_dp_2_attr_update",
        16: "_dp_2_attr_update",
        17: "_dp_2_attr_update",
        18: "_dp_2_attr_update",
    }

Now you can go back to your local ts0601_dimmer.py file and modify the zhaquirks.tuya.mcu import:

# from zhaquirks.tuya.mcu import (
from custom_zha_quirks import (
    TuyaInWallLevelControl,
    TuyaLevelControlManufCluster,
    TuyaOnOff as TuyaOnOffMCU,
)

Delete cache (any __pycache__ folder inside custom_zha_quirks), restart HA and test.

freemanm commented 2 years ago

Thanks for the info. I do this later today when I am back at my desk and let you know. THanks again for the quick response.

javicalle commented 2 years ago

Probably related to #1302 Traces shows messages as manufacturer_specific=False

freemanm commented 2 years ago

When I replace

from zhaquirks.tuya.mcu import (
    TuyaInWallLevelControl,
    TuyaLevelControlManufCluster,
    TuyaOnOff as TuyaOnOffMCU,
)

with

# from zhaquirks.tuya.mcu import (
from custom_zha_quirks import (
    TuyaInWallLevelControl,
    TuyaLevelControlManufCluster,
    TuyaOnOff as TuyaOnOffMCU,
)

My installation brakes. Up to this point it detected the Quirk on the device and loaded three switches but I did not work from HA yet. I could not turn any switch on/off from HA or when I switch any of the switches on/off on the physical device if also did not change the status in HA.

I am getting the following error when I press a button on the physical light switch:

Logger: zigpy.zcl
Source: /usr/local/lib/python3.9/site-packages/zhaquirks/tuya/__init__.py:1295
First occurred: 21:18:06 (1 occurrences)
Last logged: 21:18:06

[0x0e44:1:0xef00] No 'handle_get_data' tuya handler found for [TuyaCommand(status=0, tsn=230, dp=15, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]

And this is the startup error when I add the last change:

Logger: homeassistant.config_entries
Source: custom_zha_quirks/ts0601_dimmer.py:28
First occurred: 21:21:10 (1 occurrences)
Last logged: 21:21:10

Error setting up entry Sonoff Zigbee 3.0 USB Dong - /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_3ef772decbc9eb11941c914f1d69213e-if00-port0, s/n: 3ef772decbc9eb11941c914f1d69213e - ITead - 10C4:EA60 for zha
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 335, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 99, in async_setup_entry
    setup_quirks(config)
  File "/usr/local/lib/python3.9/site-packages/zhaquirks/__init__.py", line 403, in setup
    importer.find_module(modname).load_module(modname)
  File "<frozen importlib._bootstrap_external>", line 529, in _check_name_wrapper
  File "<frozen importlib._bootstrap_external>", line 1029, in load_module
  File "<frozen importlib._bootstrap_external>", line 854, in load_module
  File "<frozen importlib._bootstrap>", line 274, in _load_module_shim
  File "<frozen importlib._bootstrap>", line 711, in _load
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/config/custom_zha_quirks/ts0601_dimmer.py", line 28, in <module>
    from custom_zha_quirks import (
ImportError: cannot import name 'TuyaInWallLevelControl' from 'custom_zha_quirks' (unknown location)
javicalle commented 2 years ago

What is the content of your custom_zha_quirks folder? Have you copied the class tuya.mcu.__init__.py there?

freemanm commented 2 years ago

I have the following files in my custom_zha_quirks folder:

ts0601_dimmer.py ``` """Tuya based touch switch.""" from zigpy.profiles import zha from zigpy.zcl.clusters.general import Basic, GreenPowerProxy, Groups, LevelControl, Ota, Scenes, Time from zhaquirks.const import ( DEVICE_TYPE, ENDPOINTS, INPUT_CLUSTERS, MODELS_INFO, OUTPUT_CLUSTERS, PROFILE_ID, ) from zhaquirks.tuya import ( TuyaDimmerSwitch, TuyaLevelControl, TuyaManufacturerClusterOnOff, TuyaManufacturerLevelControl, TuyaManufCluster, TuyaOnOff, ) #from zhaquirks.tuya.mcu import ( # TuyaInWallLevelControl, # TuyaLevelControlManufCluster, # TuyaOnOff as TuyaOnOffMCU, #) # from zhaquirks.tuya.mcu import ( from custom_zha_quirks import ( TuyaInWallLevelControl, TuyaLevelControlManufCluster, TuyaOnOff as TuyaOnOffMCU, ) class TuyaSingleSwitchDimmer(TuyaDimmerSwitch): """Tuya touch switch device.""" signature = { # "node_descriptor": "", # MODELS_INFO: [ ("_TZE200_dfxkcots", "TS0601"), ("_TZE200_whpb9yts", "TS0601"), ("_TZE200_ebwgzdqq", "TS0601"), ("_TZE200_9i9dt8is", "TS0601"), ("_TZE200_swaamsoy", "TS0601"), ("_TZE200_0nauxa0p", "TS0601"), ("_TZE200_la2c2uo9", "TS0601"), ], ENDPOINTS: { 1: { PROFILE_ID: zha.PROFILE_ID, DEVICE_TYPE: zha.DeviceType.SMART_PLUG, INPUT_CLUSTERS: [ Basic.cluster_id, Groups.cluster_id, Scenes.cluster_id, TuyaManufCluster.cluster_id, ], OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id], } }, } replacement = { ENDPOINTS: { 1: { DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT, INPUT_CLUSTERS: [ Basic.cluster_id, Groups.cluster_id, Scenes.cluster_id, LevelControl.cluster_id, TuyaManufacturerClusterOnOff, TuyaOnOff, TuyaManufacturerLevelControl, TuyaLevelControl, ], OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id], } } } class TuyaDoubleSwitchDimmer(TuyaDimmerSwitch): """Tuya double channel dimmer device.""" signature = { # "node_descriptor": "NodeDescriptor(logical_type=, complex_descriptor_available=0, # user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=, # mac_capability_flags=, # manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, # maximum_outgoing_transfer_size=82, descriptor_capability_field=, *allocate_address=True, # *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, # *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False) # "endpoints": { # "1": { "profile_id": 260, "device_type": "0x0051", "in_clusters": [ "0x0000", "0x0004", "0x0005", "0xef00" ], "out_clusters": [ "0x000a", "0x0019" ] } # }, # "manufacturer": "_TZE200_e3oitdyu", # "model": "TS0601", # "class": "zigpy.device.Device" # } MODELS_INFO: [ ("_TZE200_e3oitdyu", "TS0601"), ], ENDPOINTS: { 1: { PROFILE_ID: zha.PROFILE_ID, DEVICE_TYPE: zha.DeviceType.SMART_PLUG, INPUT_CLUSTERS: [ Basic.cluster_id, Groups.cluster_id, Scenes.cluster_id, TuyaManufCluster.cluster_id, ], OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id], } }, } replacement = { ENDPOINTS: { 1: { DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT, INPUT_CLUSTERS: [ Basic.cluster_id, Groups.cluster_id, Scenes.cluster_id, TuyaLevelControlManufCluster, TuyaOnOffMCU, TuyaInWallLevelControl, ], OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id], }, 2: { PROFILE_ID: zha.PROFILE_ID, DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT, INPUT_CLUSTERS: [ TuyaOnOffMCU, TuyaInWallLevelControl, ], OUTPUT_CLUSTERS: [], }, } } # --------------------------------------------------------------------------- class TuyaTripleSwitchDimmerGPP(TuyaDimmerSwitch): """Tuya double channel dimmer device.""" signature = { # "node_descriptor": "NodeDescriptor(logical_type=, complex_descriptor_available=0, user_descriptor_available=0, # reserved=0, aps_flags=0, frequency_band=, # mac_capability_flags=, # manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, # maximum_outgoing_transfer_size=66, descriptor_capability_field=, # *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, # *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, # *is_security_capable=False)", # "endpoints": { # "1": {"profile_id": 260, "device_type": "0x0051", "in_clusters": ["0x0000","0x0004","0x0005","0xef00"],"out_clusters": ["0x000a","0x0019"]}, # "242": {"profile_id": 41440,"device_type": "0x0061","in_clusters": [],"out_clusters": ["0x0021"]} # }, # "manufacturer": "_TZE200_vm1gyrso", # "model": "TS0601", # "class": "zigpy.device.Device" MODELS_INFO: [ ("_TZE200_vm1gyrso", "TS0601"), ], ENDPOINTS: { 1: { PROFILE_ID: zha.PROFILE_ID, DEVICE_TYPE: zha.DeviceType.SMART_PLUG, INPUT_CLUSTERS: [ Basic.cluster_id, Groups.cluster_id, Scenes.cluster_id, TuyaManufCluster.cluster_id, ], OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id], }, 242: { PROFILE_ID: 41440, DEVICE_TYPE: 97, INPUT_CLUSTERS: [], OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id], }, }, } replacement = { ENDPOINTS: { 1: { DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT, INPUT_CLUSTERS: [ Basic.cluster_id, Groups.cluster_id, Scenes.cluster_id, TuyaLevelControlManufCluster, TuyaOnOffMCU, TuyaInWallLevelControl, ], OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id], }, 2: { PROFILE_ID: zha.PROFILE_ID, DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT, INPUT_CLUSTERS: [ TuyaOnOffMCU, TuyaInWallLevelControl, ], OUTPUT_CLUSTERS: [], }, 3: { PROFILE_ID: zha.PROFILE_ID, DEVICE_TYPE: zha.DeviceType.ON_OFF_LIGHT, INPUT_CLUSTERS: [ TuyaOnOffMCU, TuyaInWallLevelControl, ], OUTPUT_CLUSTERS: [], }, 242: { PROFILE_ID: 41440, DEVICE_TYPE: 97, INPUT_CLUSTERS: [], OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id], }, } } ``` **tuya.mcu.__init__.py** ``` """Tuya MCU comunications.""" import dataclasses from typing import Any, Callable, Dict, Optional, Tuple, Union import zigpy.types as t from zigpy.zcl import foundation from zigpy.zcl.clusters.general import LevelControl, OnOff from zhaquirks import Bus from zhaquirks.tuya import ( ATTR_ON_OFF, TUYA_MCU_COMMAND, TUYA_MCU_VERSION_RSP, TUYA_SET_DATA, Data, PowerOnState, TuyaCommand, TuyaData, TuyaLocalCluster, TuyaNewManufCluster, ) # New manufacturer attributes ATTR_MCU_VERSION = 0xEF00 class TuyaDPType(t.enum8): """Tuya DataPoint Type.""" RAW = 0x00, None BOOL = 0x01, t.Bool VALUE = 0x02, t.uint32_t STRING = 0x03, None ENUM = 0x04, t.enum8 BITMAP = 0x05, None def __new__(cls, value, ztype): """Overload instance to store the ztype.""" member = t.enum8.__new__(cls, value) member.ztype = ztype return member @dataclasses.dataclass class DPToAttributeMapping: """Container for datapoint to cluster attribute update mapping.""" ep_attribute: str attribute_name: str dp_type: TuyaDPType converter: Optional[ Callable[ [ Any, ], Any, ] ] = None dp_converter: Optional[ Callable[ [ Any, ], Any, ] ] = None endpoint_id: Optional[int] = None class TuyaClusterData(t.Struct): """Tuya cluster data.""" endpoint_id: int cluster_attr: str attr_value: int # Maybe also others types? expect_reply: bool manufacturer: str class MoesBacklight(t.enum8): """MOES switch backlight mode enum.""" off = 0x00 light_when_on = 0x01 light_when_off = 0x02 freeze = 0x03 class TuyaAttributesCluster(TuyaLocalCluster): """Manufacturer specific cluster for Tuya converting attributes <-> commands.""" def read_attributes( self, attributes, allow_cache=False, only_cache=False, manufacturer=None ): """Ignore remote reads as the "get_data" command doesn't seem to do anything.""" self.debug("read_attributes --> attrs: %s", attributes) return super().read_attributes( attributes, allow_cache=True, only_cache=True, manufacturer=manufacturer ) async def write_attributes(self, attributes, manufacturer=None): """Defer attributes writing to the set_data tuya command.""" records = self._write_attr_records(attributes) for record in records: self.debug("write_attributes --> record: %s", record) cluster_data = TuyaClusterData( endpoint_id=self.endpoint.endpoint_id, cluster_attr=self.attributes[record.attrid][0], attr_value=record.value.value, expect_reply=False, manufacturer=manufacturer, ) self.endpoint.device.command_bus.listener_event( TUYA_MCU_COMMAND, cluster_data, ) return [[foundation.WriteAttributesStatusRecord(foundation.Status.SUCCESS)]] class TuyaMCUCluster(TuyaAttributesCluster, TuyaNewManufCluster): """Manufacturer specific cluster for sending Tuya MCU commands.""" class MCUVersion(t.Struct): """Tuya MCU version response Zcl payload.""" status: t.uint8_t tsn: t.uint8_t version_raw: t.uint8_t @property def version(self) -> str: """Format the raw version to X.Y.Z.""" if self.version_raw: # MCU version is 1 byte length # is converted from HEX -> BIN -> XX.XX.XXXX -> DEC (x.y.z) # example: 0x98 -> 10011000 -> 10.01.1000 -> 2.1.8 # https://developer.tuya.com/en/docs/iot-device-dev/firmware-version-description?id=K9zzuc5n2gff8#title-1-Zigbee%20firmware%20versions major = self.version_raw >> 6 minor = (self.version_raw & 63) >> 4 release = self.version_raw & 15 return "{}.{}.{}".format(major, minor, release) return None attributes = TuyaNewManufCluster.attributes.copy() attributes.update( { # MCU version ATTR_MCU_VERSION: ("mcu_version", t.uint48_t, True), } ) client_commands = TuyaNewManufCluster.client_commands.copy() client_commands.update( { TUYA_MCU_VERSION_RSP: foundation.ZCLCommandDef( "mcu_version_response", {"version": MCUVersion}, True, is_manufacturer_specific=True, ), } ) def __init__(self, *args, **kwargs): """Init.""" super().__init__(*args, **kwargs) # Cluster for endpoint: 1 (listen MCU commands) self.endpoint.device.command_bus = Bus() self.endpoint.device.command_bus.add_listener(self) def from_cluster_data(self, data: TuyaClusterData) -> Optional[TuyaCommand]: """Convert from cluster data to a tuya data payload.""" dp, mapping = self.get_dp_mapping(data.endpoint_id, data.cluster_attr) self.debug("from_cluster_data: %s, %s", dp, mapping) if dp: cmd_payload = TuyaCommand() cmd_payload.status = 0 cmd_payload.tsn = self.endpoint.device.application.get_sequence() cmd_payload.dp = dp cmd_payload.data = TuyaData() datapoint_type = mapping.dp_type cmd_payload.data.dp_type = datapoint_type cmd_payload.data.function = 0 val = data.attr_value if mapping.dp_converter: val = mapping.dp_converter(val) self.debug("converted: %s", val) if datapoint_type.ztype: val = datapoint_type.ztype(val) self.debug("ztype: %s", val) val = Data.from_value(val) self.debug("from_value: %s", val) cmd_payload.data.raw = t.LVBytes.deserialize(val)[0] self.debug("raw: %s", cmd_payload.data.raw) return cmd_payload else: self.warning( "No cluster_dp found for %s, %s", data.endpoint_id, data.cluster_attr, ) return None def tuya_mcu_command(self, cluster_data: TuyaClusterData): """Tuya MCU command listener. Only manufacturer endpoint must listen to MCU commands.""" self.debug( "tuya_mcu_command: cluster_data=%s", cluster_data, ) tuya_command = self.from_cluster_data(cluster_data) self.debug("tuya_command: %s", tuya_command) if tuya_command: self.create_catching_task( self.command( TUYA_SET_DATA, tuya_command, expect_reply=cluster_data.expect_reply, manufacturer=cluster_data.manufacturer, ) ) else: self.warning( "no MCU command for data %s", cluster_data, ) def get_dp_mapping( self, endpoint_id: int, attribute_name: str ) -> Optional[Tuple[int, DPToAttributeMapping]]: """Search for the DP in dp_to_attribute.""" for dp, dp_mapping in self.dp_to_attribute.items(): if (attribute_name == dp_mapping.attribute_name) and ( endpoint_id in [dp_mapping.endpoint_id, self.endpoint.endpoint_id] ): self.debug("get_dp_mapping --> found DP: %s", dp) return [dp, dp_mapping] return [None, None] def handle_mcu_version_response(self, payload: MCUVersion) -> foundation.Status: """Handle MCU version response.""" self.debug("MCU version: %s", payload.version) self.update_attribute("mcu_version", payload.version) return foundation.Status.SUCCESS class TuyaOnOff(OnOff, TuyaLocalCluster): """Tuya MCU OnOff cluster.""" attributes = { ATTR_ON_OFF: ("on_off", t.Bool), } async def command( self, command_id: Union[foundation.GeneralCommand, int, t.uint8_t], *args, manufacturer: Optional[Union[int, t.uint16_t]] = None, expect_reply: bool = True, tsn: Optional[Union[int, t.uint8_t]] = None, ): """Override the default Cluster command.""" self.debug( "Sending Tuya Cluster Command... Cluster Command is %x, Arguments are %s", command_id, args, ) # (off, on) if command_id in (0x0000, 0x0001): cluster_data = TuyaClusterData( endpoint_id=self.endpoint.endpoint_id, cluster_attr="on_off", attr_value=command_id, expect_reply=expect_reply, manufacturer=manufacturer, ) self.endpoint.device.command_bus.listener_event( TUYA_MCU_COMMAND, cluster_data, ) return foundation.Status.SUCCESS self.warning("Unsupported command_id: %s", command_id) return foundation.Status.UNSUP_CLUSTER_COMMAND class TuyaOnOffManufCluster(TuyaMCUCluster): """Tuya with On/Off data points.""" dp_to_attribute: Dict[int, DPToAttributeMapping] = { 1: DPToAttributeMapping( TuyaOnOff.ep_attribute, "on_off", dp_type=TuyaDPType.BOOL, ), 2: DPToAttributeMapping( TuyaOnOff.ep_attribute, "on_off", dp_type=TuyaDPType.BOOL, endpoint_id=2, ), 3: DPToAttributeMapping( TuyaOnOff.ep_attribute, "on_off", dp_type=TuyaDPType.BOOL, endpoint_id=3, ), 4: DPToAttributeMapping( TuyaOnOff.ep_attribute, "on_off", dp_type=TuyaDPType.BOOL, endpoint_id=4, ), } data_point_handlers = { 1: "_dp_2_attr_update", 2: "_dp_2_attr_update", 3: "_dp_2_attr_update", 4: "_dp_2_attr_update", } class MoesSwitchManufCluster(TuyaOnOffManufCluster): """On/Off Tuya cluster with extra device attributes.""" attributes = { 0x8001: ("backlight_mode", MoesBacklight), 0x8002: ("power_on_state", PowerOnState), } dp_to_attribute: Dict[ int, DPToAttributeMapping ] = TuyaOnOffManufCluster.dp_to_attribute.copy() dp_to_attribute.update( { 14: DPToAttributeMapping( TuyaMCUCluster.ep_attribute, "power_on_state", dp_type=TuyaDPType.ENUM, converter=lambda x: PowerOnState(x), ) } ) dp_to_attribute.update( { 15: DPToAttributeMapping( TuyaMCUCluster.ep_attribute, "backlight_mode", dp_type=TuyaDPType.ENUM, converter=lambda x: MoesBacklight(x), ), } ) data_point_handlers = TuyaOnOffManufCluster.data_point_handlers.copy() data_point_handlers.update({14: "_dp_2_attr_update"}) data_point_handlers.update({15: "_dp_2_attr_update"}) class TuyaLevelControl(LevelControl, TuyaLocalCluster): """Tuya MCU Level cluster for dimmable device.""" attributes = {0x0000: ("current_level", t.uint8_t)} async def command( self, command_id: Union[foundation.GeneralCommand, int, t.uint8_t], *args, manufacturer: Optional[Union[int, t.uint16_t]] = None, expect_reply: bool = True, tsn: Optional[Union[int, t.uint8_t]] = None, ): """Override the default Cluster command.""" self.debug( "Sending Tuya Cluster Command. Cluster Command is %x, Arguments are %s", command_id, args, ) # (move_to_level, move, move_to_level_with_on_off) if command_id in (0x0000, 0x0001, 0x0004): cluster_data = TuyaClusterData( endpoint_id=self.endpoint.endpoint_id, cluster_attr="current_level", attr_value=args[0], expect_reply=expect_reply, manufacturer=manufacturer, ) self.endpoint.device.command_bus.listener_event( TUYA_MCU_COMMAND, cluster_data, ) return foundation.Status.SUCCESS self.warning("Unsupported command_id: %s", command_id) return foundation.Status.UNSUP_CLUSTER_COMMAND class TuyaInWallLevelControl(TuyaAttributesCluster, TuyaLevelControl): """Tuya Level cluster for inwall dimmable device.""" # Not sure if these are 'inwall' specific attributes or common to dimmers attributes = TuyaLevelControl.attributes.copy() attributes.update( { 0xEF01: ("minimum_level", t.uint32_t, True), 0xEF02: ("bulb_type", t.enum8, True), } ) class TuyaLevelControlManufCluster(TuyaMCUCluster): """Tuya with Level Control data points.""" dp_to_attribute: Dict[int, DPToAttributeMapping] = { 1: DPToAttributeMapping( TuyaOnOff.ep_attribute, "on_off", dp_type=TuyaDPType.BOOL, ), 2: DPToAttributeMapping( TuyaLevelControl.ep_attribute, "current_level", dp_type=TuyaDPType.VALUE, converter=lambda x: (x * 255) // 1000, dp_converter=lambda x: (x * 1000) // 255, ), 3: DPToAttributeMapping( TuyaLevelControl.ep_attribute, "minimum_level", dp_type=TuyaDPType.VALUE, converter=lambda x: (x * 255) // 1000, dp_converter=lambda x: (x * 1000) // 255, ), 4: DPToAttributeMapping( TuyaLevelControl.ep_attribute, "bulb_type", dp_type=TuyaDPType.ENUM, ), 7: DPToAttributeMapping( TuyaOnOff.ep_attribute, "on_off", dp_type=TuyaDPType.BOOL, endpoint_id=2, ), 8: DPToAttributeMapping( TuyaLevelControl.ep_attribute, "current_level", dp_type=TuyaDPType.VALUE, converter=lambda x: (x * 255) // 1000, dp_converter=lambda x: (x * 1000) // 255, endpoint_id=2, ), 9: DPToAttributeMapping( TuyaLevelControl.ep_attribute, "minimum_level", dp_type=TuyaDPType.VALUE, converter=lambda x: (x * 255) // 1000, dp_converter=lambda x: (x * 1000) // 255, endpoint_id=2, ), 10: DPToAttributeMapping( TuyaLevelControl.ep_attribute, "bulb_type", dp_type=TuyaDPType.ENUM, endpoint_id=2, ), 15: DPToAttributeMapping( TuyaOnOff.ep_attribute, "on_off", dp_type=TuyaDPType.BOOL, endpoint_id=3, ), 16: DPToAttributeMapping( TuyaLevelControl.ep_attribute, "current_level", dp_type=TuyaDPType.VALUE, converter=lambda x: (x * 255) // 1000, dp_converter=lambda x: (x * 1000) // 255, endpoint_id=3, ), 17: DPToAttributeMapping( TuyaLevelControl.ep_attribute, "minimum_level", dp_type=TuyaDPType.VALUE, converter=lambda x: (x * 255) // 1000, dp_converter=lambda x: (x * 1000) // 255, endpoint_id=3, ), 18: DPToAttributeMapping( TuyaLevelControl.ep_attribute, "bulb_type", dp_type=TuyaDPType.ENUM, endpoint_id=3, ), } data_point_handlers = { 1: "_dp_2_attr_update", 2: "_dp_2_attr_update", 3: "_dp_2_attr_update", 4: "_dp_2_attr_update", 7: "_dp_2_attr_update", 8: "_dp_2_attr_update", 9: "_dp_2_attr_update", 10: "_dp_2_attr_update", 15: "_dp_2_attr_update", 16: "_dp_2_attr_update", 17: "_dp_2_attr_update", 18: "_dp_2_attr_update", } ```
javicalle commented 2 years ago

Ok, rename the file tuya.mcu.init.py to __init__.py (its original name). Delete cache (all __pycache__ folders) and restart.

freemanm commented 2 years ago

THe name was correct. It is just the copy to Bit that changed it. I also do not have a __pycache__ folder.

freemanm commented 2 years ago

P.S When I look at the device in HA it also still show the device as a "Router" and not an "EndDevice"

javicalle commented 2 years ago

Ummmm, not sure You must have inside the custom_zha_quirks root two files, withou any folder something like:

custom_zha_quirks
+ ts0601_dimmer.py
+ __init__.py
javicalle commented 2 years ago

P.S When I look at the device in HA it also still show the device as a "Router" and not an "EndDevice"

That's what the node_descriptor says:

"node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, .../..., *is_router=True, *is_security_capable=False)",

Did you expect something different?

javicalle commented 2 years ago

It is very likely that the control from HA will not work. That issue is the one addressed in #1302

Maybe you can help us to test the solution 😉

freemanm commented 2 years ago

I have now rename the file to __init__.py as you indicated but this is the log message I get.

Logger: homeassistant.config_entries
Source: custom_zha_quirks/__init__.py:165
First occurred: 21:41:57 (1 occurrences)
Last logged: 21:41:57

Error setting up entry Sonoff Zigbee 3.0 USB Dong - /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_3ef772decbc9eb11941c914f1d69213e-if00-port0, s/n: 3ef772decbc9eb11941c914f1d69213e - ITead - 10C4:EA60 for zha
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 335, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 99, in async_setup_entry
    setup_quirks(config)
  File "/usr/local/lib/python3.9/site-packages/zhaquirks/__init__.py", line 403, in setup
    importer.find_module(modname).load_module(modname)
  File "<frozen importlib._bootstrap_external>", line 529, in _check_name_wrapper
  File "<frozen importlib._bootstrap_external>", line 1029, in load_module
  File "<frozen importlib._bootstrap_external>", line 854, in load_module
  File "<frozen importlib._bootstrap>", line 274, in _load_module_shim
  File "<frozen importlib._bootstrap>", line 711, in _load
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/config/custom_zha_quirks/ts0601_dimmer.py", line 28, in <module>
    from custom_zha_quirks import (
  File "/config/custom_zha_quirks/__init__.py", line 127, in <module>
    class TuyaMCUCluster(TuyaAttributesCluster, TuyaNewManufCluster):
  File "/config/custom_zha_quirks/__init__.py", line 165, in TuyaMCUCluster
    TUYA_MCU_VERSION_RSP: foundation.ZCLCommandDef(
AttributeError: module 'zigpy.zcl.foundation' has no attribute 'ZCLCommandDef'
freemanm commented 2 years ago

THis is my root folder:

custom_zha_quirks
+ ts0601_dimmer.py
+ __init__.py
javicalle commented 2 years ago

Ok, now the files are in place, but the Github version is updated from yours HA version. Let me see how fix it.

Would it be possible for you to upgrade to the beta version of HA?

(while I check how can I fix it)

javicalle commented 2 years ago

Ok, you can get the file previous version from here:

Then implement the changes from https://github.com/zigpy/zha-device-handlers/issues/1461#issuecomment-1088085670

freemanm commented 2 years ago

I am running the Ha OS version on a PI. Let me see what I can do. I looks like the install does not find the custom_zha_quirks folder in the HA /config folder for the import.

javicalle commented 2 years ago

No, the custom_zha_quirks seems to be working. The problem is at the zigpy library that has been updated and you don't have yet in your HA.

If you have access to the cli it can be done as:

ha core update --version 2022.4.0b5
freemanm commented 2 years ago

OK I made the changes and it now loads correct without errors. I now get the right device with the three switches AND when I press any of the three button of the physical switch to its on/off position it correctly show the right on/off status in HA.

What is not working is that I can change the switch status in HA and then the physical switch also change. It just jump back to its original state.

P.S Just to be clear. I have not upgraded to the beta version, I just updated the init file and re-apply the changes to the previous version's file.

freemanm commented 2 years ago

I have not upgraded, do you want me to try this still?

javicalle commented 2 years ago

Is the dimmer part working also? For all the three buttons?

What is not working is that I can change the switch status in HA and then the physical switch also change. It just jump back to its original state.

This part is expected, but to test it you need to update the zigpy library to the latest version. The way I can think of to do it is to update to a beta version of HA or wait until tomorrow they release v2022.05 of HA.

freemanm commented 2 years ago

OK. Lets wait to tomorrow then. After tomorrows update must I change to the original init file you provided or should I keep the one I have now?

javicalle commented 2 years ago

I have not upgraded, do you want me to try this still?

If it's not too much trouble, it would be very useful to us.

(I'll be back here in a while)

javicalle commented 2 years ago

After tomorrows update must I change to the original init file you provided or should I keep the one I have now?

You will need to replace with the actual one (and perform again all the modifications):

Hedda commented 2 years ago

@freemanm Edit title so it says -> "Moes 3 Gang Light Dimmer Switch ZS-USD3-WH-MS (Tuya "_TZE200_vm1gyrso", "TS0601")"

The current title says "Moer Dimmer LIght Switch" which wrong spelling and lack of info will not make anyone else fins this issue.

javicalle commented 2 years ago

And just to make easier to read and scroll the thread, could you edit your https://github.com/zigpy/zha-device-handlers/issues/1461#issuecomment-1089234078 to put the class definitions in collapsed sections?

It would be something like:

I have the following files in my custom_zha_quirks folder:
* ts0601_dimmer.py
* tuya.mcu.__init__.py

<details>
  <summary>ts0601_dimmer.py</summary>
"""Tuya based touch switch."""
from zigpy.profiles import zha
from zigpy.zcl.clusters.general import Basic, GreenPowerProxy, Groups, LevelControl, Ota, Scenes, Time

from zhaquirks.const import (
    DEVICE_TYPE,
    ENDPOINTS,
    INPUT_CLUSTERS,
    MODELS_INFO,
    OUTPUT_CLUSTERS,
    PROFILE_ID,
)
.../...
</details>

<details>
  <summary>tuya.mcu.init.py</summary>
"""Tuya MCU comunications."""
import dataclasses
from typing import Any, Callable, Dict, Optional, Tuple, Union

import zigpy.types as t
from zigpy.zcl import foundation
from zigpy.zcl.clusters.general import LevelControl, OnOff

from zhaquirks import Bus
from zhaquirks.tuya import (
    ATTR_ON_OFF,
    TUYA_MCU_COMMAND,
    TUYA_MCU_VERSION_RSP,
    TUYA_SET_DATA,
    Data,
    PowerOnState,
    TuyaCommand,
    TuyaData,
    TuyaLocalCluster,
    TuyaNewManufCluster,
)
.../...
</details>

Thanks in advanced.

refs:

freemanm commented 2 years ago

I have now done the following

Current working status

Not working

Log data ``` Logger: homeassistant.components.websocket_api.http.connection Source: components/zha/light.py:258 Integration: Home Assistant WebSocket API (documentation, issues) First occurred: 19:34:34 (1 occurrences) Last logged: 19:34:34 [140335046155040] 'Status' object is not subscriptable Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 193, in handle_call_service await hass.services.async_call( File "/usr/src/homeassistant/homeassistant/core.py", line 1634, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1671, in _execute_service await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)( File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service await service.entity_service_call( File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 677, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 955, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 714, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 504, in async_handle_light_on_service await light.async_turn_on(**filter_turn_on_params(light, params)) File "/usr/src/homeassistant/homeassistant/components/zha/light.py", line 258, in async_turn_on if isinstance(result, Exception) or result[1] is not Status.SUCCESS: TypeError: 'Status' object is not subscriptable ```
javicalle commented 2 years ago

I can't see how can be related to the quirk. Any other related log? Something from zigpy or from zhaquirks?

javicalle commented 2 years ago

The new version is being tested here too:

If you want to try it, the changes to make are the following:

from zigpy.profiles import zha from zigpy.quirks import CustomCluster import zigpy.types as t from zigpy.zcl import foundation from zigpy.zcl.clusters.general import Basic, GreenPowerProxy, Groups, LevelControl, Ota, Scenes, Time

from zhaquirks.const import ( .../...

* add 2 new classes before the first class in the file:
```python
class NoManufacturerCluster(CustomCluster):
    """Forces the NO manufacturer id in command."""

    async def command(
        self,
        command_id: Union[foundation.GeneralCommand, int, t.uint8_t],
        *args,
        manufacturer: Optional[Union[int, t.uint16_t]] = None,
        expect_reply: bool = True,
        tsn: Optional[Union[int, t.uint8_t]] = None,
    ):
        """Override the default Cluster command."""
        self.debug("Setting the NO manufacturer id in command: %s", command_id)
        return await super().command(
            command_id,
            *args,
            foundation.ZCLHeader.NO_MANUFACTURER_ID,
            expect_reply,
            tsn,
        )

class TuyaInWallLevelControlNM(NoManufacturerCluster, TuyaInWallLevelControl):
    """Tuya Level cluster for inwall dimmable device with NoManufacturerID."""

    pass

Test the dimm function from HA and report.

Thanks in advanced.

javicalle commented 2 years ago

@puddly Sorry to ping you directly, but I think that this error can be related with the zigpy version bump and all the changes related to ZCLv7:

Logger: homeassistant.components.websocket_api.http.connection
Source: components/zha/light.py:258
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 19:34:34 (1 occurrences)
Last logged: 19:34:34

[140335046155040] 'Status' object is not subscriptable
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 193, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1634, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1671, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 677, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 955, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 714, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 504, in async_handle_light_on_service
    await light.async_turn_on(**filter_turn_on_params(light, params))
  File "/usr/src/homeassistant/homeassistant/components/zha/light.py", line 258, in async_turn_on
    if isinstance(result, Exception) or result[1] is not Status.SUCCESS:
TypeError: 'Status' object is not subscriptable

Does it rings you any bell?

Probably the fault is in any tuya class (if not it would be a spread error) but I'm not able to see the reason. Any advice or suggestion?

Thanks in advanced.

puddly commented 2 years ago

No worries, they probably are. What does the debug log show? Is any Tuya light class returning a list or status code directly? Any way to set a breakpoint to see what exactly result is and why it's a bare Status object?

javicalle commented 2 years ago

No worries, they probably are. What does the debug log show? Is any Tuya light class returning a list or status code directly? Any way to set a breakpoint to see what exactly result is and why it's a bare Status object?

An affected user has open an issue. We can continue from there:

MattWestb commented 2 years ago

One more interesting posting for our @javicalle about MCU dimmers Z2M user have "finding" https://github.com/Koenkk/zigbee-herdsman/pull/519. The linked issues have good sniffing from tuya TBGW :-)))

freemanm commented 2 years ago

I have made the additional changes you requested with the same results.

Example: When I try and turn on or off a switch from HA I get an error.

Debug information ``` 2022-04-07 20:40:20 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.Ping.Req() 2022-04-07 20:40:20 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.Ping.Rsp(Capabilities=) 2022-04-07 20:40:40 DEBUG (MainThread) [zigpy.zcl] [0xFA49:3:0x0006] Sending Tuya Cluster Command... Cluster Command is 1, Arguments are () 2022-04-07 20:40:40 DEBUG (MainThread) [zigpy.zcl] [0xFA49:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=3, cluster_attr='on_off', attr_value=1, expect_reply=True) 2022-04-07 20:40:40 DEBUG (MainThread) [zigpy.zcl] [0xFA49:1:0xef00] get_dp_mapping --> found DP: 15 2022-04-07 20:40:40 DEBUG (MainThread) [zigpy.zcl] [0xFA49:1:0xef00] from_cluster_data: 15, DPToAttributeMapping(ep_attribute='on_off', attribute_name='on_off', dp_type=, converter=None, dp_converter=None, endpoint_id=3) 2022-04-07 20:40:40 DEBUG (MainThread) [zigpy.zcl] [0xFA49:1:0xef00] ztype: Bool.true 2022-04-07 20:40:40 DEBUG (MainThread) [zigpy.zcl] [0xFA49:1:0xef00] from_value: [1, 1] 2022-04-07 20:40:40 DEBUG (MainThread) [zigpy.zcl] [0xFA49:1:0xef00] raw: b'\x01' 2022-04-07 20:40:40 DEBUG (MainThread) [zigpy.zcl] [0xFA49:1:0xef00] tuya_command: TuyaCommand(status=0, tsn=12, dp=15, data=TuyaData(dp_type=, function=0, raw=b'\x01', *payload=)) 2022-04-07 20:40:40 DEBUG (MainThread) [zigpy.zcl] [0xFA49:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=True, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), manufacturer=4417, tsn=13, command_id=0, *is_reply=False) 2022-04-07 20:40:40 DEBUG (MainThread) [zigpy.zcl] [0xFA49:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=12, dp=15, data=TuyaData(dp_type=, function=0, raw=b'\x01', *payload=))) 2022-04-07 20:40:40 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFA49:3:0x0006]: executed 'on' command with args: '()' kwargs: '{}' result: Status.SUCCESS 2022-04-07 20:40:40 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=, address=0xFA49), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=61184, TSN=13, Options=, Radius=30, Data=b'\x05\x41\x11\x0D\x00\x00\x0C\x0F\x01\x00\x01\x01') 2022-04-07 20:40:40 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139772139430480] 'Status' object is not subscriptable Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 193, in handle_call_service await hass.services.async_call( File "/usr/src/homeassistant/homeassistant/core.py", line 1634, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1671, in _execute_service await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)( File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service await service.entity_service_call( File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 677, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 955, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 714, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 504, in async_handle_light_on_service await light.async_turn_on(**filter_turn_on_params(light, params)) File "/usr/src/homeassistant/homeassistant/components/zha/light.py", line 258, in async_turn_on if isinstance(result, Exception) or result[1] is not Status.SUCCESS: TypeError: 'Status' object is not subscriptable 2022-04-07 20:40:40 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=) 2022-04-07 20:40:40 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=, Endpoint=1, TSN=13) 2022-04-07 20:40:40 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0xFA49, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=, LQI=195, SecurityUse=, TimeStamp=13397530, TSN=0, Data=b'\x18\x0D\x0B\x00\x83', MacSrcAddr=0xFA49, MsgResultRadius=29) 2022-04-07 20:40:40 DEBUG (MainThread) [zigpy.zcl] [0xFA49:1:0xef00] Received ZCL frame: b'\x18\x0D\x0B\x00\x83' 2022-04-07 20:40:40 DEBUG (MainThread) [zigpy.zcl] [0xFA49:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=13, command_id=11, *is_reply=True) 2022-04-07 20:40:40 DEBUG (MainThread) [zigpy.zcl] [0xFA49:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=) ```
javicalle commented 2 years ago

It's fine, the On/Off cluster is not fixed yet.

Can you attach the logs dimming the device from HA?

javicalle commented 2 years ago

@freemanm I have ajusted the code. Could you add the await clause in the method call? Just like this:

        self.debug("Setting the NO manufacturer id in command: %s", command_id)
        return await super().command(
            command_id,
            *args,
            manufacturer=zcl.foundation.ZCLHeader.NO_MANUFACTURER_ID,
            expect_reply=expect_reply,
            tsn=tsn,
        )

(also updated in original comment)

javicalle commented 2 years ago

I'm messing everything up because I have parallel conversations in several threads. @freemanm could we continue the conversation in this other thread:

Sorry for the inconvenience.

Tropaion commented 2 years ago

@freemanm I think this issue can be closed, since it is continued in the other one

javicalle commented 2 years ago

No need to close now. When PR is created it can be linked to this (an others issues) just putting in the PR body: Fixes: #1461 This way, when PR is merged, automatically closes the related isuues

Hedda commented 2 years ago

No need to close now. When PR is created it can be linked to this (an others issues) just putting in the PR body: Fixes: #1461 This way, when PR is merged, automatically closes the related isuues

Yes and another reason not to close is that sometimes can also happen that a PR is closed without being accepted and merged.

Tropaion commented 2 years ago

@javicalle @Hedda Okay, sorry, my mistake.

muxa commented 2 years ago

I got this working in zigbee2mqtt. Not perfect, but does the job. Here's a custom converter: https://gist.github.com/muxa/94e29b8896c89da910e4e4a80fc44894 (code needs a cleanup)

It detects and controls state (on/off) and brightness for all 3 gangs.

Known issues:

  1. If you change brightness while the light is off, then turn it on, the brightness will not change to the new value, and will remain the same as before switching off. It would be good to fix this, but I don't know how (I've tried a couple of things, I left the code in, commented out).