[ST Edge Driver]Zigbee Driver for 4-Buttons Linxura smart controller

Hi everyone,

We are trying to apply our product Linxura smart controller to smartthings hub through Zigbee. Device using stm32 chip.

Currently device is able to work with Home assistant(connect with ZHA). device plays as four Zigbee buttons, each button act as press, double press, held. Device also could reconnect to ZHA after power down and power on, whch know as persistent feature.

We are now finish editing the SmartThings edge driver.

Here is the driver for SmartThings hub.


With this driver we could found our device as zigbee four buttons device. And could be add to the Smartthings app through SmartThings hub.

However, We have two issues.

1.There is no reaction on app when press, double press, held triggered on device. We are using IASZONE cluster. This is the Zigbee data log send to HA.

2024-12-10 11:35:18.792 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 12, 10, 3, 35, 18, 792896, tzinfo=datetime.timezone.utc), priority=0, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE46A), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=1280, data=Serialized[b'\x18\x02\n\x02\x00\x19\x01\x00\xfe\xff0\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=29, non_member_radius=0, lqi=51, rssi=None) 2024-12-10 11:35:18.793 DEBUG (MainThread) [zigpy.zcl] [0xE46A:1:0x0500] Received ZCL frame: b'\x18\x02\n\x02\x00\x19\x01\x00\xfe\xff0\x01' 2024-12-10 11:35:18.794 DEBUG (MainThread) [zigpy.zcl] [0xE46A:1:0x0500] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl<0x18>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Server_to_Client: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=2, command_id=10, *direction=<Direction.Server_to_Client: 1>) 2024-12-10 11:35:18.795 DEBUG (MainThread) [zigpy.zcl] [0xE46A:1:0x0500] Decoded ZCL frame: LinxuraIASCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0002, value=TypeValue(type=bitmap16, value=<bitmap16: 1>)), Attribute(attrid=0xFFFE, value=TypeValue(type=enum8, value=<enum8.undefined_0x01: 1>))]) 2024-12-10 11:35:18.795 DEBUG (MainThread) [zigpy.zcl] [0xE46A:1:0x0500] Received command 0x0A (TSN 2): Report_Attributes(attribute_reports=[Attribute(attrid=0x0002, value=TypeValue(type=bitmap16, value=<bitmap16: 1>)), Attribute(attrid=0xFFFE, value=TypeValue(type=enum8, value=<enum8.undefined_0x01: 1>))]) 2024-12-10 11:35:18.796 DEBUG (MainThread) [zigpy.zcl] [0xE46A:1:0x0500] Attribute report received: zone_status=<bitmap16: 1>, 0xFFFE=<enum8.undefined_0x01: 1> 2024-12-10 11:35:18.796 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0xE46A:1:0x0500]: cluster_handler[ias_zone] attribute_updated - cluster[IAS Zone] attr[zone_status] value[1] 2024-12-10 11:35:18.796 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=2, attribute_name='zone_status', attribute_value=<ZoneStatus.Alarm_1: 1>, cluster_handler_unique_id='00:80:e1:25:00:8d:ae:ae:1:0x0500', cluster_id=1280, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (1 listeners) 2024-12-10 11:35:18.796 DEBUG (MainThread) [zha] Emitting event state_changed with data EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.BINARY_SENSOR: 'binary_sensor'>, unique_id='00:80:e1:25:00:8d:ae:ae-1-1280', device_ieee=00:80:e1:25:00:8d:ae:ae, endpoint_id=1, group_id=None) (1 listeners) 2024-12-10 11:35:18.797 DEBUG (MainThread) [zha] Emitting event zha_event with data ZHAEvent(device_ieee=00:80:e1:25:00:8d:ae:ae, unique_id='00:80:e1:25:00:8d:ae:ae', data={'unique_id': '00:80:e1:25:00:8d:ae:ae:1:0x0500', 'endpoint_id': 1, 'cluster_id': 1280, 'command': 'button_1_remote_button_short_press', 'args': {'button': 'button_1', 'press_type': 'remote_button_short_press'}, 'params': {}}, event_type='zha_event', event='zha_event') (1 listeners) 2024-12-10 11:35:18.797 DEBUG (MainThread) [zha] (ZHADeviceProxy) handling event protocol for event: ZHAEvent(device_ieee=00:80:e1:25:00:8d:ae:ae, unique_id='00:80:e1:25:00:8d:ae:ae', data={'unique_id': '00:80:e1:25:00:8d:ae:ae:1:0x0500', 'endpoint_id': 1, 'cluster_id': 1280, 'command': 'button_1_remote_button_short_press', 'args': {'button': 'button_1', 'press_type': 'remote_button_short_press'}, 'params': {}}, event_type='zha_event', event='zha_event') 2024-12-10 11:35:18.797 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0xE46A:1:0x0500]: cluster_handler[ias_zone] attribute_updated - cluster[IAS Zone] attr[65534] value[enum8.undefined_0x01] 2024-12-10 11:35:18.797 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=65534, attribute_name=65534, attribute_value=<enum8.undefined_0x01: 1>, cluster_handler_unique_id='00:80:e1:25:00:8d:ae:ae:1:0x0500', cluster_id=1280, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (1 listeners)

Device send the same command to Smartthings hub. But nothing shows on the driver logcat.

Here is the device signature for Home Assistant.
{
“node_descriptor”: {
“logical_type”: 2,
“complex_descriptor_available”: 1,
“user_descriptor_available”: 1,
“reserved”: 0,
“aps_flags”: 0,
“frequency_band”: 8,
“mac_capability_flags”: 128,
“manufacturer_code”: 4311,
“maximum_buffer_size”: 57,
“maximum_incoming_transfer_size”: 2000,
“server_mask”: 11264,
“maximum_outgoing_transfer_size”: 128,
“descriptor_capability_field”: 3
},
“endpoints”: {
“1”: {
“profile_id”: “0x0104”,
“device_type”: “0x0402”,
“input_clusters”: [
“0x0000”,
“0x0500”
],
“output_clusters”:
}
},
“manufacturer”: “Linxura”,
“model”: “Smart Controller”,
“class”: “zhaquirks.linxura.button.LinxuraButton”
}

2、This is the wierd part. When I remove the persisitent feature for device, device could trigger action on SmartThings app. However since I close the persistent feature. device is not able to keep trigger the zigbee command after power down and off. Why open the persistent configure for IASZONE cluster would cause this issue?

Is there anything we missing on drivers and hub?

Looking forward to your replay.

Tagging @nayelyz

For a button?

The IAS Zone cluster defines an interface to the functionality of an IAS security zone device.

This is the Zigbee data log send to HA.

The logcat from the SmartThings CLI would be more helpful. Make sure to add ``` before and after pasted text, like this:

```
type or paste code here
```

This is interesting:

But nothing shows on the driver logcat.

Put a lot of log.info() in your code, especially in the if clause and right on top inside the handler (status). You’d be surprised…

And if there’s really absolutely nothing in the driver log, it’s not even loaded (wrong fingerprint).


I’d try to stay as close as possible to this driver structure:

Fork/branch it, add your device in a sub driver. This way your driver could be easily added as an official WWST device.

1 Like


This is our driver structure, I think it is stick with the github structure.

Sure.
Here are two SmartThings CLI log.
First one is log that has no button trigger reaction after add device to SmartThings hub, I think the log include adding part. Once again device works fine with this code version on Home Assistant.

2024-12-11T03:47:47.212431928Z TRACE Linxura Zigbee Button4  Setup driver Linxura-zigbee-buttons-4 with lifecycle handlers:
DeviceLifecycleDispatcher: Linxura-zigbee-buttons-4
  default_handlers:
    driverSwitched:
    doConfigure:
    added:
  child_dispatchers:
    DeviceLifecycleDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button
      default_handlers:
        added:
      child_dispatchers:
        DeviceLifecycleDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
          default_handlers:
            added:
            doConfigure:
          child_dispatchers:

2024-12-11T03:47:47.215351262Z TRACE Linxura Zigbee Button4  Setup driver Linxura-zigbee-buttons-4 with Capability handlers:
CapabilityCommandDispatcher: Linxura-zigbee-buttons-4
  default_handlers:
    refresh:
      refresh
  child_dispatchers:
    CapabilityCommandDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
          default_handlers:
          child_dispatchers:

2024-12-11T03:47:47.217479762Z INFO Linxura Zigbee Button4  Created dispatcher [SecretDataDispatcher]Linxura-zigbee-buttons-4 that had no handlers
2024-12-11T03:47:47.220446012Z TRACE Linxura Zigbee Button4  Setup driver Linxura-zigbee-buttons-4 with Secret Data handlers:
SecretDataDispatcher: Linxura-zigbee-buttons-4
  default_handlers:
  child_dispatchers:
    SecretDataDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button
      default_handlers:
      child_dispatchers:
        SecretDataDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
          default_handlers:
          child_dispatchers:

2024-12-11T03:47:47.248045762Z TRACE Linxura Zigbee Button4  Setup driver Linxura-zigbee-buttons-4 with Zigbee handlers:
ZigbeeMessageDispatcher: Linxura-zigbee-buttons-4
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: IASZone, attribute: ZoneStatus
    global:
    cluster:
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
          default_handlers:
            attr:
              ZclClusterAttributeValueHandler: cluster: IASZone, attribute: ZoneStatus
            global:
            cluster:
              ZclClusterCommandHandler: cluster: IASZone, command: ZoneEnrollResponse
            zdo:
          child_dispatchers:

2024-12-11T03:47:47.340981970Z TRACE Linxura Zigbee Button4  Zigbee Device: fb4642dc-f2b0-4739-acf4-a253ce824751
Manufacturer: Linxura Model: Smart Controller
        [1]: server: Basic, IASZone | client
2024-12-11T03:47:47.346933720Z TRACE Linxura Zigbee Button4  Received event with handler device_lifecycle
2024-12-11T03:47:47.349763762Z INFO Linxura Zigbee Button4  <ZigbeeDevice: fb4642dc-f2b0-4739-acf4-a253ce824751 [0xB7BE] (Linxura Smart Controller)> received lifecycle event: added
2024-12-11T03:47:47.358681387Z DEBUG Linxura Zigbee Button4  driver device thread event handled
2024-12-11T03:47:47.398739970Z TRACE Linxura Zigbee Button4  Received event with handler device_lifecycle
2024-12-11T03:47:47.408716262Z INFO Linxura Zigbee Button4  <ZigbeeDevice: fb4642dc-f2b0-4739-acf4-a253ce824751 [0xB7BE] (Linxura Smart Controller)> received lifecycle event: doConfigure
2024-12-11T03:47:47.410203803Z TRACE Linxura Zigbee Button4  <ZigbeeDevice: fb4642dc-f2b0-4739-acf4-a253ce824751 [0xB7BE] (Linxura Smart Controller)> received unhandled lifecycle event: init
2024-12-11T03:47:47.411084345Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-11T03:47:47.412096262Z TRACE Linxura Zigbee Button4  Received event with handler driver_lifecycle
2024-12-11T03:47:47.412927595Z INFO Linxura Zigbee Button4  received driver startupState: {"hub_zigbee_id":"KG2XAAIBTy0=","hub_node_id":1,"hub_ipv4":"192.168.2.64"}
2024-12-11T03:47:47.417235387Z TRACE Linxura Zigbee Button4  Found DeviceLifecycleDispatcher handler in Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
2024-12-11T03:47:47.419620803Z INFO Linxura Zigbee Button4  bbbb
2024-12-11T03:47:47.423433053Z INFO Linxura Zigbee Button4  <ZigbeeDevice: fb4642dc-f2b0-4739-acf4-a253ce824751 [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button4","state":{"value":["pushed","held","double"]},"visibility":{"displayed":false}}
2024-12-11T03:47:47.438275095Z INFO Linxura Zigbee Button4  <ZigbeeDevice: fb4642dc-f2b0-4739-acf4-a253ce824751 [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"numberOfButtons","capability_id":"button","component_id":"button4","state":{"value":4},"visibility":{"displayed":false}}
2024-12-11T03:47:47.452162178Z INFO Linxura Zigbee Button4  <ZigbeeDevice: fb4642dc-f2b0-4739-acf4-a253ce824751 [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button1","state":{"value":["pushed","held","double"]},"visibility":{"displayed":false}}
2024-12-11T03:47:47.465727595Z INFO Linxura Zigbee Button4  <ZigbeeDevice: fb4642dc-f2b0-4739-acf4-a253ce824751 [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"numberOfButtons","capability_id":"button","component_id":"button1","state":{"value":4},"visibility":{"displayed":false}}
2024-12-11T03:47:47.479205428Z INFO Linxura Zigbee Button4  <ZigbeeDevice: fb4642dc-f2b0-4739-acf4-a253ce824751 [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"main","state":{"value":["pushed","held","double"]},"visibility":{"displayed":false}}
2024-12-11T03:47:47.514967803Z INFO Linxura Zigbee Button4  <ZigbeeDevice: fb4642dc-f2b0-4739-acf4-a253ce824751 [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"numberOfButtons","capability_id":"button","component_id":"main","state":{"value":4},"visibility":{"displayed":false}}
2024-12-11T03:47:47.528909095Z INFO Linxura Zigbee Button4  <ZigbeeDevice: fb4642dc-f2b0-4739-acf4-a253ce824751 [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button2","state":{"value":["pushed","held","double"]},"visibility":{"displayed":false}}
2024-12-11T03:47:47.541884970Z INFO Linxura Zigbee Button4  <ZigbeeDevice: fb4642dc-f2b0-4739-acf4-a253ce824751 [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"numberOfButtons","capability_id":"button","component_id":"button2","state":{"value":4},"visibility":{"displayed":false}}
2024-12-11T03:47:47.555632720Z INFO Linxura Zigbee Button4  <ZigbeeDevice: fb4642dc-f2b0-4739-acf4-a253ce824751 [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button3","state":{"value":["pushed","held","double"]},"visibility":{"displayed":false}}
2024-12-11T03:47:47.576282595Z INFO Linxura Zigbee Button4  <ZigbeeDevice: fb4642dc-f2b0-4739-acf4-a253ce824751 [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"numberOfButtons","capability_id":"button","component_id":"button3","state":{"value":4},"visibility":{"displayed":false}}
2024-12-11T03:47:47.599558387Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-11T03:47:47.601015470Z TRACE Linxura Zigbee Button4  Found DeviceLifecycleDispatcher handler in Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
2024-12-11T03:47:47.601894387Z INFO Linxura Zigbee Button4  configure
2024-12-11T03:47:47.745956553Z INFO Linxura Zigbee Button4  <ZigbeeDevice: fb4642dc-f2b0-4739-acf4-a253ce824751 [0xB7BE] (Linxura Smart Controller)> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0xB7BE, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x02 >, < WriteAttribute || < AttributeRecord || attr_id: 0x0010, DataType: IEEEAddress, data: 286D970002014F2D > > > >
2024-12-11T03:47:47.765604428Z INFO Linxura Zigbee Button4  <ZigbeeDevice: fb4642dc-f2b0-4739-acf4-a253ce824751 [0xB7BE] (Linxura Smart Controller)> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0xB7BE, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x01, seqno: 0x00, ZCLCommandId: 0x00 >, < ZoneEnrollResponse || EnrollResponseCode: SUCCESS, zone_id: 0x00 > > >
2024-12-11T03:47:47.804719553Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-11T03:47:47.806139595Z DEBUG Linxura Zigbee Button4  <ZigbeeDevice: fb4642dc-f2b0-4739-acf4-a253ce824751 [0xB7BE] (Linxura Smart Controller)> doConfigure callback did not fail, transitioning device to "PROVISIONED"
2024-12-11T03:47:47.813876678Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-11T03:47:49.729265012Z TRACE Linxura Zigbee Button4  Received event with handler device_lifecycle
2024-12-11T03:47:49.734390054Z INFO Linxura Zigbee Button4  <ZigbeeDevice: fb4642dc-f2b0-4739-acf4-a253ce824751 [0xB7BE] (Linxura Smart Controller 1)> received lifecycle event: infoChanged
2024-12-11T03:47:49.746067554Z TRACE Linxura Zigbee Button4  <ZigbeeDevice: fb4642dc-f2b0-4739-acf4-a253ce824751 [0xB7BE] (Linxura Smart Controller 1)> received unhandled lifecycle event: infoChanged
2024-12-11T03:47:49.746993929Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-11T03:48:17.268845682Z DEBUG Linxura Zigbee Button4  driver device thread event handled
2024-12-11T03:48:47.278817810Z DEBUG Linxura Zigbee Button4  driver device thread event handled
2024-12-11T03:49:17.288776606Z DEBUG Linxura Zigbee Button4  driver device thread event handled

Here it the log of second one, we remove persistent feature on device. SmartThings hub have reaction on button trigger. The bottom of the log shows button action emit. But in this case device has no persistent feature.

2024-12-10T04:39:32.104317440Z TRACE Linxura Zigbee Button1  Setup driver Linxura-zigbee-buttons-1 with lifecycle handlers:
DeviceLifecycleDispatcher: Linxura-zigbee-buttons-1
  default_handlers:
    doConfigure:
    added:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: Linxura-zigbee-buttons-1 -> ZigBee multi button
      default_handlers:
        added:
      child_dispatchers:
        DeviceLifecycleDispatcher: Linxura-zigbee-buttons-1 -> ZigBee multi button -> Linxura Device Handler
          default_handlers:
            doConfigure:
          child_dispatchers:

2024-12-10T04:39:32.108011217Z TRACE Linxura Zigbee Button1  Setup driver Linxura-zigbee-buttons-1 with Capability handlers:
CapabilityCommandDispatcher: Linxura-zigbee-buttons-1
  default_handlers:
    refresh:
      refresh
  child_dispatchers:
    CapabilityCommandDispatcher: Linxura-zigbee-buttons-1 -> ZigBee multi button
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: Linxura-zigbee-buttons-1 -> ZigBee multi button -> Linxura Device Handler
          default_handlers:
          child_dispatchers:

2024-12-10T04:39:32.110448415Z INFO Linxura Zigbee Button1  Created dispatcher [SecretDataDispatcher]Linxura-zigbee-buttons-1 that had no handlers
2024-12-10T04:39:32.116371827Z TRACE Linxura Zigbee Button1  Setup driver Linxura-zigbee-buttons-1 with Secret Data handlers:
SecretDataDispatcher: Linxura-zigbee-buttons-1
  default_handlers:
  child_dispatchers:
    SecretDataDispatcher: Linxura-zigbee-buttons-1 -> ZigBee multi button
      default_handlers:
      child_dispatchers:
        SecretDataDispatcher: Linxura-zigbee-buttons-1 -> ZigBee multi button -> Linxura Device Handler
          default_handlers:
          child_dispatchers:

2024-12-10T04:39:32.117761548Z TRACE Linxura Zigbee Button1  Setup driver Linxura-zigbee-buttons-1 with Zigbee handlers:
ZigbeeMessageDispatcher: Linxura-zigbee-buttons-1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: IASZone, attribute: ZoneStatus
    global:
    cluster:
      ZclClusterCommandHandler: cluster: IASZone, command: ZoneEnrollResponse
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: Linxura-zigbee-buttons-1 -> ZigBee multi button
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: Linxura-zigbee-buttons-1 -> ZigBee multi button -> Linxura Device Handler
          default_handlers:
            attr:
              ZclClusterAttributeValueHandler: cluster: IASZone, attribute: ZoneStatus
            global:
              ZclGlobalCommandHandler: cluster: IASZone, command: ReportAttribute
            cluster:
            zdo:
          child_dispatchers:

2024-12-10T04:39:32.202092570Z TRACE Linxura Zigbee Button1  Zigbee Device: d9675384-c8b1-44b5-8467-3831687fcc9d
Manufacturer: Linxura Model: Smart Controller
        [1]: server: Basic, IASZone | client
2024-12-10T04:39:32.207790678Z DEBUG Linxura Zigbee Button1  driver device thread event handled
2024-12-10T04:39:32.210695183Z TRACE Linxura Zigbee Button1  Received event with handler device_lifecycle
2024-12-10T04:39:32.213797756Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> received lifecycle event: added
2024-12-10T04:39:32.228705756Z TRACE Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> received unhandled lifecycle event: init
2024-12-10T04:39:32.229829278Z DEBUG Linxura Zigbee Button1  Linxura Smart Controller device thread event handled
2024-12-10T04:39:32.230834900Z TRACE Linxura Zigbee Button1  Received event with handler device_lifecycle
2024-12-10T04:39:32.231998359Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> received lifecycle event: doConfigure
2024-12-10T04:39:32.234368840Z TRACE Linxura Zigbee Button1  Found DeviceLifecycleDispatcher handler in Linxura-zigbee-buttons-1 -> ZigBee multi button
2024-12-10T04:39:32.236443427Z INFO Linxura Zigbee Button1  aaaa
2024-12-10T04:39:32.240762642Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button2","state":{"value":["pushed","held","double"]},"visibility":{"displayed":false}}
2024-12-10T04:39:32.256175765Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"numberOfButtons","capability_id":"button","component_id":"button2","state":{"value":1},"visibility":{"displayed":false}}
2024-12-10T04:39:32.270014925Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"main","state":{"value":["pushed","held","double"]},"visibility":{"displayed":false}}
2024-12-10T04:39:32.283955534Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"numberOfButtons","capability_id":"button","component_id":"main","state":{"value":4},"visibility":{"displayed":false}}
2024-12-10T04:39:32.298361994Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button3","state":{"value":["pushed","held","double"]},"visibility":{"displayed":false}}
2024-12-10T04:39:32.311647473Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"numberOfButtons","capability_id":"button","component_id":"button3","state":{"value":1},"visibility":{"displayed":false}}
2024-12-10T04:39:32.325520741Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button4","state":{"value":["pushed","held","double"]},"visibility":{"displayed":false}}
2024-12-10T04:39:32.339358403Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"numberOfButtons","capability_id":"button","component_id":"button4","state":{"value":1},"visibility":{"displayed":false}}
2024-12-10T04:39:32.359856024Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button1","state":{"value":["pushed","held","double"]},"visibility":{"displayed":false}}
2024-12-10T04:39:32.373002156Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"numberOfButtons","capability_id":"button","component_id":"button1","state":{"value":1},"visibility":{"displayed":false}}
2024-12-10T04:39:32.386906367Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"main","state":{"value":"pushed"}}
2024-12-10T04:39:32.405423937Z DEBUG Linxura Zigbee Button1  Linxura Smart Controller device thread event handled
2024-12-10T04:39:32.407248441Z TRACE Linxura Zigbee Button1  Received event with handler driver_lifecycle
2024-12-10T04:39:32.408728408Z INFO Linxura Zigbee Button1  received driver startupState: {"hub_zigbee_id":"KG2XAAIBTy0=","hub_node_id":1,"hub_ipv4":"192.168.2.64"}
2024-12-10T04:39:32.431603340Z TRACE Linxura Zigbee Button1  Found DeviceLifecycleDispatcher handler in Linxura-zigbee-buttons-1 -> ZigBee multi button -> Linxura Device Handler
2024-12-10T04:39:32.432816442Z INFO Linxura Zigbee Button1  configure
2024-12-10T04:39:32.611147357Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0xB7BE, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x02 >, < WriteAttribute || < AttributeRecord || attr_id: 0x0010, DataType: IEEEAddress, data: 286D970002014F2D > > > >
2024-12-10T04:39:32.631374905Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0xB7BE, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x01, seqno: 0x00, ZCLCommandId: 0x00 >, < ZoneEnrollResponse || EnrollResponseCode: SUCCESS, zone_id: 0x00 > > >
2024-12-10T04:39:32.639152222Z DEBUG Linxura Zigbee Button1  Linxura Smart Controller device thread event handled
2024-12-10T04:39:32.643330007Z DEBUG Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> doConfigure callback did not fail, transitioning device to "PROVISIONED"
2024-12-10T04:39:32.656082753Z DEBUG Linxura Zigbee Button1  Linxura Smart Controller device thread event handled
2024-12-10T04:39:34.014182530Z TRACE Linxura Zigbee Button1  Received event with handler device_lifecycle
2024-12-10T04:39:34.015501495Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> received lifecycle event: infoChanged
2024-12-10T04:39:34.021018069Z TRACE Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> received unhandled lifecycle event: infoChanged
2024-12-10T04:39:34.022130346Z DEBUG Linxura Zigbee Button1  Linxura Smart Controller device thread event handled
2024-12-10T04:39:58.079148197Z TRACE Linxura Zigbee Button1  Received event with handler zigbee
2024-12-10T04:39:58.149280947Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0xB7BE, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0xC0, rssi: -33, body_length: 0x0004, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x18, seqno: 0x08, ZCLCommandId: 0x04 >, < WriteAttributeReponse || ZclStatus: SUCCESS > > >
2024-12-10T04:39:58.163477887Z DEBUG Linxura Zigbee Button1  Linxura Smart Controller device thread event handled
2024-12-10T04:39:58.165663168Z TRACE Linxura Zigbee Button1  Received event with handler zigbee
2024-12-10T04:39:58.182433362Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0xB7BE, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0xBA, rssi: -33, body_length: 0x0005, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x18, seqno: 0x09, ZCLCommandId: 0x0B >, < DefaultResponse || cmd: 0x00, ZclStatus: SUCCESS > > >
2024-12-10T04:39:58.195031144Z DEBUG Linxura Zigbee Button1  Linxura Smart Controller device thread event handled
2024-12-10T04:40:02.138201739Z DEBUG Linxura Zigbee Button1  driver device thread event handled
2024-12-10T04:40:03.759090848Z TRACE Linxura Zigbee Button1  Received event with handler zigbee
2024-12-10T04:40:03.769762593Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0xB7BE, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0xBC, rssi: -33, body_length: 0x0009, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x00, ZCLCommandId: 0x00 >, < ZoneStatusChangeNotification || zone_status: 0x0000, extended_status: 0x00, zone_id: 0x00, delay: 0x0000 > > >
2024-12-10T04:40:03.785902310Z TRACE Linxura Zigbee Button1  Found ZigbeeMessageDispatcher handler in Linxura-zigbee-buttons-1
2024-12-10T04:40:03.788128530Z INFO Linxura Zigbee Button1  Executing ZclClusterCommandHandler: cluster: IASZone, command: ZoneEnrollResponse
2024-12-10T04:40:03.790887233Z DEBUG Linxura Zigbee Button1  Linxura Smart Controller device thread event handled
2024-12-10T04:40:03.979075717Z TRACE Linxura Zigbee Button1  Received event with handler zigbee
2024-12-10T04:40:03.980344832Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0xB7BE, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0xBE, rssi: -33, body_length: 0x0009, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x00 >, < ZoneStatusChangeNotification || zone_status: 0x0001, extended_status: 0x00, zone_id: 0x00, delay: 0x0000 > > >
2024-12-10T04:40:04.002579334Z TRACE Linxura Zigbee Button1  Found ZigbeeMessageDispatcher handler in Linxura-zigbee-buttons-1
2024-12-10T04:40:04.004692402Z INFO Linxura Zigbee Button1  Executing ZclClusterCommandHandler: cluster: IASZone, command: ZoneEnrollResponse
2024-12-10T04:40:04.008540227Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"main","state":{"value":"pushed"},"state_change":true}
2024-12-10T04:40:04.023430487Z DEBUG Linxura Zigbee Button1  Linxura Smart Controller device thread event handled
2024-12-10T04:40:06.525177988Z TRACE Linxura Zigbee Button1  Received event with handler zigbee
2024-12-10T04:40:06.526455224Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0xB7BE, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0xBE, rssi: -33, body_length: 0x0009, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x02, ZCLCommandId: 0x00 >, < ZoneStatusChangeNotification || zone_status: 0x0000, extended_status: 0x00, zone_id: 0x00, delay: 0x0000 > > >
2024-12-10T04:40:06.534856188Z TRACE Linxura Zigbee Button1  Found ZigbeeMessageDispatcher handler in Linxura-zigbee-buttons-1
2024-12-10T04:40:06.537023645Z INFO Linxura Zigbee Button1  Executing ZclClusterCommandHandler: cluster: IASZone, command: ZoneEnrollResponse
2024-12-10T04:40:06.539825577Z DEBUG Linxura Zigbee Button1  Linxura Smart Controller device thread event handled
2024-12-10T04:40:06.719081321Z TRACE Linxura Zigbee Button1  Received event with handler zigbee
2024-12-10T04:40:06.725595396Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0xB7BE, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0xBC, rssi: -33, body_length: 0x0009, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x03, ZCLCommandId: 0x00 >, < ZoneStatusChangeNotification || zone_status: 0x0001, extended_status: 0x00, zone_id: 0x00, delay: 0x0000 > > >
2024-12-10T04:40:06.745119337Z TRACE Linxura Zigbee Button1  Found ZigbeeMessageDispatcher handler in Linxura-zigbee-buttons-1
2024-12-10T04:40:06.750858508Z INFO Linxura Zigbee Button1  Executing ZclClusterCommandHandler: cluster: IASZone, command: ZoneEnrollResponse
2024-12-10T04:40:06.752444548Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"main","state":{"value":"pushed"},"state_change":true}
2024-12-10T04:40:06.766510511Z DEBUG Linxura Zigbee Button1  Linxura Smart Controller device thread event handled
2024-12-10T04:40:09.519090366Z TRACE Linxura Zigbee Button1  Received event with handler zigbee
2024-12-10T04:40:09.578654528Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0xB7BE, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0xBE, rssi: -33, body_length: 0x0009, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x04, ZCLCommandId: 0x00 >, < ZoneStatusChangeNotification || zone_status: 0x0000, extended_status: 0x00, zone_id: 0x00, delay: 0x0000 > > >
2024-12-10T04:40:09.622063937Z TRACE Linxura Zigbee Button1  Found ZigbeeMessageDispatcher handler in Linxura-zigbee-buttons-1
2024-12-10T04:40:09.634436914Z INFO Linxura Zigbee Button1  Executing ZclClusterCommandHandler: cluster: IASZone, command: ZoneEnrollResponse
2024-12-10T04:40:09.659947319Z DEBUG Linxura Zigbee Button1  Linxura Smart Controller device thread event handled
2024-12-10T04:40:09.817988176Z TRACE Linxura Zigbee Button1  Received event with handler zigbee
2024-12-10T04:40:09.819310973Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0xB7BE, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0xC0, rssi: -33, body_length: 0x0009, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x05, ZCLCommandId: 0x00 >, < ZoneStatusChangeNotification || zone_status: 0x0001, extended_status: 0x00, zone_id: 0x00, delay: 0x0000 > > >
2024-12-10T04:40:09.920607841Z TRACE Linxura Zigbee Button1  Found ZigbeeMessageDispatcher handler in Linxura-zigbee-buttons-1
2024-12-10T04:40:09.928025630Z INFO Linxura Zigbee Button1  Executing ZclClusterCommandHandler: cluster: IASZone, command: ZoneEnrollResponse
2024-12-10T04:40:09.943961741Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"main","state":{"value":"pushed"},"state_change":true}
2024-12-10T04:40:10.079328690Z DEBUG Linxura Zigbee Button1  Linxura Smart Controller device thread event handled
2024-12-10T04:40:15.598205372Z TRACE Linxura Zigbee Button1  Received event with handler zigbee
2024-12-10T04:40:15.602811360Z INFO Linxura Zigbee Button1  <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0xB7BE, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0xC2, rssi: -31, body_length: 0x0009, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x06, ZCLCommandId: 0x00 >, < ZoneStatusChangeNotification || zone_status: 0x0000, extended_status: 0x00, zone_id: 0x00, delay: 0x0000 > > >
2024-12-10T04:40:15.621638233Z TRACE Linxura Zigbee Button1  Found ZigbeeMessageDispatcher handler in Linxura-zigbee-buttons-1
2024-12-10T04:40:15.625137108Z INFO Linxura Zigbee Button1  Executing ZclClusterCommandHandler: cluster: IASZone, command: ZoneEnrollResponse
2024-12-10T04:40:15.629114452Z DEBUG Linxura Zigbee Button1  Linxura Smart Controller device thread event handled

Based on the log between HA and SmartThings, HA catch the button trigger action as “ReportAtrribute”, SmartThings catch the button trigger action as “ChangeNotification”.
So I add global setting in driver.


But still the same.

Hi @xiaoda_hu

What do you mean by enabling or disabling the persistent feature?
What changes does it make to the device’s operation?

If you don’t see any messages being received from the device in the logs, it’s most likely that it’s not reaching the HUB, because it’s not being sent or it’s not being sent to the Hub’s node ID 0x0000

When the Hub receives a message addressed to the Hub from a valid zigbee node ID, it decodes it and sends it to the driver that the device with that node ID is paired with and it’s displayed in the CLI logs, even if there’s no handler, default or custom, defined for that message.



Means I comment and uncomment this part of code on device.
When I uncomment this code, button trigger action has no data shown in SmartThings CLI logcat.
When I comment this code as in the picture, button trigger action has data shown in SmartThings CLI logcat.
Both logs has been provide on former reply.

I’m wondering if my driver is missing something that SmartThings hub is not able to get Report Attribute command.

Sorry, I don’t understand what changes in the operation of the device and what difference there is between the message sent when it is commented or when it is not commented.

Analyze what changes in the messages in one way or another in Home assistant logs and identify what fields are missing in the messages that the smartthings Hub does not receive or does not handle.

In this log of a device, which sends a message from the IASZone cluster and attributeReport command of attribute 0x0002. Although the driver does not handle that command, it is shown in the log.

In highlighted some fields that should be in the device message

2024-12-16T10:27:28.127450171Z TRACE Zigbee Device Config Mc Received event with handler zigbee
2024-12-16T10:27:28.230946046Z INFO Zigbee Device Config Mc <ZigbeeDevice: 9ea4a325-0393-4760-9059-d2cd06f47250 [0x619E] (Sensor Mov-3)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619E, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0xD0, rssi: -60, body_length: 0x0008, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0x0D, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0002, DataType: Bitmap16, ZoneStatus: 0x0020 > > > >

There are some things I noticed:

  1. In the “not working version”, you have a device handler called “Linxura-zigbee-buttons-4” and in the working version you have another one called “Linxura-zigbee-buttons-1”.
    Have you checked when your device is using one or the other?
  1. In the working version, we see more responses from the IASZone cluster regarding the enrollment and status reports. Perhaps the other device handler which I think it’s a subdriver isn’t configured correctly…

Remember the IASZone cluster requires an additional enrollment process.

As mentioned above, it would be useful for you to print some logs to see the flow of the device configuration, this means to which subdriver are the Zigbee messages for this device being sent.

1 Like

Hi @xiaoda_hu

In the Home Assistant logs with the configuration that doesn’t work in smartthing I see that the same message contains reportAtrribute for two different attributes, 0x0002 (zone_status) and 0xFFFE (custom attribute).

Normally in other clusters they are received and decoded in smartthings Hub without any problem, but I don’t know if it could be the case in this cluster.
When persistent mode is not active, which I don’t know what it is, and works in smartthings, is the message also sent with double reportAttribute?

When device is in the configuration that works in smartthings, hub did not receive IASZone messages with command AttributeResponse (0x0A), it receive them with the ZoneStatusChangeNotification command (0x00) of the IASZone cluster.

2024-12-10T04:40:09.819310973Z INFO Linxura Zigbee Button1 <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0xB7BE, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0xC0, rssi: -33, body_length: 0x0009, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x05, ZCLCommandId: 0x00 >, < ZoneStatusChangeNotification || zone_status: 0x0001, extended_status: 0x00, zone_id: 0x00, delay: 0x0000 > > >
2024-12-10T04:40:09.943961741Z INFO Linxura Zigbee Button1 <ZigbeeDevice: d9675384-c8b1-44b5-8467-3831687fcc9d [0xB7BE] (Linxura Smart Controller)> emitting event: {“attribute_id”:“button”,“capability_id”:“button”,“component_id”:“main”,“state”:{“value”:“pushed”},“state_change”:true}

You are right, When I comment this part.


Device add to HA, it seems the HA is receiving Zonestatuschangenotification.
When I uncomment this part. HA is receiving ReportAttribute.

2024-12-17 09:37:42.895 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 12, 17, 1, 37, 42, 895842, tzinfo=datetime.timezone.utc), priority=0, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE46A), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=1280, data=Serialized[b'\t\x02\x00\x07\x00\x00\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=29, non_member_radius=0, lqi=61, rssi=None)
2024-12-17 09:37:42.896 DEBUG (MainThread) [zigpy.zcl] [0xE46A:1:0x0500] Received ZCL frame: b'\t\x02\x00\x07\x00\x00\x00\x00\x00'
2024-12-17 09:37:42.897 DEBUG (MainThread) [zigpy.zcl] [0xE46A:1:0x0500] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl<0x09>(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Server_to_Client: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=2, command_id=0, *direction=<Direction.Server_to_Client: 1>)
2024-12-17 09:37:42.898 DEBUG (MainThread) [zigpy.zcl] [0xE46A:1:0x0500] Decoded ZCL frame: LinxuraIASCluster:status_change_notification(zone_status=<ZoneStatus.Alarm_1|Alarm_2|Tamper: 7>, extended_status=<bitmap8: 0>, zone_id=0, delay=0)
2024-12-17 09:37:42.898 DEBUG (MainThread) [zigpy.zcl] [0xE46A:1:0x0500] Received command 0x00 (TSN 2): status_change_notification(zone_status=<ZoneStatus.Alarm_1|Alarm_2|Tamper: 7>, extended_status=<bitmap8: 0>, zone_id=0, delay=0)
2024-12-17 09:37:42.898 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0xE46A:1:0x0500]: cluster_handler[ias_zone] attribute_updated - cluster[IAS Zone] attr[zone_status] value[7]
2024-12-17 09:37:42.898 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=2, attribute_name='zone_status', attribute_value=<ZoneStatus.Alarm_1|Alarm_2|Tamper: 7>, cluster_handler_unique_id='00:80:e1:25:00:8d:ae:ae:1:0x0500', cluster_id=1280, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (1 listeners)
2024-12-17 09:37:42.899 DEBUG (MainThread) [zha] Emitting event zha_event with data ZHAEvent(device_ieee=00:80:e1:25:00:8d:ae:ae, unique_id='00:80:e1:25:00:8d:ae:ae', data={'unique_id': '00:80:e1:25:00:8d:ae:ae:1:0x0500', 'endpoint_id': 1, 'cluster_id': 1280, 'command': 'button_2_remote_button_short_press', 'args': {'button': 'button_2', 'press_type': 'remote_button_short_press'}, 'params': {}}, event_type='zha_event', event='zha_event') (1 listeners)
2024-12-17 09:37:42.899 DEBUG (MainThread) [zha] (ZHADeviceProxy) handling event protocol for event: ZHAEvent(device_ieee=00:80:e1:25:00:8d:ae:ae, unique_id='00:80:e1:25:00:8d:ae:ae', data={'unique_id': '00:80:e1:25:00:8d:ae:ae:1:0x0500', 'endpoint_id': 1, 'cluster_id': 1280, 'command': 'button_2_remote_button_short_press', 'args': {'button': 'button_2', 'press_type': 'remote_button_short_press'}, 'params': {}}, event_type='zha_event', event='zha_event')
2024-12-17 09:37:42.899 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0xE46A:1:0x0500]: Updated alarm state: 7
2024-12-17 09:37:42.900 DEBUG (MainThread) [zigpy.zcl] [0xE46A:1:0x0500] Sending reply header: ZCLHeader(frame_control=FrameControl<0x10>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 0>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=2, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 0>)
2024-12-17 09:37:42.900 DEBUG (MainThread) [zigpy.zcl] [0xE46A:1:0x0500] Sending reply: Default_Response(command_id=0, status=<Status.SUCCESS: 0>)

Sorry to cause the confusion.
These two sub-drivers are the same. Its just for debug convenient purpose to create to drivers.


It seems when ZCL_ATTR_FLAG_REPORTABLE is set iaszone_server_attr_list, device would send ReportAttribute command and SmartThings hub does not handle it.

Smartthings hub can handle the command reportAtributte messages, but some in your device ReportAttribute message is not accepted by smartthings hub firmware

This is a log from a device message reportAtribute 0x0002 of IASZone 0x0500

Message received by driver from hub:

2024-12-17T10:51:47.927213065Z INFO Zigbee Device Config Mc <ZigbeeDevice: 9b6380e3-7155-4d74-85f6-0878a92e0a85 [0xB389] (Sensor Mov-2)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0xB389, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0xC6, rssi: -65, body_length: 0x0008, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0x61, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0002, DataType: Bitmap16, ZoneStatus: 0x0021 > > > >

Message decoded by driver handler:

2024-12-17T10:51:47.989068523Z TRACE Zigbee Device Config Mc Found ZigbeeMessageDispatcher handler in zigbee_thing
2024-12-17T10:51:47.992369981Z INFO Zigbee Device Config Mc Executing ZclGlobalCommandHandler: cluster: IASZone, command: ReportAttribute
2024-12-17T10:51:47.997113148Z PRINT Zigbee Device Config Mc << reportAttribute_handler >>
2024-12-17T10:51:48.005684648Z PRINT Zigbee Device Config Mc <<<< reportAtribute command message: {address_header={cluster={byte_length=2, field_name=“cluster”, value=1280}, dest_addr={byte_length=2, field_name=“dest_addr”, value=0}, dest_endpoint={byte_length=1, field_name=“dest_endpoint”, value=1}, profile={byte_length=2, field_name=“profile”, value=260}, src_addr={byte_length=2, field_name=“src_addr”, value=45961}, src_endpoint={byte_length=1, field_name=“src_endpoint”, value=1}}, body={zcl_body={attr_records={{attr_id={byte_length=2, value=2}, data={byte_length=2, field_name=“ZoneStatus”, value=33}, data_type={byte_length=1, value=25}}}}, zcl_header={cmd={byte_length=1, value=10}, frame_ctrl={byte_length=1, field_name=“frame_ctrl”, value=8}, seqno={byte_length=1, field_name=“seqno”, value=97}}}, body_length={byte_length=2, field_name=“body_length”, value=8}, lqi={byte_length=1, field_name=“lqi”, value=198}, rssi={byte_length=1, field_name=“rssi”, value=-65}, type={byte_length=1, field_name=“type”, value=0}}

May be @nayelyz can analyze your internal hub logs to find errors

Well… That escalated quickly…

I like your whatever attitude:

Hi, @xiaoda_hu

So, are you planning to certify your Edge driver?
If so, you need to finish the internal tests before making a request.

Since we haven’t confirmed what’s causing the issue, I need further information to ask the engineering team about this.

So, please collect the following information:

  1. Enable the code you mentioned that causes the issue and re-install the device to see the events exchanged.
    • During this process, you need to collect driver logs and
    • Submit your hub logs afterward
    • take note of the timestamp when you perform this test and share it with us to look for the related logs including your timezone, for example: 16:00 GMT-6.
  2. Then, make the test with the code disabled to see how it works correctly and collect the same information I mentioned above (driver logs, hub logs, timestamp)

Also, open support access to your account:

  1. Confirm the email account registered in the forum is the same one you use for SmartThings. If not, please share it with me over DM
  2. Enable support access to your account:
  1. Go to the SmartThings Web (my.smartthings.com)
  2. Log in to your Samsung Account
  3. Select Menu (⋮) and choose Settings
  4. Toggle on Account Data Access
  5. Select the time period and confirm - In this step, please select “Until turned off”, once the team finishes, we’ll let you know so you can disable it again.
  1. Confirm the email account is the same one I use for SmartThings.
  2. Support access enabled.

=======
1.Information that cause the issue.
-Driver log for install the device and try to trigger the button action after installed.

connecting... connected
2024-12-19T06:01:54.856569992Z TRACE Linxura Zigbee Button4  Setup driver Linxura-zigbee-buttons-4 with lifecycle handlers:
DeviceLifecycleDispatcher: Linxura-zigbee-buttons-4
  default_handlers:
    added:
    doConfigure:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button
      default_handlers:
        added:
      child_dispatchers:
        DeviceLifecycleDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
          default_handlers:
            added:
            doConfigure:
          child_dispatchers:

2024-12-19T06:01:54.929553117Z TRACE Linxura Zigbee Button4  Setup driver Linxura-zigbee-buttons-4 with Capability handlers:
CapabilityCommandDispatcher: Linxura-zigbee-buttons-4
  default_handlers:
    refresh:
      refresh
  child_dispatchers:
    CapabilityCommandDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
          default_handlers:
          child_dispatchers:

2024-12-19T06:01:54.969581367Z INFO Linxura Zigbee Button4  Created dispatcher [SecretDataDispatcher]Linxura-zigbee-buttons-4 that had no handlers
2024-12-19T06:01:55.048768034Z TRACE Linxura Zigbee Button4  Setup driver Linxura-zigbee-buttons-4 with Secret Data handlers:
SecretDataDispatcher: Linxura-zigbee-buttons-4
  default_handlers:
  child_dispatchers:
    SecretDataDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button
      default_handlers:
      child_dispatchers:
        SecretDataDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
          default_handlers:
          child_dispatchers:

2024-12-19T06:01:55.068347868Z TRACE Linxura Zigbee Button4  Setup driver Linxura-zigbee-buttons-4 with Zigbee handlers:
ZigbeeMessageDispatcher: Linxura-zigbee-buttons-4
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: IASZone, attribute: ZoneStatus
    global:
    cluster:
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
          default_handlers:
            attr:
              ZclClusterAttributeValueHandler: cluster: IASZone, attribute: ZoneStatus
            global:
              ZclGlobalCommandHandler: cluster: IASZone, command: ReportAttribute
            cluster:
              ZclClusterCommandHandler: cluster: IASZone, command: ZoneEnrollResponse
            zdo:
          child_dispatchers:

2024-12-19T06:01:56.292244576Z TRACE Linxura Zigbee Button4  Zigbee Device: de04ed91-bcd6-4970-9dbd-08807d18401f
Manufacturer: Linxura Model: Smart Controller
        [1]: server: Basic, IASZone | client
2024-12-19T06:01:56.299077784Z TRACE Linxura Zigbee Button4  Received event with handler device_lifecycle
2024-12-19T06:01:56.302671701Z INFO Linxura Zigbee Button4  <ZigbeeDevice: de04ed91-bcd6-4970-9dbd-08807d18401f [0x239D] (Linxura Smart Controller)> received lifecycle event: added
2024-12-19T06:01:56.318865618Z DEBUG Linxura Zigbee Button4  driver device thread event handled
2024-12-19T06:01:56.319936409Z TRACE Linxura Zigbee Button4  <ZigbeeDevice: de04ed91-bcd6-4970-9dbd-08807d18401f [0x239D] (Linxura Smart Controller)> received unhandled lifecycle event: init
2024-12-19T06:01:56.320943909Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-19T06:01:56.321867159Z TRACE Linxura Zigbee Button4  Received event with handler device_lifecycle
2024-12-19T06:01:56.324996576Z INFO Linxura Zigbee Button4  <ZigbeeDevice: de04ed91-bcd6-4970-9dbd-08807d18401f [0x239D] (Linxura Smart Controller)> received lifecycle event: doConfigure
2024-12-19T06:01:56.339125534Z TRACE Linxura Zigbee Button4  Found DeviceLifecycleDispatcher handler in Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
2024-12-19T06:01:56.342173909Z INFO Linxura Zigbee Button4  bbbb
2024-12-19T06:01:56.355452534Z INFO Linxura Zigbee Button4  <ZigbeeDevice: de04ed91-bcd6-4970-9dbd-08807d18401f [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button1","state":{"value":["pushed","held","double"]},"visibility":{"displayed":false}}
2024-12-19T06:01:56.375029993Z INFO Linxura Zigbee Button4  <ZigbeeDevice: de04ed91-bcd6-4970-9dbd-08807d18401f [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"numberOfButtons","capability_id":"button","component_id":"button1","state":{"value":4},"visibility":{"displayed":false}}
2024-12-19T06:01:56.397241534Z INFO Linxura Zigbee Button4  <ZigbeeDevice: de04ed91-bcd6-4970-9dbd-08807d18401f [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"main","state":{"value":["pushed","held","double"]},"visibility":{"displayed":false}}
2024-12-19T06:01:56.416546076Z INFO Linxura Zigbee Button4  <ZigbeeDevice: de04ed91-bcd6-4970-9dbd-08807d18401f [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"numberOfButtons","capability_id":"button","component_id":"main","state":{"value":4},"visibility":{"displayed":false}}
2024-12-19T06:01:56.438697243Z INFO Linxura Zigbee Button4  <ZigbeeDevice: de04ed91-bcd6-4970-9dbd-08807d18401f [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button4","state":{"value":["pushed","held","double"]},"visibility":{"displayed":false}}
2024-12-19T06:01:56.478030326Z INFO Linxura Zigbee Button4  <ZigbeeDevice: de04ed91-bcd6-4970-9dbd-08807d18401f [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"numberOfButtons","capability_id":"button","component_id":"button4","state":{"value":4},"visibility":{"displayed":false}}
2024-12-19T06:01:56.509554243Z INFO Linxura Zigbee Button4  <ZigbeeDevice: de04ed91-bcd6-4970-9dbd-08807d18401f [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button3","state":{"value":["pushed","held","double"]},"visibility":{"displayed":false}}
2024-12-19T06:01:56.544059326Z INFO Linxura Zigbee Button4  <ZigbeeDevice: de04ed91-bcd6-4970-9dbd-08807d18401f [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"numberOfButtons","capability_id":"button","component_id":"button3","state":{"value":4},"visibility":{"displayed":false}}
2024-12-19T06:01:56.587702784Z INFO Linxura Zigbee Button4  <ZigbeeDevice: de04ed91-bcd6-4970-9dbd-08807d18401f [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button2","state":{"value":["pushed","held","double"]},"visibility":{"displayed":false}}
2024-12-19T06:01:56.613504701Z INFO Linxura Zigbee Button4  <ZigbeeDevice: de04ed91-bcd6-4970-9dbd-08807d18401f [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"numberOfButtons","capability_id":"button","component_id":"button2","state":{"value":4},"visibility":{"displayed":false}}
2024-12-19T06:01:56.641493284Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-19T06:01:56.643159951Z TRACE Linxura Zigbee Button4  Received event with handler driver_lifecycle
2024-12-19T06:01:56.644062534Z INFO Linxura Zigbee Button4  received driver startupState: {"hub_zigbee_id":"KG2XAAIBTy0=","hub_node_id":1,"hub_ipv4":"192.168.2.64"}
2024-12-19T06:01:56.971002576Z TRACE Linxura Zigbee Button4  Found DeviceLifecycleDispatcher handler in Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
2024-12-19T06:01:56.972779368Z INFO Linxura Zigbee Button4  configure
2024-12-19T06:01:56.973857868Z INFO Linxura Zigbee Button4  <ZigbeeDevice: de04ed91-bcd6-4970-9dbd-08807d18401f [0x239D] (Linxura Smart Controller)> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x239D, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x02 >, < WriteAttribute || < AttributeRecord || attr_id: 0x0010, DataType: IEEEAddress, data: 286D970002014F2D > > > >
2024-12-19T06:01:56.987430618Z INFO Linxura Zigbee Button4  <ZigbeeDevice: de04ed91-bcd6-4970-9dbd-08807d18401f [0x239D] (Linxura Smart Controller)> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x239D, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x01, seqno: 0x00, ZCLCommandId: 0x00 >, < ZoneEnrollResponse || EnrollResponseCode: SUCCESS, zone_id: 0x00 > > >
2024-12-19T06:01:57.022262493Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-19T06:01:57.023267118Z DEBUG Linxura Zigbee Button4  <ZigbeeDevice: de04ed91-bcd6-4970-9dbd-08807d18401f [0x239D] (Linxura Smart Controller)> doConfigure callback did not fail, transitioning device to "PROVISIONED"
2024-12-19T06:01:57.040926993Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-19T06:01:58.086998451Z TRACE Linxura Zigbee Button4  Received event with handler device_lifecycle
2024-12-19T06:01:58.088172785Z INFO Linxura Zigbee Button4  <ZigbeeDevice: de04ed91-bcd6-4970-9dbd-08807d18401f [0x239D] (Linxura Smart Controller)> received lifecycle event: infoChanged
2024-12-19T06:01:58.103518868Z TRACE Linxura Zigbee Button4  <ZigbeeDevice: de04ed91-bcd6-4970-9dbd-08807d18401f [0x239D] (Linxura Smart Controller)> received unhandled lifecycle event: infoChanged
2024-12-19T06:01:58.104545118Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-19T06:02:19.566726403Z TRACE Linxura Zigbee Button4  Received event with handler zigbee
2024-12-19T06:02:19.625456487Z INFO Linxura Zigbee Button4  <ZigbeeDevice: de04ed91-bcd6-4970-9dbd-08807d18401f [0x239D] (Linxura Smart Controller)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x239D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0xBE, rssi: -43, body_length: 0x0004, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x18, seqno: 0x79, ZCLCommandId: 0x04 >, < WriteAttributeReponse || ZclStatus: SUCCESS > > >
2024-12-19T06:02:19.640280112Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-19T06:02:19.643461278Z TRACE Linxura Zigbee Button4  Received event with handler zigbee
2024-12-19T06:02:19.659405987Z INFO Linxura Zigbee Button4  <ZigbeeDevice: de04ed91-bcd6-4970-9dbd-08807d18401f [0x239D] (Linxura Smart Controller)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x239D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0xBC, rssi: -42, body_length: 0x0005, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x18, seqno: 0x7A, ZCLCommandId: 0x0B >, < DefaultResponse || cmd: 0x00, ZclStatus: SUCCESS > > >
2024-12-19T06:02:19.683052653Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-19T06:02:25.098936779Z DEBUG Linxura Zigbee Button4  driver device thread event handled

-Timestamp: 2024/12/19 14:02 BEIJING TIME, Which means 2024-12-19 14:02 GMT+8

-How to provide hub logs to you?

Information with code disabled and try to trigger the button action after installed.

connecting... connected
2024-12-19T06:15:56.844684640Z TRACE Linxura Zigbee Button4  Setup driver Linxura-zigbee-buttons-4 with lifecycle handlers:
DeviceLifecycleDispatcher: Linxura-zigbee-buttons-4
  default_handlers:
    doConfigure:
    added:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button
      default_handlers:
        added:
      child_dispatchers:
        DeviceLifecycleDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
          default_handlers:
            added:
            doConfigure:
          child_dispatchers:

2024-12-19T06:15:56.847067349Z TRACE Linxura Zigbee Button4  Setup driver Linxura-zigbee-buttons-4 with Capability handlers:
CapabilityCommandDispatcher: Linxura-zigbee-buttons-4
  default_handlers:
    refresh:
      refresh
  child_dispatchers:
    CapabilityCommandDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
          default_handlers:
          child_dispatchers:

2024-12-19T06:15:56.851789390Z INFO Linxura Zigbee Button4  Created dispatcher [SecretDataDispatcher]Linxura-zigbee-buttons-4 that had no handlers
2024-12-19T06:15:56.853823765Z TRACE Linxura Zigbee Button4  Setup driver Linxura-zigbee-buttons-4 with Secret Data handlers:
SecretDataDispatcher: Linxura-zigbee-buttons-4
  default_handlers:
  child_dispatchers:
    SecretDataDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button
      default_handlers:
      child_dispatchers:
        SecretDataDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
          default_handlers:
          child_dispatchers:

2024-12-19T06:15:56.855143807Z TRACE Linxura Zigbee Button4  Setup driver Linxura-zigbee-buttons-4 with Zigbee handlers:
ZigbeeMessageDispatcher: Linxura-zigbee-buttons-4
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: IASZone, attribute: ZoneStatus
    global:
    cluster:
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
          default_handlers:
            attr:
              ZclClusterAttributeValueHandler: cluster: IASZone, attribute: ZoneStatus
            global:
              ZclGlobalCommandHandler: cluster: IASZone, command: ReportAttribute
            cluster:
              ZclClusterCommandHandler: cluster: IASZone, command: ZoneEnrollResponse
            zdo:
          child_dispatchers:

2024-12-19T06:15:57.327038849Z TRACE Linxura Zigbee Button4  Zigbee Device: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea
Manufacturer: Linxura Model: Smart Controller
        [1]: server: Basic, IASZone | client
2024-12-19T06:15:57.378682890Z TRACE Linxura Zigbee Button4  Received event with handler device_lifecycle
2024-12-19T06:15:57.413645640Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> received lifecycle event: added
2024-12-19T06:15:57.429935515Z DEBUG Linxura Zigbee Button4  driver device thread event handled
2024-12-19T06:15:57.431670932Z TRACE Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> received unhandled lifecycle event: init
2024-12-19T06:15:57.433321390Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-19T06:15:57.434620349Z TRACE Linxura Zigbee Button4  Received event with handler device_lifecycle
2024-12-19T06:15:57.435552599Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> received lifecycle event: doConfigure
2024-12-19T06:15:57.449118640Z TRACE Linxura Zigbee Button4  Found DeviceLifecycleDispatcher handler in Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
2024-12-19T06:15:57.450364932Z INFO Linxura Zigbee Button4  bbbb
2024-12-19T06:15:57.451368390Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button3","state":{"value":["pushed","held","double"]},"visibility":{"displayed":false}}
2024-12-19T06:15:57.471866390Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"numberOfButtons","capability_id":"button","component_id":"button3","state":{"value":4},"visibility":{"displayed":false}}
2024-12-19T06:15:57.497656890Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button2","state":{"value":["pushed","held","double"]},"visibility":{"displayed":false}}
2024-12-19T06:15:57.519189432Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"numberOfButtons","capability_id":"button","component_id":"button2","state":{"value":4},"visibility":{"displayed":false}}
2024-12-19T06:15:57.545823265Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"main","state":{"value":["pushed","held","double"]},"visibility":{"displayed":false}}
2024-12-19T06:15:57.566864474Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"numberOfButtons","capability_id":"button","component_id":"main","state":{"value":4},"visibility":{"displayed":false}}
2024-12-19T06:15:57.592545849Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button4","state":{"value":["pushed","held","double"]},"visibility":{"displayed":false}}
2024-12-19T06:15:57.619599724Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"numberOfButtons","capability_id":"button","component_id":"button4","state":{"value":4},"visibility":{"displayed":false}}
2024-12-19T06:15:57.769540182Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button1","state":{"value":["pushed","held","double"]},"visibility":{"displayed":false}}
2024-12-19T06:15:58.020466599Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"numberOfButtons","capability_id":"button","component_id":"button1","state":{"value":4},"visibility":{"displayed":false}}
2024-12-19T06:15:58.619214057Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-19T06:15:58.620314516Z TRACE Linxura Zigbee Button4  Received event with handler driver_lifecycle
2024-12-19T06:15:58.621313891Z INFO Linxura Zigbee Button4  received driver startupState: {"hub_zigbee_id":"KG2XAAIBTy0=","hub_node_id":1,"hub_ipv4":"192.168.2.64"}
2024-12-19T06:15:58.670832016Z TRACE Linxura Zigbee Button4  Found DeviceLifecycleDispatcher handler in Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
2024-12-19T06:15:58.671873932Z INFO Linxura Zigbee Button4  configure
2024-12-19T06:15:58.938906682Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x239D, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x02 >, < WriteAttribute || < AttributeRecord || attr_id: 0x0010, DataType: IEEEAddress, data: 286D970002014F2D > > > >
2024-12-19T06:15:58.982410474Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x239D, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x01, seqno: 0x00, ZCLCommandId: 0x00 >, < ZoneEnrollResponse || EnrollResponseCode: SUCCESS, zone_id: 0x00 > > >
2024-12-19T06:15:59.028941766Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-19T06:15:59.030178349Z DEBUG Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> doConfigure callback did not fail, transitioning device to "PROVISIONED"
2024-12-19T06:15:59.068055307Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-19T06:16:00.087493724Z TRACE Linxura Zigbee Button4  Received event with handler device_lifecycle
2024-12-19T06:16:00.089033057Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> received lifecycle event: infoChanged
2024-12-19T06:16:00.098380224Z TRACE Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> received unhandled lifecycle event: infoChanged
2024-12-19T06:16:00.101357557Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-19T06:16:21.830583810Z TRACE Linxura Zigbee Button4  Received event with handler zigbee
2024-12-19T06:16:21.879836727Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x239D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0xC0, rssi: -38, body_length: 0x0004, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x18, seqno: 0x7D, ZCLCommandId: 0x04 >, < WriteAttributeReponse || ZclStatus: SUCCESS > > >
2024-12-19T06:16:21.906395393Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-19T06:16:21.918831143Z TRACE Linxura Zigbee Button4  Received event with handler zigbee
2024-12-19T06:16:21.928052435Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x239D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0xBE, rssi: -38, body_length: 0x0005, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x18, seqno: 0x7E, ZCLCommandId: 0x0B >, < DefaultResponse || cmd: 0x00, ZclStatus: SUCCESS > > >
2024-12-19T06:16:21.943402310Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-19T06:16:25.971600852Z TRACE Linxura Zigbee Button4  Received event with handler zigbee
2024-12-19T06:16:25.988872394Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x239D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0xC0, rssi: -38, body_length: 0x0009, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x00, ZCLCommandId: 0x00 >, < ZoneStatusChangeNotification || zone_status: 0x0000, extended_status: 0x00, zone_id: 0x00, delay: 0x0000 > > >
2024-12-19T06:16:26.015093144Z TRACE Linxura Zigbee Button4  Found ZigbeeMessageDispatcher handler in Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
2024-12-19T06:16:26.018092394Z INFO Linxura Zigbee Button4  Executing ZclClusterCommandHandler: cluster: IASZone, command: ZoneEnrollResponse
2024-12-19T06:16:26.022004310Z INFO Linxura Zigbee Button4  ias_zone_status_change_handler The current value is:
2024-12-19T06:16:26.024912144Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-19T06:16:26.179302977Z TRACE Linxura Zigbee Button4  Received event with handler zigbee
2024-12-19T06:16:26.183152560Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x239D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0xC0, rssi: -38, body_length: 0x0009, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x00 >, < ZoneStatusChangeNotification || zone_status: 0x0001, extended_status: 0x00, zone_id: 0x00, delay: 0x0000 > > >
2024-12-19T06:16:26.205919602Z TRACE Linxura Zigbee Button4  Found ZigbeeMessageDispatcher handler in Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
2024-12-19T06:16:26.208977352Z INFO Linxura Zigbee Button4  Executing ZclClusterCommandHandler: cluster: IASZone, command: ZoneEnrollResponse
2024-12-19T06:16:26.215279977Z INFO Linxura Zigbee Button4  ias_zone_status_change_handler The current value is:
2024-12-19T06:16:26.216461727Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"button1","state":{"value":"pushed"},"state_change":true}
2024-12-19T06:16:26.236897519Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"main","state":{"value":"pushed"},"state_change":true}
2024-12-19T06:16:26.269893102Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-19T06:16:26.882254602Z DEBUG Linxura Zigbee Button4  driver device thread event handled
2024-12-19T06:16:29.140411186Z TRACE Linxura Zigbee Button4  Received event with handler zigbee
2024-12-19T06:16:29.142054894Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x239D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0xC0, rssi: -36, body_length: 0x0009, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x02, ZCLCommandId: 0x00 >, < ZoneStatusChangeNotification || zone_status: 0x0003, extended_status: 0x00, zone_id: 0x00, delay: 0x0000 > > >
2024-12-19T06:16:29.156417478Z TRACE Linxura Zigbee Button4  Found ZigbeeMessageDispatcher handler in Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
2024-12-19T06:16:29.159504728Z INFO Linxura Zigbee Button4  Executing ZclClusterCommandHandler: cluster: IASZone, command: ZoneEnrollResponse
2024-12-19T06:16:29.162634478Z INFO Linxura Zigbee Button4  ias_zone_status_change_handler The current value is:
2024-12-19T06:16:29.166471394Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"button1","state":{"value":"double"},"state_change":true}
2024-12-19T06:16:29.199790769Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"main","state":{"value":"double"},"state_change":true}
2024-12-19T06:16:29.238891019Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled
2024-12-19T06:16:32.776522020Z TRACE Linxura Zigbee Button4  Received event with handler zigbee
2024-12-19T06:16:32.781318520Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x239D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0xBC, rssi: -36, body_length: 0x0009, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x03, ZCLCommandId: 0x00 >, < ZoneStatusChangeNotification || zone_status: 0x0001, extended_status: 0x00, zone_id: 0x00, delay: 0x0000 > > >
2024-12-19T06:16:32.796911186Z TRACE Linxura Zigbee Button4  Found ZigbeeMessageDispatcher handler in Linxura-zigbee-buttons-4 -> ZigBee multi button -> Linxura Device Handler
2024-12-19T06:16:32.799791061Z INFO Linxura Zigbee Button4  Executing ZclClusterCommandHandler: cluster: IASZone, command: ZoneEnrollResponse
2024-12-19T06:16:32.802959436Z INFO Linxura Zigbee Button4  ias_zone_status_change_handler The current value is:
2024-12-19T06:16:32.807140770Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"button1","state":{"value":"pushed"},"state_change":true}
2024-12-19T06:16:32.829500853Z INFO Linxura Zigbee Button4  <ZigbeeDevice: aa52ddbd-d522-4e59-af26-27d5bf5ba6ea [0x239D] (Linxura Smart Controller)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"main","state":{"value":"pushed"},"state_change":true}
2024-12-19T06:16:32.868649353Z DEBUG Linxura Zigbee Button4  Linxura Smart Controller device thread event handled

-Timestamp: 2024-12-19 14:16 GMT+8