Device Handler for Aqara 2 Gang Wired Wall Switch no Neutral

Hi @mwtay84 and @mariusry

When the switch is in normal mode pressing the switch sends 2 messages to the hub. The first indicates whether the switch is on or off. The second is stateless, like a button, which indicates that it has been pressed. In newer switches it can also indicate whether the button has been simply pressed, double pressed, held, etc.

In decoupled mode only the second of these messages is sent to the hub and pressing the switch does not cause the lamp (or other device) to be switched on/off.

There is a second question about how this behaviour is reflected in the device handler. This then depends on the use case.

With my own switches I have used decoupled mode with unwired switches and that use is reflected in how I have designed the various interfaces. If there is another use case, which I have not taken into account, I will try to look into whether a change is required to make that work.

Hi @mariusry

I’ve just looked at your logs again and there is a couple of differences from @mwtay84 .
In particular I can’t see the 2nd message I described a few minutes ago.

Can you let me have logs, with Decoupled set to true and to false, showing what happens when the hardware switch is pressed. Please leave at least 10 seconds between each action so that it is clear which logs belong to which action.

You have different switches, so it shouldn’t be a surprise that their behaviour is slightly different.

I see. What does the Unwired setting do?

I was thinking of using the 3 gang wired switch but maybe have one of the buttons set to Unwired, not controlling any device, but to set a scene controlling multiple devices. Don’t suppose the Decoupled setting would make any difference…

These switches will work as long as at least one of the switches is wired, connected to the house electrical supply. The other switches may be unwired, not connected directly to any device, but sends a signal to the hub, which may be interpreted to trigger other actions. The unwired setting tells the DHT that the switch is unwired, so that, for example, it does not attempt to change the on/off state of the switch by software. I recommend setting both ‘unwired’ and ‘decoupled’ to true for an unwired switch, but there may be situations where a user wants to use ‘decoupled’ for a wired switch.
You may want to change the interface, as described yesterday, for an unwired switch.

Hi @mwtay84 & @mariusry

I’ve just posted a new version of ‘testcode’, which should fix the spurious error message and also fixes a potential issue with the default settings.

Got it… thanks for your hard work in getting the device handler to work!

Oh and I also wanted to confirm that the missing method error doesn’t appear any longer upon toggling the Decoupled status.

Maybe my term of Virtual Switch is not appropriate, I will call it Wireless switch as Aqara does.

I will start by quoting Aqara from their site here: Aqara EU H1
They say: "

Other features of the Wall Switch H1 EU include:

Convert to Wireless Switch Function : The button of the switch can be remapped so that you will get an extra “wireless switch” while the light or other device will be controlled by automations;"

I also went to an Aqara showroom and I tested this function with the Aqara hub:

I set the switch to DECOUPLED mode, and then I was able to set the following automations:

  1. Turn ON or OFF two smart bulbs by pressing the physical switches.
  2. Turn ON or OFF two smart bulbs by pressing the buttons in the app(virtual switches)
  3. Turn ON or OFF two smart bulbs by automations like movement.

This is what Aqara intended with this switch, otherwise it kinds of defeats the purpose.

Then how I can achieve the following:

Convert to Wireless Switch Function : The button of the switch can be remapped so that you will get an extra “wireless switch” while the light or other device will be controlled by automations;"

I also went to an Aqara showroom and I tested this function with the Aqara hub:

I set the switch to DECOUPLED mode, and then I was able to set the following automations:

  1. Turn ON or OFF two smart bulbs by pressing the physical switches.
  2. Turn ON or OFF two smart bulbs by pressing the buttons in the app(virtual switches)
  3. Turn ON or OFF two smart bulbs by automations like movement.

This is what Aqara intended with this switch, otherwise it kinds of defeats the purpose.

Hi @mariusry

Have you tried the change I suggested in message 399 on this forum, from 18th November?

Also the last logs you posted were not consistent with my description of the behaviour of the switch in decoupled mode. I’d like to check that again. Can you let me know what appears in the logs when you press the physical switch in both normal and decoupled mode. I need to check whether the code required to change to decoupled mode is the same for both your and @mwtay84 's switches.

You are right, I changed the lines as you said. Now with the DECOUPLED set to TRUE the Main switched changed the icon inside the app, it displays like a wireless remote control, and I have a lot of actions, like pressed once, held, pressed 2 times, pressed 3 times…until 6 times, etc. Also the status is syncing when I press the physical switch. Unfortunately the functionality for the CHILD switch remain as before, also the icon remain the same.
Mainly now it remains to do something about the CHILD switch if you can?

I will attach some logs.

  1. With the DECOUPLED set to TRUE , and pressed both physical switches:
 998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:35:38 PM: debug Aqara Switch EU-Main Parse returned: [[name:button, value:pushed, data:[buttonNumber:1], isStateChange:true, linkText:Aqara Switch EU-Main, descriptionText:Aqara Switch EU-Main button is pushed, displayed:true], [name:lastCheckin, value:23:35:38 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:35:38 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 88923300120A5500210100, dni: 8892, endpoint: 33, cluster: 0012, size: 10, attrId: 0055, result: success, encoding: 21, value: 0001' 
  1. Turned DECOUPLED to OFF:
 998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:27 PM: debug Aqara Switch EU-Main CatchAll ignored.
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:27 PM: debug Aqara Switch EU-Main SmartShield(text: null, manufacturerId: 0x115f, direction: 0x01, data: [0x06, 0x00, 0x42, 0x0a, 0x30, 0x31, 0x2d, 0x31, 0x32, 0x2d, 0x32, 0x30, 0x32, 0x31], number: null, isManufacturerSpecific: true, messageType: 0x00, senderShortId: 0x8892, isClusterSpecific: false, sourceEndpoint: 0x01, profileId: 0x0104, command: 0x0a, clusterId: 0x0000, destinationEndpoint: 0x01, options: 0x0000)
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:27 PM: debug Aqara Switch EU-Main Parsing 'catchall: 0104 0000 01 01 0000 00 8892 00 01 115F 0A 01 0600420A30312D31322D32303231'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:26 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:49:26 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:26 PM: debug Aqara Switch EU-Main SmartShield(text: null, manufacturerId: 0x115f, direction: 0x01, data: [0x22, 0xff, 0x86], number: null, isManufacturerSpecific: true, messageType: 0x00, senderShortId: 0x8892, isClusterSpecific: false, sourceEndpoint: 0x01, profileId: 0x0104, command: 0x01, clusterId: 0x0000, destinationEndpoint: 0x01, options: 0x0000)
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:26 PM: debug Aqara Switch EU-Main Parsing 'catchall: 0104 0000 01 01 0000 00 8892 00 01 115F 01 01 22FF86'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:24 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:49:24 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:24 PM: debug Aqara Switch EU-Main SmartShield(text: null, manufacturerId: 0x115f, direction: 0x01, data: [0xf7, 0x00, 0x86], number: null, isManufacturerSpecific: true, messageType: 0x00, senderShortId: 0x8892, isClusterSpecific: false, sourceEndpoint: 0x01, profileId: 0x0104, command: 0x01, clusterId: 0xfcc0, destinationEndpoint: 0x01, options: 0x0000)
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:24 PM: debug Aqara Switch EU-Main Parsing 'catchall: 0104 FCC0 01 01 0000 00 8892 00 01 115F 01 01 F70086'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:19 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:49:19 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:false]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:19 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 889201FCC00A0002002001, dni: 8892, endpoint: 01, cluster: FCC0, size: 10, attrId: 0200, result: success, encoding: 20, value: 01'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:19 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:49:19 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:19 PM: debug Aqara Switch EU-Main 0x00EE meaning: 3595
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:19 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 889201FCC00EEE00230B0E0000, dni: 8892, endpoint: 01, cluster: FCC0, size: 14, attrId: 00ee, result: success, encoding: 23, value: 00000e0b'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:17 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:49:17 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:false]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:17 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 889201FCC00A0002002001, dni: 8892, endpoint: 01, cluster: FCC0, size: 10, attrId: 0200, result: success, encoding: 20, value: 01'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:17 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:49:17 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:17 PM: debug Aqara Switch EU-Main CatchAll ignored.
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:17 PM: debug Aqara Switch EU-Main SmartShield(text: null, manufacturerId: 0x115f, direction: 0x01, data: [0x06, 0x00, 0x42, 0x0a, 0x30, 0x31, 0x2d, 0x31, 0x32, 0x2d, 0x32, 0x30, 0x32, 0x31], number: null, isManufacturerSpecific: true, messageType: 0x00, senderShortId: 0x8892, isClusterSpecific: false, sourceEndpoint: 0x01, profileId: 0x0104, command: 0x0a, clusterId: 0x0000, destinationEndpoint: 0x01, options: 0x0000)
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:17 PM: debug Aqara Switch EU-Main Parsing 'catchall: 0104 0000 01 01 0000 00 8892 00 01 115F 0A 01 0600420A30312D31322D32303231'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:15 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:49:15 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:15 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 889201FCC00A0900002001, dni: 8892, endpoint: 01, cluster: FCC0, size: 10, attrId: 0009, result: success, encoding: 20, value: 01'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:10 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:49:10 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:false]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:10 PM: debug Aqara Switch EU-Main SmartShield(text: null, manufacturerId: 0x115f, direction: 0x01, data: [0x00], number: null, isManufacturerSpecific: true, messageType: 0x00, senderShortId: 0x8892, isClusterSpecific: false, sourceEndpoint: 0x01, profileId: 0x0104, command: 0x04, clusterId: 0xfcc0, destinationEndpoint: 0x01, options: 0x0000)
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:10 PM: debug Aqara Switch EU-Main Parsing 'catchall: 0104 FCC0 01 01 0000 00 8892 00 01 115F 04 01 00'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:10 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:49:10 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:10 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 889201FCC00800022001, dni: 8892, endpoint: 01, cluster: FCC0, size: 8, attrId: 0200, result: success, encoding: 20, value: 01'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:10 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 889201FCC00800022001, dni: 8892, endpoint: 01, cluster: FCC0, size: 8, attrId: 0200, result: success, encoding: 20, value: 01'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:09 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:49:09 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:09 PM: debug Aqara Switch EU-Main CatchAll ignored.
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:09 PM: debug Aqara Switch EU-Main SmartShield(text: null, manufacturerId: 0x115f, direction: 0x01, data: [0x06, 0x00, 0x42, 0x0a, 0x30, 0x31, 0x2d, 0x31, 0x32, 0x2d, 0x32, 0x30, 0x32, 0x31], number: null, isManufacturerSpecific: true, messageType: 0x00, senderShortId: 0x8892, isClusterSpecific: false, sourceEndpoint: 0x01, profileId: 0x0104, command: 0x0a, clusterId: 0x0000, destinationEndpoint: 0x01, options: 0x0000)
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:09 PM: debug Aqara Switch EU-Main Parsing 'catchall: 0104 0000 01 01 0000 00 8892 00 01 115F 0A 01 0600420A30312D31322D32303231'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:07 PM: debug Aqara Switch EU-Main Parse returned: [[name:temperature, value:30, unit:C, linkText:Aqara Switch EU-Main, descriptionText:Aqara Switch EU-Main temperature is 30°C, isStateChange:false, displayed:false], [name:lastCheckin, value:23:49:07 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:07 PM: debug Aqara Switch EU-Main setTemp: [[name:temperature, value:30, unit:C, linkText:Aqara Switch EU-Main, descriptionText:Aqara Switch EU-Main temperature is 30°C, isStateChange:false, displayed:false]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:07 PM: debug Aqara Switch EU-Main Temperature is now 30°
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:07 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 88920100020C000000291E00, dni: 8892, endpoint: 01, cluster: 0002, size: 12, attrId: 0000, result: success, encoding: 29, value: 001e'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:04 PM: debug Aqara Switch EU-Main Parse returned: [[name:temperature, value:30, unit:C, linkText:Aqara Switch EU-Main, descriptionText:Aqara Switch EU-Main temperature is 30°C, isStateChange:false, displayed:false], [name:lastCheckin, value:23:49:04 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:04 PM: debug Aqara Switch EU-Main setTemp: [[name:temperature, value:30, unit:C, linkText:Aqara Switch EU-Main, descriptionText:Aqara Switch EU-Main temperature is 30°C, isStateChange:false, displayed:false]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:04 PM: debug Aqara Switch EU-Main Temperature is now 30°
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:04 PM: debug Aqara Switch EU-Main FCC07 Map: [100:false, 101:false, 3:30, 5:26, 154:16, 10:0, 11:0, 13:3595, 14:0]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:49:04 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 889201FCC04EF700412364100065100003281E05211A009A20100A2100000B20000D230B0E00000E2300000000, dni: 8892, endpoint: 01, cluster: FCC0, size: 78, attrId: 00f7, result: success, encoding: 41, value: 00000000230e00000e0b230d00200b0000210a10209a001a21051e280300106500106423'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:59 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:48:59 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:59 PM: debug Aqara Switch EU-Main Device Type: lumi.switch.l2aeu1
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:59 PM: debug Aqara Switch EU-Main Basic Cluster: [raw:88920100002E05000042126C756D692E7377697463682E6C3261657531, dni:8892, endpoint:01, cluster:0000, size:46, attrId:0005, result:success, encoding:42, value:6C756D692E7377697463682E6C3261657531]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:59 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 88920100002E05000042126C756D692E7377697463682E6C3261657531, dni: 8892, endpoint: 01, cluster: 0000, size: 46, attrId: 0005, result: success, encoding: 42, value: 6C756D692E7377697463682E6C3261657531'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:58 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:48:58 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:58 PM: debug Aqara Switch EU-Main Basic Cluster: [raw:88920100000A010000200B, dni:8892, endpoint:01, cluster:0000, size:10, attrId:0001, result:success, encoding:20, value:0b]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:58 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 88920100000A010000200B, dni: 8892, endpoint: 01, cluster: 0000, size: 10, attrId: 0001, result: success, encoding: 20, value: 0b'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:56 PM: debug Aqara Switch EU-Main Devices: [8892-1]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:56 PM: debug Aqara Switch EU-Main Decoupled: [false, false] false
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:56 PM: debug Aqara Switch EU-Main [st rattr 0x8892 0x01 0x0000 0x0001, delay 2000, st rattr 0x8892 0x01 0x0000 0x0005, delay 2000, zcl mfg-code 0x115F, delay 200, zcl global write 0xFCC0 0x0009 0x20 {01}, delay 200, send 0x8892 0x01 0x01, delay 2000, zcl mfg-code 0x115F, delay 200, zcl global write 0xFCC0 0x00F6 0x21 {000A}, delay 200, send 0x8892 0x01 0x01, delay 2000, st rattr 0x8892 0x01 0x0001 0x0000, delay 2000, st rattr 0x8892 0x01 0x0002 0x0000, delay 2000, zcl mfg-code 0x115F, delay 200, zcl global write 0xFCC0 0x0200 0x20 {01}, delay 200, send 0x8892 0x01 0x01, delay 2000, zcl mfg-code 0x115F, delay 200, zcl global write 0xFCC0 0x0200 0x20 {01}, delay 200, send 0x8892 0x01 0x02, delay 2000, zcl mfg-code 0x115F, delay 200, zcl global read 0xFCC0 0x0009, delay 200, send 0x8892 0x01 0x01, delay 2000, zcl mfg-code 0x115F, delay 200, zcl global read 0xFCC0 0x0200, delay 200, send 0x8892 0x01 0x01, delay 2000, zcl mfg-code 0x115F, delay 200, zcl global read 0xFCC0 0x0200, delay 200, send 0x8892 0x01 0x01, delay 2000, zcl mfg-code 0x115F, delay 200, zcl global read 0xFCC0 0x00F6, delay 200, send 0x8892 0x01 0x01, delay 2000, zcl mfg-code 0x115F, delay 200, zcl global read 0xFCC0 0x00F7, delay 200, send 0x8892 0x01 0x01, delay 2000, zcl mfg-code 0x115F, delay 200, zcl global read 0x0000 0xFF22, delay 200, send 0x8892 0x01 0x01, delay 2000]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:56 PM: debug Aqara Switch EU-Main Setting OPPLE Mode
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:56 PM: debug Aqara Switch EU-Main Aqara Switch EU-02-Child 8892-1
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:56 PM: debug Aqara Switch EU-Main Children: [Aqara Switch EU-02-Child]: 1
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:56 PM: debug Aqara Switch EU-Main [decoupled:false, infoLogging:true, debugLogging:true]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:56 PM: debug Aqara Switch EU-Main [unwiredSwitches:[false, false], decoupled:[false, false], tempNow:30, tempNow2:30]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:56 PM: debug Aqara Switch EU-Main Decoupled: [false, false]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:56 PM: info Aqara Switch EU-Main Child Refresh: 8892-1 [8892-1] [decoupled:false]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:36 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:48:36 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:36 PM: debug Aqara Switch EU-Main {Child 1 [name:switch, value:off, isStateChange:true, linkText:Aqara Switch EU-02-Child, descriptionText:Aqara Switch EU-02-Child switch is off, displayed:true, description:]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:36 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 88920200061600001000F5002300928802, dni: 8892, endpoint: 02, cluster: 0006, size: 22, attrId: 0000, result: success, encoding: 10, value: 028892002300f500'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:35 PM: debug Aqara Switch EU-Main Parse returned: [[name:switch, value:off, isStateChange:true, linkText:Aqara Switch EU-Main, descriptionText:Aqara Switch EU-Main switch is off, displayed:true], [name:lastCheckin, value:23:48:35 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:35 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 88920100061600001000F5002300928802, dni: 8892, endpoint: 01, cluster: 0006, size: 22, attrId: 0000, result: success, encoding: 10, value: 028892002300f500'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:34 PM: debug Aqara Switch EU-Main Parse returned: [[name:temperature, value:30, unit:C, linkText:Aqara Switch EU-Main, descriptionText:Aqara Switch EU-Main temperature is 30°C, isStateChange:false, displayed:false], [name:lastCheckin, value:23:48:34 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:34 PM: debug Aqara Switch EU-Main setTemp: [[name:temperature, value:30, unit:C, linkText:Aqara Switch EU-Main, descriptionText:Aqara Switch EU-Main temperature is 30°C, isStateChange:false, displayed:false]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:34 PM: debug Aqara Switch EU-Main Temperature is now 30°
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:34 PM: debug Aqara Switch EU-Main FCC07 Map: [100:false, 101:false, 3:30, 5:25, 154:0, 10:c33c, 11:0, 13:3595, 14:0]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:34 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 889201FCC04EF700412364100065100003281E052119009A20000A213CC30B20000D230B0E00000E2300000000, dni: 8892, endpoint: 01, cluster: FCC0, size: 78, attrId: 00f7, result: success, encoding: 41, value: 00000000230e00000e0b230d00200bc33c210a00209a001921051e280300106500106423'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:33 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:48:33 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:33 PM: debug Aqara Switch EU-Main 0x00EE meaning: 3595
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:33 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 889201FCC00EEE00230B0E0000, dni: 8892, endpoint: 01, cluster: FCC0, size: 14, attrId: 00ee, result: success, encoding: 23, value: 00000e0b'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:30 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:48:30 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:false]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:30 PM: debug Aqara Switch EU-Main CatchAll ignored.
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:30 PM: debug Aqara Switch EU-Main SmartShield(text: null, manufacturerId: 0x115f, direction: 0x01, data: [0x06, 0x00, 0x42, 0x0a, 0x30, 0x31, 0x2d, 0x31, 0x32, 0x2d, 0x32, 0x30, 0x32, 0x31], number: null, isManufacturerSpecific: true, messageType: 0x00, senderShortId: 0x8892, isClusterSpecific: false, sourceEndpoint: 0x01, profileId: 0x0104, command: 0x0a, clusterId: 0x0000, destinationEndpoint: 0x01, options: 0x0000)
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:30 PM: debug Aqara Switch EU-Main Parsing 'catchall: 0104 0000 01 01 0000 00 8892 00 01 115F 0A 01 0600420A30312D31322D32303231'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:30 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:48:30 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:30 PM: debug Aqara Switch EU-Main SmartShield(text: null, manufacturerId: 0x115f, direction: 0x01, data: [0x22, 0xff, 0x86], number: null, isManufacturerSpecific: true, messageType: 0x00, senderShortId: 0x8892, isClusterSpecific: false, sourceEndpoint: 0x01, profileId: 0x0104, command: 0x01, clusterId: 0x0000, destinationEndpoint: 0x01, options: 0x0000)
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:30 PM: debug Aqara Switch EU-Main Parsing 'catchall: 0104 0000 01 01 0000 00 8892 00 01 115F 01 01 22FF86'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:27 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:48:27 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:27 PM: debug Aqara Switch EU-Main SmartShield(text: null, manufacturerId: 0x115f, direction: 0x01, data: [0xf7, 0x00, 0x86], number: null, isManufacturerSpecific: true, messageType: 0x00, senderShortId: 0x8892, isClusterSpecific: false, sourceEndpoint: 0x01, profileId: 0x0104, command: 0x01, clusterId: 0xfcc0, destinationEndpoint: 0x01, options: 0x0000)
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:27 PM: debug Aqara Switch EU-Main Parsing 'catchall: 0104 FCC0 01 01 0000 00 8892 00 01 115F 01 01 F70086'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:23 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:48:23 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:23 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 889201FCC00A0002002001, dni: 8892, endpoint: 01, cluster: FCC0, size: 10, attrId: 0200, result: success, encoding: 20, value: 01'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:21 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:48:21 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:21 PM: debug Aqara Switch EU-Main CatchAll ignored.
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:21 PM: debug Aqara Switch EU-Main SmartShield(text: null, manufacturerId: 0x115f, direction: 0x01, data: [0x06, 0x00, 0x42, 0x0a, 0x30, 0x31, 0x2d, 0x31, 0x32, 0x2d, 0x32, 0x30, 0x32, 0x31], number: null, isManufacturerSpecific: true, messageType: 0x00, senderShortId: 0x8892, isClusterSpecific: false, sourceEndpoint: 0x01, profileId: 0x0104, command: 0x0a, clusterId: 0x0000, destinationEndpoint: 0x01, options: 0x0000)
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:21 PM: debug Aqara Switch EU-Main Parsing 'catchall: 0104 0000 01 01 0000 00 8892 00 01 115F 0A 01 0600420A30312D31322D32303231'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:20 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:48:20 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:20 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 889201FCC00A0002002001, dni: 8892, endpoint: 01, cluster: FCC0, size: 10, attrId: 0200, result: success, encoding: 20, value: 01'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:17 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:48:17 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:17 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 889201FCC00A0900002001, dni: 8892, endpoint: 01, cluster: FCC0, size: 10, attrId: 0009, result: success, encoding: 20, value: 01'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:13 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:48:13 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:false]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:13 PM: debug Aqara Switch EU-Main 0x00EE meaning: 3595
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:13 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 889201FCC00EEE00230B0E0000, dni: 8892, endpoint: 01, cluster: FCC0, size: 14, attrId: 00ee, result: success, encoding: 23, value: 00000e0b'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:13 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:48:13 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:false]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:13 PM: debug Aqara Switch EU-Main SmartShield(text: null, manufacturerId: 0x115f, direction: 0x01, data: [0x00], number: null, isManufacturerSpecific: true, messageType: 0x00, senderShortId: 0x8892, isClusterSpecific: false, sourceEndpoint: 0x01, profileId: 0x0104, command: 0x04, clusterId: 0xfcc0, destinationEndpoint: 0x01, options: 0x0000)
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:13 PM: debug Aqara Switch EU-Main Parsing 'catchall: 0104 FCC0 01 01 0000 00 8892 00 01 115F 04 01 00'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:13 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:48:13 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:13 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 889201FCC00800022001, dni: 8892, endpoint: 01, cluster: FCC0, size: 8, attrId: 0200, result: success, encoding: 20, value: 01'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:10 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:48:10 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:false]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:10 PM: debug Aqara Switch EU-Main CatchAll ignored.
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:10 PM: debug Aqara Switch EU-Main SmartShield(text: null, manufacturerId: 0x115f, direction: 0x01, data: [0x06, 0x00, 0x42, 0x0a, 0x30, 0x31, 0x2d, 0x31, 0x32, 0x2d, 0x32, 0x30, 0x32, 0x31], number: null, isManufacturerSpecific: true, messageType: 0x00, senderShortId: 0x8892, isClusterSpecific: false, sourceEndpoint: 0x01, profileId: 0x0104, command: 0x0a, clusterId: 0x0000, destinationEndpoint: 0x01, options: 0x0000)
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:10 PM: debug Aqara Switch EU-Main Parsing 'catchall: 0104 0000 01 01 0000 00 8892 00 01 115F 0A 01 0600420A30312D31322D32303231'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:10 PM: debug Aqara Switch EU-Main Parse returned: [[name:temperature, value:30, unit:C, linkText:Aqara Switch EU-Main, descriptionText:Aqara Switch EU-Main temperature is 30°C, isStateChange:false, displayed:false], [name:lastCheckin, value:23:48:10 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:10 PM: debug Aqara Switch EU-Main setTemp: [[name:temperature, value:30, unit:C, linkText:Aqara Switch EU-Main, descriptionText:Aqara Switch EU-Main temperature is 30°C, isStateChange:false, displayed:false]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:10 PM: debug Aqara Switch EU-Main Temperature is now 30°
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:10 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 88920100020C000000291E00, dni: 8892, endpoint: 01, cluster: 0002, size: 12, attrId: 0000, result: success, encoding: 29, value: 001e'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:10 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 88920100020C000000291E00, dni: 8892, endpoint: 01, cluster: 0002, size: 12, attrId: 0000, result: success, encoding: 29, value: 001e'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:07 PM: debug Aqara Switch EU-Main Parse returned: [[name:temperature, value:30, unit:C, linkText:Aqara Switch EU-Main, descriptionText:Aqara Switch EU-Main temperature is 30°C, isStateChange:false, displayed:false], [name:lastCheckin, value:23:48:07 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:07 PM: debug Aqara Switch EU-Main setTemp: [[name:temperature, value:30, unit:C, linkText:Aqara Switch EU-Main, descriptionText:Aqara Switch EU-Main temperature is 30°C, isStateChange:false, displayed:false]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:07 PM: debug Aqara Switch EU-Main Temperature is now 30°
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:07 PM: debug Aqara Switch EU-Main FCC07 Map: [100:false, 101:false, 3:30, 5:23, 154:16, 10:0, 11:0, 13:3595, 14:0]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:07 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 889201FCC04EF700412364100065100003281E052117009A20100A2100000B20000D230B0E00000E2300000000, dni: 8892, endpoint: 01, cluster: FCC0, size: 78, attrId: 00f7, result: success, encoding: 41, value: 00000000230e00000e0b230d00200b0000210a10209a001721051e280300106500106423'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:01 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:48:01 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:false]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:01 PM: debug Aqara Switch EU-Main Device Type: lumi.switch.l2aeu1
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:01 PM: debug Aqara Switch EU-Main Basic Cluster: [raw:88920100002E05000042126C756D692E7377697463682E6C3261657531, dni:8892, endpoint:01, cluster:0000, size:46, attrId:0005, result:success, encoding:42, value:6C756D692E7377697463682E6C3261657531]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:01 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 88920100002E05000042126C756D692E7377697463682E6C3261657531, dni: 8892, endpoint: 01, cluster: 0000, size: 46, attrId: 0005, result: success, encoding: 42, value: 6C756D692E7377697463682E6C3261657531'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:01 PM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:23:48:01 Sun 21 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:01 PM: debug Aqara Switch EU-Main Basic Cluster: [raw:88920100000A010000200B, dni:8892, endpoint:01, cluster:0000, size:10, attrId:0001, result:success, encoding:20, value:0b]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:48:01 PM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 88920100000A010000200B, dni: 8892, endpoint: 01, cluster: 0000, size: 10, attrId: 0001, result: success, encoding: 20, value: 0b'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:47:59 PM: debug Aqara Switch EU-Main Unwired Switches: [false, null]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:47:59 PM: debug Aqara Switch EU-Main Decoupled: [false, true] false
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:47:59 PM: debug Aqara Switch EU-Main Setting Number of Buttons to 2
998f9e58-249d-4f14-a39d-9e9f3a953ed4 11:47:59 PM: debug Aqara Switch EU-Main updated 
  1. With DECOUPLED set to FALSE pressed both physical switches:
 998f9e58-249d-4f14-a39d-9e9f3a953ed4 12:00:37 AM: debug Aqara Switch EU-Main Parse returned: [[name:button, value:pushed, data:[buttonNumber:1], isStateChange:true, linkText:Aqara Switch EU-Main, descriptionText:Aqara Switch EU-Main button is pushed, displayed:true], [name:lastCheckin, value:00:00:37 Mon 22 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 12:00:37 AM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 88922900120A5500210100, dni: 8892, endpoint: 29, cluster: 0012, size: 10, attrId: 0055, result: success, encoding: 21, value: 0001'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 12:00:36 AM: debug Aqara Switch EU-Main Parse returned: [[name:switch, value:on, isStateChange:true, linkText:Aqara Switch EU-Main, descriptionText:Aqara Switch EU-Main switch is on, displayed:true], [name:lastCheckin, value:00:00:36 Mon 22 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:false]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 12:00:36 AM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 88920100061600001001F5002300928803, dni: 8892, endpoint: 01, cluster: 0006, size: 22, attrId: 0000, result: success, encoding: 10, value: 038892002300f501'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 12:00:36 AM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:00:00:36 Mon 22 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 12:00:36 AM: debug Aqara Switch EU-Main Child 1 [name:button, value:pushed, data:[buttonNumber:1], isStateChange:true, linkText:Aqara Switch EU-02-Child, descriptionText:Aqara Switch EU-02-Child button is pushed, displayed:true, description:]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 12:00:36 AM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 88922A00120A5500210100, dni: 8892, endpoint: 2A, cluster: 0012, size: 10, attrId: 0055, result: success, encoding: 21, value: 0001'
998f9e58-249d-4f14-a39d-9e9f3a953ed4 12:00:35 AM: debug Aqara Switch EU-Main Parse returned: [[name:lastCheckin, value:00:00:35 Mon 22 Nov (EET), descriptionText:Check-In, displayed:true, linkText:Aqara Switch EU-Main, isStateChange:true]]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 12:00:35 AM: debug Aqara Switch EU-Main {Child 1 [name:switch, value:on, isStateChange:true, linkText:Aqara Switch EU-02-Child, descriptionText:Aqara Switch EU-02-Child switch is on, displayed:true, description:]
998f9e58-249d-4f14-a39d-9e9f3a953ed4 12:00:35 AM: debug Aqara Switch EU-Main Parsing 'read attr - raw: 88920200061600001001F5002300928803, dni: 8892, endpoint: 02, cluster: 0006, size: 22, attrId: 0000, result: success, encoding: 10, value: 038892002300f501' 

This all looks very promising.

I note that this log (message 411) only refers to the main switch. Does this mean you pressed the physical switch and nothing happened? You have to set decoupled mode seperately for the child switch.

Also there’s a seperate alternative interface for the child switch, which may need to be changed for decoupled mode.

Hi @mariusry

I’ve made a couple of small changes to the “presentations”, i.e. the codes in lines 34-43, which should do 2 things:

  1. for any switch, wired or unwired, coupled or decoupled, you should be able to use a button press as a condition in an automation, whenever the physical switch is pressed.
  2. It should be possible to use on/off as an action in an automation or scene for a decoupled switch.

I’ve made these changes in both ‘testcode’ and in the ‘child’ code.

Let me know if these now do what you expect in decoupled mode.

I always SET the same DECOUPLED value for both MAIN and CHILD in my tests, in order to test the device as a whole.

I don’t know how to identify “message 411” in order to comment

No problem! What appears in the logs when decoupled=true for the child device and you press the right hand physical switch?

Let me try to understand… so what you’re trying to do is at the back of the switch you have 3 devices connected to the 3gang switch. You set one (let’s say main) to decoupled=true. The corresponding device A that is connected can only be turned on by automations.

So now a physical press on the main switch can be used to control other devices B and C not directly connected to the switch. And the blue light status that is shown on the main switch is actually the status of devices B and C. Did I get it right?

Extending this further, am I able to use all 3 of the 3gang as wireless, effectively having 6 switches in total?

Almost correct.

I can’t say anything about the blue LEDs as the older switches I have don’t have these.

It’s actually the case, whether in decoupled mode or not, that you can include a button pressed condition in an automation to control other devices. I noticed a couple of days ago, that the changes I had made a few months ago to change over from the old smartthings app to the new one, hadn’t implemented this properly. The latest version of ‘testcode’ does it correctly.

So, if you try to create an automation triggered by a condition for one of these devices you will see a list of options, which include switch options, on or off, and button options, pressed, double pressed, or held. The former refer to the actual wired switch and the latter to the physical switch, which in decoupled mode behaves like a button.

There is an important difference with this button depending on whether we are in decoupled mode or not. In normal mode, when pressing the physical switch causes (e.g.) a lamp to be switched on or off, a double press would switch the lamp on and then off again, whereas in decoupled mode a double press can be treated as different and be used to trigger a different action from a single press.

That said I need some more information from you to make this work properly. I need to know what message appears in the logs when the switch is double pressed, or held. I suspect I know the answer, but I’d like it confirmed.

On your last question, be careful to distinguish between wireless and decoupled. All 3 switches can be decoupled, but at least one must be wired. The device has to get power from somewhere.

Forgot to mention that there’s another feature, which may be of interest in decoupled mode. If you press 2 physical switches at once the device sends a different signal to the hub, which can be used to trigger a different automation. At least that is the case with the 2-gang switches I’m most familiar with. What then happens with a 3-gang switch, I don’t know, but it’s possible that could provide you with 4 other distinct triggers: 3 different combinations of 2 buttons plus all 3 buttons pressed.