Aqara H2 EU 1 gang and 2 gang Matter Thread switches now on UK Aqara site

The Aqara 1 gang and 2 gang wall switch (Thread + Matter / zigbee) is now available on their uk website. It supports neutral and no neutral.
20 percent off during January with Code AQARAUKJAN, needed though because the 2 channel variation is £45 which is expensive. If anyone has one I’d like to know the precise in wall depth of it to see if it would fit my shallow boxes.

Interesting that there are 2 buttons per channel but only one relay, does anyone know if you can make one button toggle the light and use the other for some other automation? If not what’s the point in having 2 separate buttons for one channel.

https://www.aqara-shop.co.uk/product/aqara-light-switch-h2-eu/

2 Likes

Interesting, default mode is Matter over Thread, if you want to switch to Zigbee you need Aqara Home (and presumably the Aqara hub, or maybe they use bluetooth for that, not clear).

Quoting Aqara H2 EU page:

Wireless Switch Mode enhances flexibility in home automation by offering users two distinct control options for the lower button: Single-Press Mode for fast automation, and Multi-Function Mode, enabling single, double, and long press for greater customisation. This feature allows users to personalise their switch functions easily, aligning with their unique automation preferences.

It’s not really clear how that works though or if it needs the Aqara Home app to set things up. The information on the site contradicts itself.

Toggling between modes will no doubt require Aqara Home app, the thing is, will it require the Aqara hub too to configure it? Technically it would not be needed, but we know what happened with the Aqara P2 door sensor or motion sensor that can’t be added to Aqara Home even if it’s connected to your network so you can’t configure any setting.

2 Likes

What we know is, that the edge driver has no preferences at all…

1 Like

Yeah, I read that. But I thought I’d previously read somewhere that wireless switch mode was for when you had smart bulbs attached to the switch, I will have dumb bulbs. I may have mis-remembered that though.

I thought the same. I suspect the term is used that way by other manufacturers and I’ve read it in the last few days. It looks like the Aqara has Relay Lock on/Decouple Switch Mode, which seems like it might require Zigbee, neutral wiring and the Aqara Home app.

1 Like

Just ordered one. We’ll see…

My understanding, since it has two buttons, is that one should be the on/off switch like every smart switch and the other the momentary switch to run automations / control scenes.

If the on/off controls the relay or is detached should not affect the lower “wireless switch”, probably called that way since it’s not connected to anything, it’s just a smart button.

The site also states that the upper button can be converted from switch to wireless switch, so you can use the device as just two smart buttons instead of a switch + smart button.

- Two of each of the four switchs have On/Off Light(0x0100) and Generic Switch(0x000F) device types.
- The other two switches have a Generic Switch(0x000F) device type.
- The root node has Electrical Sensor(0x0510) utility device type.
1 Like

So it’s confirmed, on/off + smart button by default. And, optionally, according to the Aqara site, both smart buttons.

1 Like

I just hope that it can be configured via Bluetooth…

1 Like

Someone has to write a Zigbee driver…

I’m going in…

If you don’t hear back from me in ten hours, call 911 and tell them that Aqara sucks.

But first things first:

Driver is in main, not production yet.

4 Likes

Excellent, I’ll need to find out if that fits mine, if so it will be very tight. Thanks for measuring :+1:

2 Likes

Looks deeper than my current Tapo S220 and the box is cramped already. Going to test it with a stripped cable first. I’ll reset it countless times anyway…

Three devices:

Buttons:

Light 1:

Light 2:

Logs:

2025-01-23T14:15:55.652748383Z TRACE Matter Switch  Received event with handler device_lifecycle
2025-01-23T14:15:55.656678508Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> received lifecycle event: added
2025-01-23T14:15:55.674723466Z TRACE Matter Switch  Found DeviceLifecycleDispatcher handler in matter-switch
2025-01-23T14:15:55.675952508Z WARN Matter Switch  Alias: SwitchFeature => Feature
2025-01-23T14:15:55.677344674Z WARN Matter Switch  Alias: SwitchFeature => Feature
2025-01-23T14:15:55.705727591Z WARN Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> The main switch endpoint does not contain a supported device type for a component configuration with buttons
2025-01-23T14:15:55.733487758Z WARN Matter Switch  Alias: PowerSourceFeature => Feature
2025-01-23T14:15:55.750267008Z WARN Matter Switch  Alias: SwitchFeature => Feature
2025-01-23T14:15:55.751847466Z WARN Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> The main switch endpoint does not contain a supported device type for a component configuration with buttons
2025-01-23T14:15:55.757125174Z WARN Matter Switch  Device does not support cluster 0x002F not adding subscribed attribute
2025-01-23T14:15:55.765189883Z WARN Matter Switch  Device does not support cluster 0x002F not adding subscribed attribute
2025-01-23T14:15:55.773820299Z WARN Matter Switch  Device does not support cluster 0x002F not adding subscribed attribute
2025-01-23T14:15:55.786447216Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: ElectricalPowerMeasurement, attribute: ActivePower>, <InteractionInfoBlock || cluster: ElectricalEnergyMeasurement, attribute: CumulativeEnergyImported>, <InteractionInfoBlock || cluster: ElectricalEnergyMeasurement, attribute: PeriodicEnergyImported>, <InteractionInfoBlock || cluster: OnOff, attribute: OnOff>, <InteractionInfoBlock || cluster: Switch, event: InitialPress>, <InteractionInfoBlock || cluster: Switch, event: LongPress>, <InteractionInfoBlock || cluster: Switch, event: ShortRelease>, <InteractionInfoBlock || cluster: Switch, event: MultiPressComplete>]>
2025-01-23T14:15:55.824926299Z DEBUG Matter Switch  Aqara Smart Wall Switch device thread event handled
2025-01-23T14:15:55.826628383Z TRACE Matter Switch  Received event with handler device_lifecycle
2025-01-23T14:15:55.835277383Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> received lifecycle event: doConfigure
2025-01-23T14:15:55.852036216Z TRACE Matter Switch  Found DeviceLifecycleDispatcher handler in matter-switch
2025-01-23T14:15:55.867730633Z WARN Matter Switch  Alias: SwitchFeature => Feature
2025-01-23T14:15:55.872241299Z WARN Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> The main switch endpoint does not contain a supported device type for a component configuration with buttons
2025-01-23T14:15:55.881663258Z WARN Matter Switch  Device does not support cluster 0x002F not adding subscribed attribute
2025-01-23T14:15:55.889812299Z WARN Matter Switch  Device does not support cluster 0x002F not adding subscribed attribute
2025-01-23T14:15:55.898759341Z WARN Matter Switch  Device does not support cluster 0x002F not adding subscribed attribute
2025-01-23T14:15:55.912449133Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: ElectricalPowerMeasurement, attribute: ActivePower>, <InteractionInfoBlock || cluster: ElectricalEnergyMeasurement, attribute: CumulativeEnergyImported>, <InteractionInfoBlock || cluster: ElectricalEnergyMeasurement, attribute: PeriodicEnergyImported>, <InteractionInfoBlock || cluster: OnOff, attribute: OnOff>, <InteractionInfoBlock || cluster: Switch, event: InitialPress>, <InteractionInfoBlock || cluster: Switch, event: LongPress>, <InteractionInfoBlock || cluster: Switch, event: ShortRelease>, <InteractionInfoBlock || cluster: Switch, event: MultiPressComplete>]>
2025-01-23T14:15:55.925240883Z DEBUG Matter Switch  Aqara Smart Wall Switch device thread event handled
2025-01-23T14:15:55.926424799Z TRACE Matter Switch  Received event with handler driver_lifecycle
2025-01-23T14:15:55.933828716Z INFO Matter Switch  received driver startupState: {"hub_zigbee_id":"KG2XAAILh00=","hub_node_id":1,"hub_ipv4":"192.168.1.116"}
2025-01-23T14:15:55.946299091Z TRACE Matter Switch  Found DeviceLifecycleDispatcher handler in matter-switch
2025-01-23T14:15:55.947515258Z DEBUG Matter Switch  Aqara Smart Wall Switch device thread event handled
2025-01-23T14:15:55.956640341Z DEBUG Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> doConfigure callback did not fail, transitioning device to "PROVISIONED"
2025-01-23T14:15:55.973853674Z DEBUG Matter Switch  Aqara Smart Wall Switch device thread event handled
2025-01-23T14:15:56.117571258Z TRACE Matter Switch  Received event with handler matter
2025-01-23T14:15:56.237994799Z WARN Matter Switch  matter-switch encountered error: [string "st/matter/generated/zap_clusters/ElectricalEn..."]:95: bad argument #1 to 'for iterator' (table expected, got nil)
2025-01-23T14:15:56.545454549Z TRACE Matter Switch  Received event with handler device_lifecycle
2025-01-23T14:15:56.546663966Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> received lifecycle event: infoChanged
2025-01-23T14:15:56.651747966Z TRACE Matter Switch  Found DeviceLifecycleDispatcher handler in matter-switch
2025-01-23T14:15:56.655084133Z DEBUG Matter Switch  Aqara Smart Wall Switch device thread event handled
2025-01-23T14:15:57.365481216Z TRACE Matter Switch  Received event with handler device_lifecycle
2025-01-23T14:15:57.477482633Z INFO Matter Switch  <MatterChildDevice: 44e4e443-e585-4ef6-9986-f928c0600beb [bcaff954-55e0-418b-bfb0-ae6340e8a5ed] (Aqara Smart Wall Switch 2)> received lifecycle event: added
2025-01-23T14:15:57.561864050Z TRACE Matter Switch  Received event with handler device_lifecycle
2025-01-23T14:15:57.565374591Z INFO Matter Switch  <MatterChildDevice: 44e4e443-e585-4ef6-9986-f928c0600beb [bcaff954-55e0-418b-bfb0-ae6340e8a5ed] (Aqara Smart Wall Switch 2)> received lifecycle event: doConfigure
2025-01-23T14:15:57.612403966Z WARN Matter Switch  Encountered error calling can_handle for dispatcher defaulting to false: [string "aqara-cube/init.lua"]:22: attempt to index a nil value (field 'manufacturer_info')
2025-01-23T14:15:57.615502841Z TRACE Matter Switch  Found DeviceLifecycleDispatcher handler in matter-switch
2025-01-23T14:15:57.618668008Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> sending InteractionRequest: <InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: OnOff, attribute: OnOff>]>
2025-01-23T14:15:57.710324341Z DEBUG Matter Switch  Aqara Smart Wall Switch 2 device thread event handled
2025-01-23T14:15:57.716881883Z DEBUG Matter Switch  <MatterChildDevice: 44e4e443-e585-4ef6-9986-f928c0600beb [bcaff954-55e0-418b-bfb0-ae6340e8a5ed] (Aqara Smart Wall Switch 2)> added callback did not fail, executing init handler
2025-01-23T14:15:57.719654425Z WARN Matter Switch  Encountered error calling can_handle for dispatcher defaulting to false: [string "aqara-cube/init.lua"]:22: attempt to index a nil value (field 'manufacturer_info')
2025-01-23T14:15:57.721588508Z TRACE Matter Switch  Found DeviceLifecycleDispatcher handler in matter-switch
2025-01-23T14:15:57.723040716Z TRACE Matter Switch  Received event with handler device_lifecycle
2025-01-23T14:15:57.813954008Z INFO Matter Switch  <MatterChildDevice: c03367b9-a3d7-47e9-967d-f3f524992f64 [19953c58-3e28-4aea-8b88-d998a1c48774] (Aqara Smart Wall Switch 1)> received lifecycle event: added
2025-01-23T14:15:57.909913550Z WARN Matter Switch  Encountered error calling can_handle for dispatcher defaulting to false: [string "aqara-cube/init.lua"]:22: attempt to index a nil value (field 'manufacturer_info')
2025-01-23T14:15:57.919529008Z TRACE Matter Switch  Found DeviceLifecycleDispatcher handler in matter-switch
2025-01-23T14:15:57.921025841Z DEBUG Matter Switch  Aqara Smart Wall Switch 2 device thread event handled
2025-01-23T14:15:57.922549008Z DEBUG Matter Switch  <MatterChildDevice: 44e4e443-e585-4ef6-9986-f928c0600beb [bcaff954-55e0-418b-bfb0-ae6340e8a5ed] (Aqara Smart Wall Switch 2)> doConfigure callback did not fail, transitioning device to "PROVISIONED"
2025-01-23T14:15:57.925612425Z TRACE Matter Switch  Received event with handler device_lifecycle
2025-01-23T14:15:57.926895466Z INFO Matter Switch  <MatterChildDevice: c03367b9-a3d7-47e9-967d-f3f524992f64 [19953c58-3e28-4aea-8b88-d998a1c48774] (Aqara Smart Wall Switch 1)> received lifecycle event: doConfigure
2025-01-23T14:15:58.082785258Z DEBUG Matter Switch  Aqara Smart Wall Switch 2 device thread event handled
2025-01-23T14:15:58.088271175Z WARN Matter Switch  Encountered error calling can_handle for dispatcher defaulting to false: [string "aqara-cube/init.lua"]:22: attempt to index a nil value (field 'manufacturer_info')
2025-01-23T14:15:58.092234258Z TRACE Matter Switch  Found DeviceLifecycleDispatcher handler in matter-switch
2025-01-23T14:15:58.093628341Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> sending InteractionRequest: <InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: OnOff, attribute: OnOff>]>
2025-01-23T14:15:58.166544466Z INFO Matter Switch  <MatterChildDevice: c03367b9-a3d7-47e9-967d-f3f524992f64 [19953c58-3e28-4aea-8b88-d998a1c48774] (Aqara Smart Wall Switch 1)> emitting event: {"attribute_id":"power","capability_id":"powerMeter","component_id":"main","state":{"unit":"W","value":0.0}}
2025-01-23T14:15:58.343194258Z INFO Matter Switch  <MatterChildDevice: c03367b9-a3d7-47e9-967d-f3f524992f64 [19953c58-3e28-4aea-8b88-d998a1c48774] (Aqara Smart Wall Switch 1)> emitting event: {"attribute_id":"energy","capability_id":"energyMeter","component_id":"main","state":{"unit":"Wh","value":0.0}}
2025-01-23T14:15:58.626823008Z DEBUG Matter Switch  Aqara Smart Wall Switch 1 device thread event handled
2025-01-23T14:15:58.632696883Z DEBUG Matter Switch  <MatterChildDevice: c03367b9-a3d7-47e9-967d-f3f524992f64 [19953c58-3e28-4aea-8b88-d998a1c48774] (Aqara Smart Wall Switch 1)> added callback did not fail, executing init handler
2025-01-23T14:15:58.636692800Z WARN Matter Switch  Encountered error calling can_handle for dispatcher defaulting to false: [string "aqara-cube/init.lua"]:22: attempt to index a nil value (field 'manufacturer_info')
2025-01-23T14:15:58.638466758Z TRACE Matter Switch  Found DeviceLifecycleDispatcher handler in matter-switch
2025-01-23T14:15:58.640367091Z TRACE Matter Switch  Received event with handler matter
2025-01-23T14:15:58.645548091Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x01, cluster: OnOff, attribute: OnOff, data: Boolean: false>>, <InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x02, cluster: OnOff, attribute: OnOff, data: Boolean: false>>, <InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || cluster: OnOff, attribute: OnOff>>]>
2025-01-23T14:15:59.465521508Z TRACE Matter Switch  Found MatterMessageDispatcher handler in matter-switch
2025-01-23T14:15:59.606784300Z INFO Matter Switch  Executing AttributeReportHandler: cluster: OnOff, attribute: OnOff
2025-01-23T14:15:59.927172717Z INFO Matter Switch  <MatterChildDevice: c03367b9-a3d7-47e9-967d-f3f524992f64 [19953c58-3e28-4aea-8b88-d998a1c48774] (Aqara Smart Wall Switch 1)> emitting event: {"attribute_id":"switch","capability_id":"switch","component_id":"main","state":{"value":"off"}}
2025-01-23T14:16:00.141099425Z DEBUG Matter Switch  Aqara Smart Wall Switch device thread event handled
2025-01-23T14:16:00.165715467Z WARN Matter Switch  Encountered error calling can_handle for dispatcher defaulting to false: [string "aqara-cube/init.lua"]:22: attempt to index a nil value (field 'manufacturer_info')
2025-01-23T14:16:00.295788050Z TRACE Matter Switch  Found DeviceLifecycleDispatcher handler in matter-switch
2025-01-23T14:16:00.395154425Z DEBUG Matter Switch  Aqara Smart Wall Switch 1 device thread event handled
2025-01-23T14:16:00.396493925Z DEBUG Matter Switch  <MatterChildDevice: c03367b9-a3d7-47e9-967d-f3f524992f64 [19953c58-3e28-4aea-8b88-d998a1c48774] (Aqara Smart Wall Switch 1)> doConfigure callback did not fail, transitioning device to "PROVISIONED"
2025-01-23T14:16:00.398064133Z TRACE Matter Switch  Received event with handler device_lifecycle
2025-01-23T14:16:00.399435967Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> received lifecycle event: infoChanged
2025-01-23T14:16:00.615152592Z TRACE Matter Switch  Found MatterMessageDispatcher handler in matter-switch
2025-01-23T14:16:00.625193675Z INFO Matter Switch  Executing AttributeReportHandler: cluster: OnOff, attribute: OnOff
2025-01-23T14:16:00.640935425Z INFO Matter Switch  <MatterChildDevice: 44e4e443-e585-4ef6-9986-f928c0600beb [bcaff954-55e0-418b-bfb0-ae6340e8a5ed] (Aqara Smart Wall Switch 2)> emitting event: {"attribute_id":"switch","capability_id":"switch","component_id":"main","state":{"value":"off"}}
2025-01-23T14:16:00.696301800Z DEBUG Matter Switch  Aqara Smart Wall Switch device thread event handled
2025-01-23T14:16:00.744448842Z DEBUG Matter Switch  Aqara Smart Wall Switch 1 device thread event handled
2025-01-23T14:16:00.747344258Z TRACE Matter Switch  Received event with handler device_lifecycle
2025-01-23T14:16:00.749692383Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> received lifecycle event: doConfigure
2025-01-23T14:16:00.776753008Z INFO Matter Switch  Fallback handler for <InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || cluster: OnOff, attribute: OnOff>>
2025-01-23T14:16:00.778137758Z DEBUG Matter Switch  Aqara Smart Wall Switch device thread event handled
2025-01-23T14:16:00.779657800Z TRACE Matter Switch  Received event with handler matter
2025-01-23T14:16:00.781103800Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x01, cluster: OnOff, attribute: OnOff, data: Boolean: false>>, <InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x02, cluster: OnOff, attribute: OnOff, data: Boolean: false>>, <InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || cluster: OnOff, attribute: OnOff>>]>
2025-01-23T14:16:00.807890467Z TRACE Matter Switch  Found DeviceLifecycleDispatcher handler in matter-switch
2025-01-23T14:16:00.825102467Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: ElectricalPowerMeasurement, attribute: ActivePower>, <InteractionInfoBlock || cluster: ElectricalEnergyMeasurement, attribute: CumulativeEnergyImported>, <InteractionInfoBlock || cluster: ElectricalEnergyMeasurement, attribute: PeriodicEnergyImported>, <InteractionInfoBlock || cluster: OnOff, attribute: OnOff>, <InteractionInfoBlock || cluster: Switch, event: InitialPress>, <InteractionInfoBlock || cluster: Switch, event: LongPress>, <InteractionInfoBlock || cluster: Switch, event: ShortRelease>, <InteractionInfoBlock || cluster: Switch, event: MultiPressComplete>]>
2025-01-23T14:16:00.841698758Z WARN Matter Switch  Alias: SwitchFeature => Feature
2025-01-23T14:16:00.842599258Z WARN Matter Switch  Alias: SwitchFeature => Feature
2025-01-23T14:16:00.851866717Z DEBUG Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> 0 momentary switch release endpoints
2025-01-23T14:16:00.853345925Z WARN Matter Switch  Alias: SwitchFeature => Feature
2025-01-23T14:16:00.899898883Z DEBUG Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> 0 momentary switch long press endpoints
2025-01-23T14:16:00.901264175Z WARN Matter Switch  Alias: SwitchFeature => Feature
2025-01-23T14:16:00.902753425Z DEBUG Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> 0 momentary switch multi press endpoints
2025-01-23T14:16:00.915313008Z DEBUG Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> configuring for press event only
2025-01-23T14:16:00.955312508Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"main","state":{"value":["pushed"]},"visibility":{"displayed":false}}
2025-01-23T14:16:01.461965467Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"main","state":{"value":"pushed"}}
2025-01-23T14:16:01.552328967Z DEBUG Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> configuring for press event only
2025-01-23T14:16:01.640694633Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button2","state":{"value":["pushed"]},"visibility":{"displayed":false}}
2025-01-23T14:16:01.787270967Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"button2","state":{"value":"pushed"}}
2025-01-23T14:16:01.857391467Z DEBUG Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> configuring for press event only
2025-01-23T14:16:01.864875758Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button3","state":{"value":["pushed"]},"visibility":{"displayed":false}}
2025-01-23T14:16:01.890288800Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"button3","state":{"value":"pushed"}}
2025-01-23T14:16:01.912426217Z DEBUG Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> configuring for press event only
2025-01-23T14:16:01.919556467Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> emitting event: {"attribute_id":"supportedButtonValues","capability_id":"button","component_id":"button4","state":{"value":["pushed"]},"visibility":{"displayed":false}}
2025-01-23T14:16:01.945088883Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"button4","state":{"value":"pushed"}}
2025-01-23T14:16:01.973574258Z DEBUG Matter Switch  Aqara Smart Wall Switch device thread event handled
2025-01-23T14:16:01.974976633Z TRACE Matter Switch  Received event with handler device_lifecycle
2025-01-23T14:16:01.976389258Z INFO Matter Switch  <MatterChildDevice: 44e4e443-e585-4ef6-9986-f928c0600beb [bcaff954-55e0-418b-bfb0-ae6340e8a5ed] (Aqara Smart Wall Switch 2)> received lifecycle event: infoChanged
2025-01-23T14:16:01.995489550Z TRACE Matter Switch  Found DeviceLifecycleDispatcher handler in matter-switch
2025-01-23T14:16:01.996771050Z DEBUG Matter Switch  Aqara Smart Wall Switch device thread event handled
2025-01-23T14:16:01.998260925Z DEBUG Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> doConfigure callback did not fail, transitioning device to "PROVISIONED"
2025-01-23T14:16:01.999865967Z WARN Matter Switch  Encountered error calling can_handle for dispatcher defaulting to false: [string "aqara-cube/init.lua"]:22: attempt to index a nil value (field 'manufacturer_info')
2025-01-23T14:16:02.001379967Z TRACE Matter Switch  Found DeviceLifecycleDispatcher handler in matter-switch
2025-01-23T14:16:02.002880383Z DEBUG Matter Switch  Aqara Smart Wall Switch 2 device thread event handled
2025-01-23T14:16:02.004420842Z TRACE Matter Switch  Received event with handler matter
2025-01-23T14:16:02.005829925Z WARN Matter Switch  matter-switch encountered error: [string "st/matter/generated/zap_clusters/ElectricalEn..."]:95: bad argument #1 to 'for iterator' (table expected, got nil)
2025-01-23T14:16:02.019517633Z TRACE Matter Switch  Found MatterMessageDispatcher handler in matter-switch
2025-01-23T14:16:02.020704842Z INFO Matter Switch  Executing AttributeReportHandler: cluster: OnOff, attribute: OnOff
2025-01-23T14:16:02.026990258Z INFO Matter Switch  <MatterChildDevice: c03367b9-a3d7-47e9-967d-f3f524992f64 [19953c58-3e28-4aea-8b88-d998a1c48774] (Aqara Smart Wall Switch 1)> emitting event: {"attribute_id":"switch","capability_id":"switch","component_id":"main","state":{"value":"off"}}
2025-01-23T14:16:02.045374092Z DEBUG Matter Switch  Aqara Smart Wall Switch device thread event handled
2025-01-23T14:16:02.046572800Z TRACE Matter Switch  Received event with handler device_lifecycle
2025-01-23T14:16:02.047934925Z INFO Matter Switch  <MatterChildDevice: c03367b9-a3d7-47e9-967d-f3f524992f64 [19953c58-3e28-4aea-8b88-d998a1c48774] (Aqara Smart Wall Switch 1)> received lifecycle event: infoChanged
2025-01-23T14:16:02.061362217Z TRACE Matter Switch  Found MatterMessageDispatcher handler in matter-switch
2025-01-23T14:16:02.065488800Z INFO Matter Switch  Executing AttributeReportHandler: cluster: OnOff, attribute: OnOff
2025-01-23T14:16:02.071819675Z INFO Matter Switch  <MatterChildDevice: 44e4e443-e585-4ef6-9986-f928c0600beb [bcaff954-55e0-418b-bfb0-ae6340e8a5ed] (Aqara Smart Wall Switch 2)> emitting event: {"attribute_id":"switch","capability_id":"switch","component_id":"main","state":{"value":"off"}}
2025-01-23T14:16:02.089524467Z DEBUG Matter Switch  Aqara Smart Wall Switch device thread event handled
2025-01-23T14:16:02.090936717Z WARN Matter Switch  Encountered error calling can_handle for dispatcher defaulting to false: [string "aqara-cube/init.lua"]:22: attempt to index a nil value (field 'manufacturer_info')
2025-01-23T14:16:02.092430425Z TRACE Matter Switch  Found DeviceLifecycleDispatcher handler in matter-switch
2025-01-23T14:16:02.093782425Z DEBUG Matter Switch  Aqara Smart Wall Switch 1 device thread event handled
2025-01-23T14:16:02.102351300Z INFO Matter Switch  Fallback handler for <InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || cluster: OnOff, attribute: OnOff>>
2025-01-23T14:16:02.103956842Z DEBUG Matter Switch  Aqara Smart Wall Switch device thread event handled
2025-01-23T14:16:02.127404633Z DEBUG Matter Switch  Aqara Smart Wall Switch device thread event handled

2025-01-23T14:18:00.982830523Z TRACE Matter Switch  Received event with handler device_lifecycle
2025-01-23T14:18:01.063313939Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> received lifecycle event: infoChanged
2025-01-23T14:18:01.256720856Z TRACE Matter Switch  Found DeviceLifecycleDispatcher handler in matter-switch
2025-01-23T14:18:01.266055106Z DEBUG Matter Switch  Aqara Smart Wall Switch device thread event handled

2 Likes

Thanks for the measurements indeed.

Even though it doesn’t support double-tap by default, what happens if you double tap the button? Will it report the two single presses even if they’re fast or will it “ignore” the second one? And for a triple tap?

1 Like

Single, double:

2025-01-23T14:51:50.775910597Z TRACE Matter Switch  Received event with handler matter
2025-01-23T14:51:50.779397931Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x80009, <InteractionInfoBlock || endpoint: 0x05, cluster: Switch, event: InitialPress, data: Structure: {Uint8: \x01}>>]>
2025-01-23T14:51:50.805198139Z TRACE Matter Switch  Found MatterMessageDispatcher handler in matter-switch
2025-01-23T14:51:50.806413431Z INFO Matter Switch  Executing EventReportHandler: cluster: Switch, event: InitialPress
2025-01-23T14:51:50.812548347Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"button2","state":{"value":"pushed"},"state_change":true}
2025-01-23T14:51:50.835719222Z DEBUG Matter Switch  Aqara Smart Wall Switch device thread event handled




2025-01-23T14:52:21.100094851Z TRACE Matter Switch  Received event with handler matter
2025-01-23T14:52:21.101482143Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x8000A, <InteractionInfoBlock || endpoint: 0x05, cluster: Switch, event: InitialPress, data: Structure: {Uint8: \x01}>>]>
2025-01-23T14:52:21.125386726Z TRACE Matter Switch  Found MatterMessageDispatcher handler in matter-switch
2025-01-23T14:52:21.128502893Z INFO Matter Switch  Executing EventReportHandler: cluster: Switch, event: InitialPress
2025-01-23T14:52:21.136731893Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"button2","state":{"value":"pushed"},"state_change":true}
2025-01-23T14:52:21.155632726Z DEBUG Matter Switch  Aqara Smart Wall Switch device thread event handled
2025-01-23T14:52:21.353583268Z TRACE Matter Switch  Received event with handler matter
2025-01-23T14:52:21.356585934Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0x8000B, <InteractionInfoBlock || endpoint: 0x05, cluster: Switch, event: InitialPress, data: Structure: {Uint8: \x01}>>]>
2025-01-23T14:52:21.370598518Z TRACE Matter Switch  Found MatterMessageDispatcher handler in matter-switch
2025-01-23T14:52:21.373739434Z INFO Matter Switch  Executing EventReportHandler: cluster: Switch, event: InitialPress
2025-01-23T14:52:21.382042018Z INFO Matter Switch  <MatterDevice: 06ff4504-a74a-4a51-82ae-00ca53d969cc [DA7D3F61B120BF52-8438D4ED89EFA3B0] (Aqara Smart Wall Switch)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"button2","state":{"value":"pushed"},"state_change":true}
2025-01-23T14:52:21.401535809Z DEBUG Matter Switch  Aqara Smart Wall Switch device thread event handled

“pushed”. Good enough for me.

1 Like

Great, it reports both presses. Then it’s possible to software emulate the multi-tap even in case it wasn’t possible to configure the double tap in Aqara Home.

1 Like

Reminds me that I should add the switch to the Aqara Home app at least once to see what’s possible. Maybe it works like the Nanoleaf stuff where it’s possible to configure the devices via Bluetooth.

1 Like

Just checked the depth of my existing yagusmart switch. It’s about 25mm and is a very tight fit. I don’t the the Aqara will fit unless I use a spacer. Not sure I want to use a spacer though :thinking:

1 Like