Open ldoering opened 9 months ago
@ldoering Thanks for reporting the issue. Can you share the driver logs? You can capture these using the SmartThings CLI using the smartthings edge:drivers:logcat
command. Also which model of device is this?
Hi Tom,
I just started to gather the logs, but noticed that the device was working different today: Both status indication and history were working. Only the action buttons for "4/5/6-times pressed" were a remaining issue, as the device does only support multipress up to 3.
Button 1 Press& Release
2024-02-19T15:32:35.936479554+00:00 TRACE Matter Button Received event with handler matter
2024-02-19T15:32:35.945349888+00:00 INFO Matter Button <MatterDevice: eb976936-63ae-464a-a0b7-1f076e08a147 [5ECE6C260BF49F1A-23C3D5684BAE6768] (MATTER device 1 55)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x00B8, <InteractionInfoBlock || endpoint: 0x01, cluster: Switch, event: InitialPress, data: Structure: {new_position: \x01}>>]>
2024-02-19T15:32:35.950756221+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button
2024-02-19T15:32:35.955117221+00:00 INFO Matter Button Executing EventReportHandler: cluster: Switch, event: InitialPress
2024-02-19T15:32:35.959446888+00:00 DEBUG Matter Button MATTER device 1 55 device thread event handled
2024-02-19T15:32:36.112441554+00:00 TRACE Matter Button Received event with handler matter
2024-02-19T15:32:36.120974221+00:00 INFO Matter Button <MatterDevice: eb976936-63ae-464a-a0b7-1f076e08a147 [5ECE6C260BF49F1A-23C3D5684BAE6768] (MATTER device 1 55)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x00B9, <InteractionInfoBlock || endpoint: 0x01, cluster: Switch, event: ShortRelease, data: Structure: {previous_position: \x01}>>]>
2024-02-19T15:32:36.126266221+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button
2024-02-19T15:32:36.130486888+00:00 INFO Matter Button Executing EventReportHandler: cluster: Switch, event: ShortRelease
2024-02-19T15:32:36.135000554+00:00 DEBUG Matter Button MATTER device 1 55 device thread event handled
2024-02-19T15:32:36.363387221+00:00 TRACE Matter Button Received event with handler matter
2024-02-19T15:32:36.372318888+00:00 INFO Matter Button <MatterDevice: eb976936-63ae-464a-a0b7-1f076e08a147 [5ECE6C260BF49F1A-23C3D5684BAE6768] (MATTER device 1 55)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x00BA, <InteractionInfoBlock || endpoint: 0x01, cluster: Switch, event: MultiPressComplete, data: Structure: {new_position: \x01, total_number_of_presses_counted: \x01}>>]>
2024-02-19T15:32:36.381188554+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button
2024-02-19T15:32:36.396526221+00:00 INFO Matter Button Executing EventReportHandler: cluster: Switch, event: MultiPressComplete
2024-02-19T15:32:36.436047888+00:00 INFO Matter Button <MatterDevice: eb976936-63ae-464a-a0b7-1f076e08a147 [5ECE6C260BF49F1A-23C3D5684BAE6768] (MATTER device 1 55)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"main","state":{"value":"pushed"},"state_change":true}
2024-02-19T15:32:36.440895888+00:00 DEBUG Matter Button MATTER device 1 55 device thread event handled
Btn 4 Press&Release:
2024-02-19T15:32:03.520551217+00:00 TRACE Matter Button Received event with handler matter
2024-02-19T15:32:03.529421217+00:00 INFO Matter Button <MatterDevice: eb976936-63ae-464a-a0b7-1f076e08a147 [5ECE6C260BF49F1A-23C3D5684BAE6768] (MATTER device 1 55)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x00B5, <InteractionInfoBlock || endpoint: 0x04, cluster: Switch, event: InitialPress, data: Structure: {new_position: \x01}>>]>
2024-02-19T15:32:03.542747884+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button
2024-02-19T15:32:03.547421217+00:00 INFO Matter Button Executing EventReportHandler: cluster: Switch, event: InitialPress
2024-02-19T15:32:03.552953217+00:00 DEBUG Matter Button MATTER device 1 55 device thread event handled
2024-02-19T15:32:03.701653884+00:00 TRACE Matter Button Received event with handler matter
2024-02-19T15:32:03.718698884+00:00 INFO Matter Button <MatterDevice: eb976936-63ae-464a-a0b7-1f076e08a147 [5ECE6C260BF49F1A-23C3D5684BAE6768] (MATTER device 1 55)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x00B6, <InteractionInfoBlock || endpoint: 0x04, cluster: Switch, event: ShortRelease, data: Structure: {previous_position: \x01}>>]>
2024-02-19T15:32:03.723752217+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button
2024-02-19T15:32:03.728026217+00:00 INFO Matter Button Executing EventReportHandler: cluster: Switch, event: ShortRelease
2024-02-19T15:32:03.732422884+00:00 DEBUG Matter Button MATTER device 1 55 device thread event handled
2024-02-19T15:32:03.953075551+00:00 TRACE Matter Button Received event with handler matter
2024-02-19T15:32:04.053206884+00:00 INFO Matter Button <MatterDevice: eb976936-63ae-464a-a0b7-1f076e08a147 [5ECE6C260BF49F1A-23C3D5684BAE6768] (MATTER device 1 55)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x00B7, <InteractionInfoBlock || endpoint: 0x04, cluster: Switch, event: MultiPressComplete, data: Structure: {new_position: \x01, total_number_of_presses_counted: \x01}>>]>
2024-02-19T15:32:04.181583217+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button
2024-02-19T15:32:04.186502884+00:00 INFO Matter Button Executing EventReportHandler: cluster: Switch, event: MultiPressComplete
2024-02-19T15:32:04.222160884+00:00 INFO Matter Button <MatterDevice: eb976936-63ae-464a-a0b7-1f076e08a147 [5ECE6C260BF49F1A-23C3D5684BAE6768] (MATTER device 1 55)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"button4","state":{"value":"pushed"},"state_change":true}
2024-02-19T15:32:04.271641217+00:00 DEBUG Matter Button MATTER device 1 55 device thread event handled
In an attempt to understand the behavior I deleted and added the device again:
Commissioning:
2024-02-19T15:35:36.101769719+00:00 TRACE Matter Button Received event with handler device_lifecycle 2024-02-19T15:35:36.175342719+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> received lifecycle event: added 2024-02-19T15:35:36.229779719+00:00 TRACE Matter Button Received event with handler device_lifecycle 2024-02-19T15:35:36.252753386+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> received lifecycle event: doConfigure 2024-02-19T15:35:36.258914053+00:00 TRACE Matter Button Found DeviceLifecycleDispatcher handler in matter-button 2024-02-19T15:35:36.274117386+00:00 DEBUG Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> 4 momentary switch endpoints 2024-02-19T15:35:36.279993053+00:00 DEBUG Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> main button endpoint is 1 2024-02-19T15:35:36.284517720+00:00 DEBUG Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> Configuring endpoint 1 2024-02-19T15:35:36.289129720+00:00 DEBUG Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> Configuring endpoint 2 2024-02-19T15:35:36.293617720+00:00 DEBUG Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> Configuring endpoint 3 2024-02-19T15:35:36.297994720+00:00 DEBUG Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> Configuring endpoint 4 2024-02-19T15:35:36.302654720+00:00 DEBUG Matter Button Matter Button device thread event handled 2024-02-19T15:35:36.307804053+00:00 TRACE Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> received unhandled lifecycle event: doConfigure 2024-02-19T15:35:36.312489386+00:00 DEBUG Matter Button Matter Button device thread event handled 2024-02-19T15:35:36.316898053+00:00 DEBUG Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> doConfigure callback did not fail, transitioning device to "PROVISIONED" 2024-02-19T15:35:36.321450053+00:00 TRACE Matter Button Found DeviceLifecycleDispatcher handler in matter-button 2024-02-19T15:35:36.326047720+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>, <InteractionInfoBlock || cluster: Switch, event: InitialPress>, <InteractionInfoBlock || cluster: Switch, event: LongPress>, <InteractionInfoBlock || cluster: Switch, event: ShortRelease>, <InteractionInfoBlock || cluster: Switch, event: MultiPressComplete>]> 2024-02-19T15:35:36.331591386+00:00 DEBUG Matter Button Matter Button device thread event handled 2024-02-19T15:35:36.336024053+00:00 DEBUG Matter Button Matter Button device thread event handled 2024-02-19T15:35:37.089184720+00:00 TRACE Matter Button Received event with handler device_lifecycle 2024-02-19T15:35:37.222656720+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> received lifecycle event: infoChanged 2024-02-19T15:35:37.286452387+00:00 TRACE Matter Button Found DeviceLifecycleDispatcher handler in matter-button 2024-02-19T15:35:37.362940387+00:00 DEBUG Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> 4 momentary switch release endpoints 2024-02-19T15:35:37.441580387+00:00 DEBUG Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> 4 momentary switch long press endpoints 2024-02-19T15:35:37.557114720+00:00 DEBUG Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> 4 momentary switch multi press endpoints 2024-02-19T15:35:37.577231720+00:00 DEBUG Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> sending multi press max read 2024-02-19T15:35:37.587602720+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> sending InteractionRequest: <InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || endpoint: 0x01, cluster: Switch, attribute: MultiPressMax>]> 2024-02-19T15:35:37.597951053+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"main","state":{"value":"pushed"}} 2024-02-19T15:35:37.617179053+00:00 DEBUG Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> sending multi press max read 2024-02-19T15:35:37.627079720+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> sending InteractionRequest: <InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || endpoint: 0x02, cluster: Switch, attribute: MultiPressMax>]> 2024-02-19T15:35:37.638282720+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"button2","state":{"value":"pushed"}} 2024-02-19T15:35:37.664525387+00:00 DEBUG Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> sending multi press max read 2024-02-19T15:35:37.748076387+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> sending InteractionRequest: <InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || endpoint: 0x03, cluster: Switch, attribute: MultiPressMax>]> 2024-02-19T15:35:37.754677720+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"button3","state":{"value":"pushed"}} 2024-02-19T15:35:37.763076387+00:00 DEBUG Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> sending multi press max read 2024-02-19T15:35:37.777834054+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> sending InteractionRequest: <InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || endpoint: 0x04, cluster: Switch, attribute: MultiPressMax>]> 2024-02-19T15:35:37.782986054+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"button4","state":{"value":"pushed"}} 2024-02-19T15:35:37.788020054+00:00 DEBUG Matter Button Matter Button device thread event handled 2024-02-19T15:35:37.793045720+00:00 TRACE Matter Button Received event with handler device_lifecycle 2024-02-19T15:35:37.797448387+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> received lifecycle event: infoChanged 2024-02-19T15:35:37.802302054+00:00 TRACE Matter Button Received event with handler device_lifecycle 2024-02-19T15:35:37.807228387+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> received lifecycle event: doConfigure 2024-02-19T15:35:37.812379720+00:00 TRACE Matter Button Found DeviceLifecycleDispatcher handler in matter-button 2024-02-19T15:35:37.816690387+00:00 DEBUG Matter Button Matter Button device thread event handled 2024-02-19T15:35:37.821745720+00:00 TRACE Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> received unhandled lifecycle event: doConfigure 2024-02-19T15:35:37.826163387+00:00 DEBUG Matter Button Matter Button device thread event handled 2024-02-19T15:35:37.832284720+00:00 DEBUG Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> doConfigure callback did not fail, transitioning device to "PROVISIONED" 2024-02-19T15:35:37.836680720+00:00 DEBUG Matter Button Matter Button device thread event handled 2024-02-19T15:35:38.485613721+00:00 TRACE Matter Button Received event with handler device_lifecycle 2024-02-19T15:35:38.493313721+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> received lifecycle event: infoChanged 2024-02-19T15:35:38.502775387+00:00 TRACE Matter Button Found DeviceLifecycleDispatcher handler in matter-button 2024-02-19T15:35:38.513463387+00:00 DEBUG Matter Button Matter Button device thread event handled 2024-02-19T15:35:38.928026387+00:00 TRACE Matter Button Received event with handler matter 2024-02-19T15:35:38.943664054+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x01, cluster: PowerSource, attribute: BatPercentRemaining, data: Uint8: \xBE>>, <InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x00, cluster: Basic, attribute: SoftwareVersion, data: Uint32: \x00\x03\x02\x00>>]> 2024-02-19T15:35:38.956665054+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button 2024-02-19T15:35:38.964101721+00:00 INFO Matter Button Executing AttributeReportHandler: cluster: PowerSource, attribute: BatPercentRemaining 2024-02-19T15:35:38.968560054+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> emitting event: {"attribute_id":"battery","capability_id":"battery","component_id":"main","state":{"value":95}} 2024-02-19T15:35:38.974126387+00:00 DEBUG Matter Button Matter Button device thread event handled 2024-02-19T15:35:38.978874054+00:00 DEBUG Matter Button Matter Button device thread event handled 2024-02-19T15:35:39.165895054+00:00 TRACE Matter Button Received event with handler matter 2024-02-19T15:35:39.172907054+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x01, cluster: Switch, attribute: MultiPressMax, data: Uint8: \x03>>]> 2024-02-19T15:35:39.288774388+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button 2024-02-19T15:35:39.353624054+00:00 INFO Matter Button Executing AttributeReportHandler: cluster: Switch, attribute: MultiPressMax 2024-02-19T15:35:39.525122054+00:00 DEBUG Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> Device supports 3 presses 2024-02-19T15:35:41.041667722+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"main","state":{"value":["pushed","double","held","pushed_3x"]},"visibility":{"displayed":false}} 2024-02-19T15:35:41.082746388+00:00 DEBUG Matter Button Matter Button device thread event handled 2024-02-19T15:35:41.137187722+00:00 TRACE Matter Button Received event with handler matter 2024-02-19T15:35:41.159948722+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x02, cluster: Switch, attribute: MultiPressMax, data: Uint8: \x03>>]> 2024-02-19T15:35:41.261347389+00:00 TRACE Matter Button Received event with handler matter 2024-02-19T15:35:42.421118722+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x03, cluster: Switch, attribute: MultiPressMax, data: Uint8: \x03>>]> 2024-02-19T15:35:42.442295056+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button 2024-02-19T15:35:42.454876722+00:00 INFO Matter Button Executing AttributeReportHandler: cluster: Switch, attribute: MultiPressMax 2024-02-19T15:35:42.460866722+00:00 DEBUG Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> Device supports 3 presses 2024-02-19T15:35:42.485756722+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button2","state":{"value":["pushed","double","held","pushed_3x"]},"visibility":{"displayed":false}} 2024-02-19T15:35:42.494115389+00:00 DEBUG Matter Button Matter Button device thread event handled 2024-02-19T15:35:42.498678056+00:00 TRACE Matter Button Received event with handler matter 2024-02-19T15:35:42.503299056+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x04, cluster: Switch, attribute: MultiPressMax, data: Uint8: \x03>>]> 2024-02-19T15:35:42.508911722+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button 2024-02-19T15:35:42.513431722+00:00 INFO Matter Button Executing AttributeReportHandler: cluster: Switch, attribute: MultiPressMax 2024-02-19T15:35:42.518172722+00:00 DEBUG Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> Device supports 3 presses 2024-02-19T15:35:42.523339056+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button3","state":{"value":["pushed","double","held","pushed_3x"]},"visibility":{"displayed":false}} 2024-02-19T15:35:42.528219389+00:00 DEBUG Matter Button Matter Button device thread event handled 2024-02-19T15:35:42.533179056+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button 2024-02-19T15:35:42.537565389+00:00 INFO Matter Button Executing AttributeReportHandler: cluster: Switch, attribute: MultiPressMax 2024-02-19T15:35:42.542011722+00:00 DEBUG Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> Device supports 3 presses 2024-02-19T15:35:42.546548056+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button4","state":{"value":["pushed","double","held","pushed_3x"]},"visibility":{"displayed":false}} 2024-02-19T15:35:42.551485056+00:00 DEBUG Matter Button Matter Button device thread event handled
Pressing Button 1:
2024-02-19T15:42:22.603358555+00:00 TRACE Matter Button Received event with handler matter 2024-02-19T15:42:22.612199555+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x002A, <InteractionInfoBlock || endpoint: 0x01, cluster: Switch, event: InitialPress, data: Structure: {new_position: \x01}>>]> 2024-02-19T15:42:22.622420889+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button 2024-02-19T15:42:22.642241222+00:00 INFO Matter Button Executing EventReportHandler: cluster: Switch, event: InitialPress 2024-02-19T15:42:22.646596889+00:00 DEBUG Matter Button Matter Button device thread event handled 2024-02-19T15:42:22.752873889+00:00 TRACE Matter Button Received event with handler matter 2024-02-19T15:42:22.760553889+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x002B, <InteractionInfoBlock || endpoint: 0x01, cluster: Switch, event: ShortRelease, data: Structure: {previous_position: \x01}>>]> 2024-02-19T15:42:22.769791222+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button 2024-02-19T15:42:22.775166889+00:00 INFO Matter Button Executing EventReportHandler: cluster: Switch, event: ShortRelease 2024-02-19T15:42:22.790539889+00:00 DEBUG Matter Button Matter Button device thread event handled 2024-02-19T15:42:23.003208555+00:00 TRACE Matter Button Received event with handler matter 2024-02-19T15:42:23.012924222+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x002C, <InteractionInfoBlock || endpoint: 0x01, cluster: Switch, event: MultiPressComplete, data: Structure: {new_position: \x01, total_number_of_presses_counted: \x01}>>]> 2024-02-19T15:42:23.050156222+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button 2024-02-19T15:42:23.056557889+00:00 INFO Matter Button Executing EventReportHandler: cluster: Switch, event: MultiPressComplete 2024-02-19T15:42:23.061327555+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"main","state":{"value":"pushed"},"state_change":true} 2024-02-19T15:42:23.066195889+00:00 DEBUG Matter Button Matter Button device thread event handled
Button 4:
2024-02-19T15:42:38.473037557+00:00 TRACE Matter Button Received event with handler matter 2024-02-19T15:42:38.480564557+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x002D, <InteractionInfoBlock || endpoint: 0x04, cluster: Switch, event: InitialPress, data: Structure: {new_position: \x01}>>]> 2024-02-19T15:42:38.495322224+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button 2024-02-19T15:42:38.501168891+00:00 INFO Matter Button Executing EventReportHandler: cluster: Switch, event: InitialPress 2024-02-19T15:42:38.544533891+00:00 DEBUG Matter Button Matter Button device thread event handled 2024-02-19T15:42:38.645746224+00:00 TRACE Matter Button Received event with handler matter 2024-02-19T15:42:38.654043224+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x002E, <InteractionInfoBlock || endpoint: 0x04, cluster: Switch, event: ShortRelease, data: Structure: {previous_position: \x01}>>]> 2024-02-19T15:42:38.674049557+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button 2024-02-19T15:42:38.678379557+00:00 INFO Matter Button Executing EventReportHandler: cluster: Switch, event: ShortRelease 2024-02-19T15:42:38.682835891+00:00 DEBUG Matter Button Matter Button device thread event handled 2024-02-19T15:42:38.886007224+00:00 TRACE Matter Button Received event with handler matter 2024-02-19T15:42:38.900794557+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x002F, <InteractionInfoBlock || endpoint: 0x04, cluster: Switch, event: MultiPressComplete, data: Structure: {new_position: \x01, total_number_of_presses_counted: \x01}>>]> 2024-02-19T15:42:38.938163891+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button 2024-02-19T15:42:38.944060891+00:00 INFO Matter Button Executing EventReportHandler: cluster: Switch, event: MultiPressComplete 2024-02-19T15:42:38.951655224+00:00 INFO Matter Button <MatterDevice: a81dfa06-20d3-45eb-a09c-667fd21464c6 [5ECE6C260BF49F1A-D453451F30138D82] (Matter Button)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"button4","state":{"value":"pushed"},"state_change":true} 2024-02-19T15:42:38.956530891+00:00 DEBUG Matter Button Matter Button device thread event handled
After fresh commissioning the device was back to the faulty behavior. I restarted the SmartThings Hub, after restarting it showed the device as offline for a while. Later it was "online" again and everything was working fine.
In an attempt to understand the behavior I deleted and added the device again:
Just to confirm, during the time period the logs were collected, the button presses were not showing up in the app and it was just showing "Ready"?
Yes, the last three Logs were collected in this not correctly displayed state. Button 1 was displaying pressed and a correct history, the other buttons did not. Also the inconsitent UI remained even after a restart.
Besides the restart test, I wanted to Add the Device and just wait for a while, to see if the restart of the hub was key to fixing the issue or just the time duration.
I added the device (wrong behavior, as described above), configured a action to button 4 (pressed it and the action was executed, even though no display in the app) and waited for some time (~3h). After the wait time the status and history is working correctly, so a restart is not required.
I added the device again to see if there is any faster way to fix this. Logs gathered after adding the device: Button 1: Displayd correctly, action working
2024-02-21T12:45:36.974432890+00:00 TRACE Matter Button Received event with handler matter
2024-02-21T12:45:36.985146890+00:00 INFO Matter Button <MatterDevice: 0895db38-8376-4272-9198-e876bf03c995 [5ECE6C260BF49F1A-62018CBB4354E771] (Matter Button)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x007F, <InteractionInfoBlock || endpoint: 0x01, cluster: Switch, event: InitialPress, data: Structure: {new_position: \x01}>>]>
2024-02-21T12:45:36.998235223+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button
2024-02-21T12:45:37.003681557+00:00 INFO Matter Button Executing EventReportHandler: cluster: Switch, event: InitialPress
2024-02-21T12:45:37.015243223+00:00 DEBUG Matter Button Matter Button device thread event handled
2024-02-21T12:45:37.191287557+00:00 TRACE Matter Button Received event with handler matter
2024-02-21T12:45:37.202135890+00:00 INFO Matter Button <MatterDevice: 0895db38-8376-4272-9198-e876bf03c995 [5ECE6C260BF49F1A-62018CBB4354E771] (Matter Button)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x0080, <InteractionInfoBlock || endpoint: 0x01, cluster: Switch, event: ShortRelease, data: Structure: {previous_position: \x01}>>]>
2024-02-21T12:45:37.273100557+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button
2024-02-21T12:45:37.281012890+00:00 INFO Matter Button Executing EventReportHandler: cluster: Switch, event: ShortRelease
2024-02-21T12:45:37.285762890+00:00 DEBUG Matter Button Matter Button device thread event handled
2024-02-21T12:45:37.435011557+00:00 TRACE Matter Button Received event with handler matter
2024-02-21T12:45:37.452376224+00:00 INFO Matter Button <MatterDevice: 0895db38-8376-4272-9198-e876bf03c995 [5ECE6C260BF49F1A-62018CBB4354E771] (Matter Button)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x0081, <InteractionInfoBlock || endpoint: 0x01, cluster: Switch, event: MultiPressComplete, data: Structure: {total_number_of_presses_counted: \x01, new_position: \x01}>>]>
2024-02-21T12:45:37.511885224+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button
2024-02-21T12:45:37.523057224+00:00 INFO Matter Button Executing EventReportHandler: cluster: Switch, event: MultiPressComplete
2024-02-21T12:45:37.555629557+00:00 INFO Matter Button <MatterDevice: 0895db38-8376-4272-9198-e876bf03c995 [5ECE6C260BF49F1A-62018CBB4354E771] (Matter Button)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"main","state":{"value":"pushed"},"state_change":true}
2024-02-21T12:45:37.572020890+00:00 DEBUG Matter Button Matter Button device thread event handled
Button 2, action working, but not displayed:
2024-02-21T12:45:37.572020890+00:00 DEBUG Matter Button Matter Button device thread event handled
2024-02-21T12:47:01.798584597+00:00 TRACE Matter Button Received event with handler matter
2024-02-21T12:47:01.804974930+00:00 INFO Matter Button <MatterDevice: 0895db38-8376-4272-9198-e876bf03c995 [5ECE6C260BF49F1A-62018CBB4354E771] (Matter Button)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x0082, <InteractionInfoBlock || endpoint: 0x02, cluster: Switch, event: InitialPress, data: Structure: {new_position: \x01}>>]>
2024-02-21T12:47:01.809925930+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button
2024-02-21T12:47:01.814329930+00:00 INFO Matter Button Executing EventReportHandler: cluster: Switch, event: InitialPress
2024-02-21T12:47:01.873129597+00:00 DEBUG Matter Button Matter Button device thread event handled
2024-02-21T12:47:02.033226264+00:00 TRACE Matter Button Received event with handler matter
2024-02-21T12:47:02.043608597+00:00 INFO Matter Button <MatterDevice: 0895db38-8376-4272-9198-e876bf03c995 [5ECE6C260BF49F1A-62018CBB4354E771] (Matter Button)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x0083, <InteractionInfoBlock || endpoint: 0x02, cluster: Switch, event: ShortRelease, data: Structure: {previous_position: \x01}>>]>
2024-02-21T12:47:02.064027597+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button
2024-02-21T12:47:02.068371264+00:00 INFO Matter Button Executing EventReportHandler: cluster: Switch, event: ShortRelease
2024-02-21T12:47:02.077177597+00:00 DEBUG Matter Button Matter Button device thread event handled
2024-02-21T12:47:02.262345597+00:00 TRACE Matter Button Received event with handler matter
2024-02-21T12:47:02.273546264+00:00 INFO Matter Button <MatterDevice: 0895db38-8376-4272-9198-e876bf03c995 [5ECE6C260BF49F1A-62018CBB4354E771] (Matter Button)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x0084, <InteractionInfoBlock || endpoint: 0x02, cluster: Switch, event: MultiPressComplete, data: Structure: {total_number_of_presses_counted: \x01, new_position: \x01}>>]>
2024-02-21T12:47:02.337589264+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button
2024-02-21T12:47:02.366002931+00:00 INFO Matter Button Executing EventReportHandler: cluster: Switch, event: MultiPressComplete
2024-02-21T12:47:02.375624597+00:00 INFO Matter Button <MatterDevice: 0895db38-8376-4272-9198-e876bf03c995 [5ECE6C260BF49F1A-62018CBB4354E771] (Matter Button)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"button2","state":{"value":"pushed"},"state_change":true}
2024-02-21T12:47:02.384561931+00:00 DEBUG Matter Button Matter Button device thread event handled
10 minutes later Button 2 was displayed correctly in the App (Action continues to work)
2024-02-21T12:56:49.488588303+00:00 TRACE Matter Button Received event with handler matter
2024-02-21T12:56:49.563575637+00:00 INFO Matter Button <MatterDevice: 0895db38-8376-4272-9198-e876bf03c995 [5ECE6C260BF49F1A-62018CBB4354E771] (Matter Button)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x0094, <InteractionInfoBlock || endpoint: 0x02, cluster: Switch, event: InitialPress, data: Structure: {new_position: \x01}>>]>
2024-02-21T12:56:49.641115637+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button
2024-02-21T12:56:49.724131637+00:00 INFO Matter Button Executing EventReportHandler: cluster: Switch, event: InitialPress
2024-02-21T12:56:49.745087970+00:00 DEBUG Matter Button Matter Button device thread event handled
2024-02-21T12:56:49.778266637+00:00 TRACE Matter Button Received event with handler matter
2024-02-21T12:56:49.862748970+00:00 INFO Matter Button <MatterDevice: 0895db38-8376-4272-9198-e876bf03c995 [5ECE6C260BF49F1A-62018CBB4354E771] (Matter Button)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x0095, <InteractionInfoBlock || endpoint: 0x02, cluster: Switch, event: ShortRelease, data: Structure: {previous_position: \x01}>>]>
2024-02-21T12:56:50.038923304+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button
2024-02-21T12:56:50.106290304+00:00 INFO Matter Button Executing EventReportHandler: cluster: Switch, event: ShortRelease
2024-02-21T12:56:50.139338304+00:00 DEBUG Matter Button Matter Button device thread event handled
2024-02-21T12:56:50.229534637+00:00 TRACE Matter Button Received event with handler matter
2024-02-21T12:56:50.274368971+00:00 INFO Matter Button <MatterDevice: 0895db38-8376-4272-9198-e876bf03c995 [5ECE6C260BF49F1A-62018CBB4354E771] (Matter Button)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x0096, <InteractionInfoBlock || endpoint: 0x02, cluster: Switch, event: MultiPressComplete, data: Structure: {total_number_of_presses_counted: \x01, new_position: \x01}>>]>
2024-02-21T12:56:50.314119637+00:00 TRACE Matter Button Found MatterMessageDispatcher handler in matter-button
2024-02-21T12:56:50.332597637+00:00 INFO Matter Button Executing EventReportHandler: cluster: Switch, event: MultiPressComplete
2024-02-21T12:56:50.341859971+00:00 INFO Matter Button <MatterDevice: 0895db38-8376-4272-9198-e876bf03c995 [5ECE6C260BF49F1A-62018CBB4354E771] (Matter Button)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"button2","state":{"value":"pushed"},"state_change":true}
2024-02-21T12:56:50.353719971+00:00 DEBUG Matter Button Matter Button device thread event handled
@ldoering FYI I'm able to reproduce this locally but still debugging to figure out exactly what's going on.
@ldoering FYI I'm able to reproduce this locally but still debugging to figure out exactly what's going on.
Hello @tpmanley, I also see this issue on my testing: only button 1 can show correct action and receive button event from device, the button 2, 3, 4 show extra actions which I only define "Pressed" for those endpoint, and cannot receive any button event. This issue happen in Matter Button Driver version 2024-02-20T22:10:14.878650416, with previous version, everthing works fine. Do you have any update on this issue? Thanks.
After adding a Matter 4 Button Device to SmartThings, it gets displayed correctly with 4 buttons ("Main", "Button2","Button3","Button 4"). Power is also correctly displayed. Configuring the buttons worked fine and the action was run successfully. I only tested the "Pressed" action.
History: (buttons 2-4 were pressed as well)
Config for button 1/main: Config for button 2 (3-4 are identical)