Issues with Lonsonho Tuya Zigbee Smart Switch 2-Gand No Neutral

Hello,
I bought a new switch, Lonsonho Tuya Zigbee Smart Switch 2-Gand No Neutral, and got it installed. I also get it paired with my Hubitat Hub and everything looks ok. But, the switch will turn off the lights after about 2 minutes by itself. I've tried with several different drivers but the result seems to be the same.
The information the switch is giving when pairing is as follows:

Anyone having seen similar issue that could help me out here?

Using the Zemismart ZigBee Wall Switch Multi-Gang driver by @kkossev I get the following log when I turn on the main device (all channels) and just wait for 2 minutes.

dev:3092023-01-06 20:21:06.418debugWC brytare WC brytare unprocessed EP: null cluster: null attrId: FFDF
dev:3092023-01-06 20:21:06.414debugWC brytare Parsed: [raw:61D701000026DFFF420FB7224B2B1900000000070000000011, dni:61D7, endpoint:01, cluster:0000, size:26, attrId:FFDF, encoding:42, command:0A, value:·"K+a, clusterInt:0, attrInt:65503]
dev:3092023-01-06 20:19:52.889debugWC brytare Parent switch off
dev:3092023-01-06 20:19:52.876debugWC brytare Parsed: [raw:61D70200061C0000100001402100000240210000, dni:61D7, endpoint:02, cluster:0006, size:1C, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, additionalAttrs:[[value:0000, encoding:21, attrId:4001, consumedBytes:5, attrInt:16385], [value:0000, encoding:21, attrId:4002, consumedBytes:5, attrInt:16386]]]
dev:3092023-01-06 20:19:52.771debugWC brytare Parent switch off
dev:3092023-01-06 20:19:52.758debugWC brytare Parsed: [raw:61D70100062C00001000014021000002402100000180300102803000, dni:61D7, endpoint:01, cluster:0006, size:2C, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, additionalAttrs:[[value:0000, encoding:21, attrId:4001, consumedBytes:5, attrInt:16385], [value:0000, encoding:21, attrId:4002, consumedBytes:5, attrInt:16386], [value:01, encoding:30, attrId:8001, consumedBytes:4, attrInt:32769], [value:00, encoding:30, attrId:8002, consumedBytes:4, attrInt:32770]]]
dev:3092023-01-06 20:19:42.021debugWC brytare WC brytare unprocessed EP: null cluster: null attrId: 0001
dev:3092023-01-06 20:19:42.017debugWC brytare Parsed: [raw:61D70100001801002041E2FF201FE4FF2001, dni:61D7, endpoint:01, cluster:0000, size:18, attrId:0001, encoding:20, command:0A, value:41, clusterInt:0, attrInt:1, additionalAttrs:[[value:1F, encoding:20, attrId:FFE2, consumedBytes:4, attrInt:65506], [value:01, encoding:20, attrId:FFE4, consumedBytes:4, attrInt:65508]]]
dev:3092023-01-06 20:19:38.980debugWC brytare Parent switch off
dev:3092023-01-06 20:19:38.967debugWC brytare Parsed: [raw:61D70200061C0000100001402100000240210000, dni:61D7, endpoint:02, cluster:0006, size:1C, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, additionalAttrs:[[value:0000, encoding:21, attrId:4001, consumedBytes:5, attrInt:16385], [value:0000, encoding:21, attrId:4002, consumedBytes:5, attrInt:16386]]]
dev:3092023-01-06 20:19:38.897debugWC brytare Parsed: [raw:61D70100062C00001000014021000002402100000180300102803000, dni:61D7, endpoint:01, cluster:0006, size:2C, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, additionalAttrs:[[value:0000, encoding:21, attrId:4001, consumedBytes:5, attrInt:16385], [value:0000, encoding:21, attrId:4002, consumedBytes:5, attrInt:16386], [value:01, encoding:30, attrId:8001, consumedBytes:4, attrInt:32769], [value:00, encoding:30, attrId:8002, consumedBytes:4, attrInt:32770]]]
dev:3092023-01-06 20:19:36.839debugWC brytare WC brytare unprocessed EP: 00 cluster: 0013 attrId: null
dev:3092023-01-06 20:19:36.835debugWC brytare Parsed: [raw:catchall: 0000 0013 00 00 0040 00 61D7 00 00 0000 00 00 81D761BA3E77FEFF570F5480, profileId:0000, clusterId:0013, clusterInt:19, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:61D7, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[81, D7, 61, BA, 3E, 77, FE, FF, 57, 0F, 54, 80]]
dev:3092023-01-06 20:18:07.926debugWC brytare WC brytare unprocessed EP: null cluster: null attrId: FFDF
dev:3092023-01-06 20:18:07.922debugWC brytare Parsed: [raw:61D701000026DFFF420F05224B2B1900000000070000000011, dni:61D7, endpoint:01, cluster:0000, size:26, attrId:FFDF, encoding:42, command:0A, value:"K+a, clusterInt:0, attrInt:65503]
dev:3092023-01-06 20:17:36.800debugWC brytare Parent switch on
dev:3092023-01-06 20:17:36.784debugWC brytare Parsed: [raw:61D70200060800001001, dni:61D7, endpoint:02, cluster:0006, size:08, attrId:0000, encoding:10, command:0A, value:01, clusterInt:6, attrInt:0]
dev:3092023-01-06 20:17:36.420debugWC brytare Parent switch on
dev:3092023-01-06 20:17:36.408debugWC brytare Parsed: [raw:61D70100060800001001, dni:61D7, endpoint:01, cluster:0006, size:08, attrId:0000, encoding:10, command:0A, value:01, clusterInt:6, attrInt:0]
dev:3092023-01-06 20:17:36.400debugWC brytare WC brytare unprocessed EP: 02 cluster: 0006 attrId: null
dev:3092023-01-06 20:17:36.397debugWC brytare Parsed: [raw:catchall: 0104 0006 02 01 0040 00 61D7 00 00 0000 0B 01 0100, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:02, destinationEndpoint:01, options:0040, messageType:00, dni:61D7, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[01, 00]]
dev:3092023-01-06 20:17:36.388debugWC brytare WC brytare unprocessed EP: 01 cluster: 0006 attrId: null
dev:3092023-01-06 20:17:36.385debugWC brytare Parsed: [raw:catchall: 0104 0006 01 01 0040 00 61D7 00 00 0000 0B 01 0100, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:61D7, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[01, 00]]
dev:3092023-01-06 20:17:36.093infoWC brytare Turning all child switches on
1 Like
dev:3092023-01-06 20:19:36.839debugWC brytare WC brytare unprocessed EP: 00 cluster: 0013 attrId: null
dev:3092023-01-06 20:19:36.835debugWC brytare Parsed: [raw:catchall: 0000 0013 00 00 0040 00 61D7 00 00 0000 00 00 81D761BA3E77FEFF570F5480, profileId:0000, clusterId:0013, clusterInt:19, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:61D7, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[81, D7, 61, BA, 3E, 77, FE, FF, 57, 0F, 54, 80]]

This one is not good - it is sent from the device when it re-joins the Zigbee network. It means that the device has left the network for some reason earlier.

EDIT: I think I have found information why this (and some other) device leaves the Zigbee network after 2 minutes (it requires explicit initialization of some Tuya-specific Auto-off timers).
Will take a day or two to be ready with a new version to test.

3 Likes

Great!
Happy if you find a cure for this. If you need some testing or more information, just let me know.
Jocke

This device is really strange, it is not a matter of configuring auto-off timers as a thought initially ..
Please update to the development branch version 0.3.0 from here :

You will need to pair the switch again to HE. Better delete it first (''Remove device' from the bottom right of the device page) and then pair it again. The driver should be automatically selected.

Let me know if the automatic switching off after 2 minutes will stop.
The price will be that the on/off state of the switch when operated locally will not be reflected in HE.. : ( Please click on the Refresh button on the child devices - does it update the on/off status when clicked manually?

1 Like

Hello,

installed your modified driver and unfortunately the result is not what we would like it to be.
Here a log from startup and a couple of switch on's.

dev:3152023-01-08 11:57:06.211debugWC_switch Parent switch on
dev:3152023-01-08 11:57:06.181debugWC_switch Parsed: [raw:AA880100060800001001, dni:AA88, endpoint:01, cluster:0006, size:08, attrId:0000, encoding:10, command:0A, value:01, clusterInt:6, attrInt:0]
dev:3152023-01-08 11:57:06.170debugWC_switch WC_switch unprocessed EP: 01 cluster: 0006 attrId: null
dev:3152023-01-08 11:57:06.164debugWC_switch Parsed: [raw:catchall: 0104 0006 01 01 0040 00 AA88 00 00 0000 0B 01 0100, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:AA88, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[01, 00]]
dev:3152023-01-08 11:57:06.063debugWC_switch sending componentOn 315-01
dev:3152023-01-08 11:53:08.481debugWC_switch Parent switch on
dev:3152023-01-08 11:53:08.469debugWC_switch Parsed: [raw:AA880200060800001001, dni:AA88, endpoint:02, cluster:0006, size:08, attrId:0000, encoding:10, command:0A, value:01, clusterInt:6, attrInt:0]
dev:3152023-01-08 11:53:08.461debugWC_switch WC_switch unprocessed EP: 02 cluster: 0006 attrId: null
dev:3152023-01-08 11:53:08.458debugWC_switch Parsed: [raw:catchall: 0104 0006 02 01 0040 00 AA88 00 00 0000 0B 01 0100, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:02, destinationEndpoint:01, options:0040, messageType:00, dni:AA88, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[01, 00]]
dev:3152023-01-08 11:53:08.282debugWC_switch sending componentOn 315-02
dev:3152023-01-08 11:53:06.975debugWC_switch Parent switch off
dev:3152023-01-08 11:53:06.961debugWC_switch Parsed: [raw:AA880200060A00001000, dni:AA88, endpoint:02, cluster:0006, size:0A, attrId:0000, encoding:10, command:01, value:00, clusterInt:6, attrInt:0]
dev:3152023-01-08 11:53:06.749debugWC_switch sending componentRefresh 315-02 WC_switch EP02
dev:3152023-01-08 11:52:19.032debugWC_switch Parent switch off
dev:3152023-01-08 11:52:19.019debugWC_switch Parsed: [raw:AA880100060A00001000, dni:AA88, endpoint:01, cluster:0006, size:0A, attrId:0000, encoding:10, command:01, value:00, clusterInt:6, attrInt:0]
dev:3152023-01-08 11:52:17.037debugWC_switch WC_switch unprocessed EP: 01 cluster: 0006 attrId: null
dev:3152023-01-08 11:52:17.034debugWC_switch Parsed: [raw:catchall: 0104 0006 01 01 0040 00 AA88 00 00 0000 07 01 00, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:AA88, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:07, direction:01, data:[00]]
dev:3152023-01-08 11:52:15.064debugWC_switch WC_switch unprocessed EP: 00 cluster: 8021 attrId: null
dev:3152023-01-08 11:52:15.061debugWC_switch Parsed: [raw:catchall: 0000 8021 00 00 0040 00 AA88 00 00 0000 00 00 9900, profileId:0000, clusterId:8021, clusterInt:32801, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:AA88, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[99, 00]]
dev:3152023-01-08 11:52:14.966debugWC_switch WC_switch unprocessed EP: 01 cluster: 0000 attrId: null
dev:3152023-01-08 11:52:14.963debugWC_switch Parsed: [raw:catchall: 0104 0000 01 01 0040 00 AA88 00 00 0000 04 01 00, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:AA88, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[00]]
dev:3152023-01-08 11:52:14.955debugWC_switch WC_switch unprocessed EP: 01 cluster: 0000 attrId: null
dev:3152023-01-08 11:52:14.953debugWC_switch Parsed: [raw:catchall: 0104 0000 01 01 0040 00 AA88 00 00 0000 04 01 00, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:AA88, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[00]]
dev:3152023-01-08 11:52:14.945debugWC_switch WC_switch unprocessed EP: 01 cluster: 0000 attrId: null
dev:3152023-01-08 11:52:14.939debugWC_switch Parsed: [raw:catchall: 0104 0000 01 01 0040 00 AA88 00 00 0000 04 01 00, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:AA88, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[00]]
dev:3152023-01-08 11:52:14.930debugWC_switch Parent switch off
dev:3152023-01-08 11:52:14.911debugWC_switch Parsed: [raw:AA880200060A00001000, dni:AA88, endpoint:02, cluster:0006, size:0A, attrId:0000, encoding:10, command:01, value:00, clusterInt:6, attrInt:0]
dev:3152023-01-08 11:52:14.896debugWC_switch Parent switch off
dev:3152023-01-08 11:52:14.822debugWC_switch Parsed: [raw:AA880100060A00001000, dni:AA88, endpoint:01, cluster:0006, size:0A, attrId:0000, encoding:10, command:01, value:00, clusterInt:6, attrInt:0]
dev:3152023-01-08 11:52:14.588debugWC_switch WC_switch unprocessed EP: null cluster: null attrId: 0004
dev:3152023-01-08 11:52:14.584debugWC_switch Parsed: [raw:AA8801000068040042105F545A333030305F66766833706A617A0000002003010000204105000042065453303031320700003003FEFF003000, dni:AA88, endpoint:01, cluster:0000, size:68, attrId:0004, encoding:42, command:01, value:_TZ3000_fvh3pjaz, clusterInt:0, attrInt:4, additionalAttrs:[[value:03, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:41, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0012, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]
dev:3152023-01-08 11:52:14.568debugWC_switch sending componentRefresh 315-02 WC_switch EP02
dev:3152023-01-08 11:52:14.504infoWC_switch Creatung device 315-02
dev:3152023-01-08 11:52:14.496debugWC_switch sending componentRefresh 315-01 WC_switch EP01
dev:3152023-01-08 11:52:14.421infoWC_switch Creatung device 315-01
dev:3152023-01-08 11:52:14.418debugWC_switch Parent createChildDevices
dev:3152023-01-08 11:52:14.416debugWC_switch model: TS0012 buttons: 2
dev:3152023-01-08 11:52:14.412debugWC_switch Parent deleteChildren
dev:3152023-01-08 11:52:14.411debugWC_switch Parent setupChildDevices
dev:3152023-01-08 11:52:14.403debugWC_switch sendZigbeeCommands : [he raw 0xAA88 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 200, he wattr 0xAA88 0x01 0x0000 0xFFDE 0x20 {0D} {}, delay 50, he wattr 0xAA88 0x01 0x0000 0xFFDE 0x20 {0D} {}, delay 50, he wattr 0xAA88 0x01 0x0000 0xFFDE 0x20 {0D} {}, delay 50, zdo bind 0xAA88 0x01 0x01 6 {540F57FFFE773EBA} {}, delay 2000, he cr 0xAA88 0x01 6 0 16 0 600 {}, delay 2000, he rattr 0xAA88 0x01 6 0 {}, delay 2000]
dev:3152023-01-08 11:52:14.389debugWC_switch configure()..
dev:3152023-01-08 11:52:14.387infoWC_switch InitializeVars()... fullInit = true
dev:3152023-01-08 11:52:14.386debugWC_switch Initializing...
dev:3152023-01-08 11:52:11.782warnWC_switch Child device 315-01 not found. Initialise parent device first
dev:3152023-01-08 11:52:11.780debugWC_switch Parsed: [raw:AA880100060A00001000, dni:AA88, endpoint:01, cluster:0006, size:0A, attrId:0000, encoding:10, command:01, value:00, clusterInt:6, attrInt:0]
dev:3152023-01-08 11:52:09.793debugWC_switch WC_switch unprocessed EP: 01 cluster: 0006 attrId: null
dev:3152023-01-08 11:52:09.790debugWC_switch Parsed: [raw:catchall: 0104 0006 01 01 0040 00 AA88 00 00 0000 07 01 00, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:AA88, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:07, direction:01, data:[00]]
dev:3152023-01-08 11:52:07.848debugWC_switch WC_switch unprocessed EP: 00 cluster: 8021 attrId: null
dev:3152023-01-08 11:52:07.845debugWC_switch Parsed: [raw:catchall: 0000 8021 00 00 0040 00 AA88 00 00 0000 00 00 9000, profileId:0000, clusterId:8021, clusterInt:32801, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:AA88, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[90, 00]]
dev:3152023-01-08 11:52:07.838debugWC_switch WC_switch unprocessed EP: 01 cluster: 0000 attrId: null
dev:3152023-01-08 11:52:07.832debugWC_switch Parsed: [raw:catchall: 0104 0000 01 01 0040 00 AA88 00 00 0000 04 01 00, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:AA88, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[00]]
dev:3152023-01-08 11:52:07.812debugWC_switch WC_switch unprocessed EP: 01 cluster: 0000 attrId: null
dev:3152023-01-08 11:52:07.809debugWC_switch Parsed: [raw:catchall: 0104 0000 01 01 0040 00 AA88 00 00 0000 04 01 00, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:AA88, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[00]]
dev:3152023-01-08 11:52:07.596debugWC_switch WC_switch unprocessed EP: 01 cluster: 0000 attrId: null
dev:3152023-01-08 11:52:07.593debugWC_switch Parsed: [raw:catchall: 0104 0000 01 01 0040 00 AA88 00 00 0000 04 01 00, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:AA88, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[00]]
dev:3152023-01-08 11:52:07.586debugWC_switch WC_switch unprocessed EP: null cluster: null attrId: 0004
dev:3152023-01-08 11:52:07.582debugWC_switch Parsed: [raw:AA8801000068040042105F545A333030305F66766833706A617A0000002003010000204105000042065453303031320700003003FEFF003000, dni:AA88, endpoint:01, cluster:0000, size:68, attrId:0004, encoding:42, command:01, value:_TZ3000_fvh3pjaz, clusterInt:0, attrInt:4, additionalAttrs:[[value:03, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:41, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0012, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]
dev:3152023-01-08 11:52:07.230debugWC_switch sendZigbeeCommands : [he raw 0xAA88 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 200, he wattr 0xAA88 0x01 0x0000 0xFFDE 0x20 {0D} {}, delay 50, he wattr 0xAA88 0x01 0x0000 0xFFDE 0x20 {0D} {}, delay 50, he wattr 0xAA88 0x01 0x0000 0xFFDE 0x20 {0D} {}, delay 50, zdo bind 0xAA88 0x01 0x01 6 {540F57FFFE773EBA} {}, delay 2000, he cr 0xAA88 0x01 6 0 16 0 600 {}, delay 2000, he rattr 0xAA88 0x01 6 0 {}, delay 2000]
dev:3152023-01-08 11:52:07.220debugWC_switch configure()..
dev:3152023-01-08 11:51:31.225warnZemismart ZigBee Wall Switch Multi-Gang Child device 315-01 not found. Initialise parent device first
dev:3152023-01-08 11:51:31.222debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:AA880100060A00001000, dni:AA88, endpoint:01, cluster:0006, size:0A, attrId:0000, encoding:10, command:01, value:00, clusterInt:6, attrInt:0]
dev:3152023-01-08 11:51:30.995debugZemismart ZigBee Wall Switch Multi-Gang Zemismart ZigBee Wall Switch Multi-Gang unprocessed EP: null cluster: null attrId: FFDF
dev:3152023-01-08 11:51:30.992debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:AA880100001CDFFF420A0A4E4D2B139B4E4D2B12, dni:AA88, endpoint:01, cluster:0000, size:1C, attrId:FFDF, encoding:42, command:0A, value:
NM+›NM+, clusterInt:0, attrInt:65503]
dev:3152023-01-08 11:51:30.430debugZemismart ZigBee Wall Switch Multi-Gang Zemismart ZigBee Wall Switch Multi-Gang unprocessed EP: null cluster: null attrId: 0001
dev:3152023-01-08 11:51:30.425debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:AA880100001801002041E2FF201FE4FF2000, dni:AA88, endpoint:01, cluster:0000, size:18, attrId:0001, encoding:20, command:0A, value:41, clusterInt:0, attrInt:1, additionalAttrs:[[value:1F, encoding:20, attrId:FFE2, consumedBytes:4, attrInt:65506], [value:00, encoding:20, attrId:FFE4, consumedBytes:4, attrInt:65508]]]
dev:3152023-01-08 11:51:29.368debugZemismart ZigBee Wall Switch Multi-Gang Zemismart ZigBee Wall Switch Multi-Gang unprocessed EP: 01 cluster: 0006 attrId: null
dev:3152023-01-08 11:51:29.364debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:catchall: 0104 0006 01 01 0040 00 AA88 00 00 0000 07 01 00, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:AA88, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:07, direction:01, data:[00]]
dev:3152023-01-08 11:51:27.652warnZemismart ZigBee Wall Switch Multi-Gang Child device 315-02 not found. Initialise parent device first
dev:3152023-01-08 11:51:27.647debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:AA880200061C0000100001402100000240210000, dni:AA88, endpoint:02, cluster:0006, size:1C, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, additionalAttrs:[[value:0000, encoding:21, attrId:4001, consumedBytes:5, attrInt:16385], [value:0000, encoding:21, attrId:4002, consumedBytes:5, attrInt:16386]]]
dev:3152023-01-08 11:51:27.547warnZemismart ZigBee Wall Switch Multi-Gang Child device 315-01 not found. Initialise parent device first
dev:3152023-01-08 11:51:27.538debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:AA880100062C00001000014021000002402100000180300102803000, dni:AA88, endpoint:01, cluster:0006, size:2C, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, additionalAttrs:[[value:0000, encoding:21, attrId:4001, consumedBytes:5, attrInt:16385], [value:0000, encoding:21, attrId:4002, consumedBytes:5, attrInt:16386], [value:01, encoding:30, attrId:8001, consumedBytes:4, attrInt:32769], [value:00, encoding:30, attrId:8002, consumedBytes:4, attrInt:32770]]]
dev:3152023-01-08 11:51:27.323debugZemismart ZigBee Wall Switch Multi-Gang Zemismart ZigBee Wall Switch Multi-Gang unprocessed EP: 00 cluster: 8021 attrId: null
dev:3152023-01-08 11:51:27.319debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:catchall: 0000 8021 00 00 0040 00 AA88 00 00 0000 00 00 8200, profileId:0000, clusterId:8021, clusterInt:32801, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:AA88, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[82, 00]]
dev:3152023-01-08 11:51:27.311debugZemismart ZigBee Wall Switch Multi-Gang Zemismart ZigBee Wall Switch Multi-Gang unprocessed EP: 01 cluster: 0000 attrId: null
dev:3152023-01-08 11:51:27.308debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:catchall: 0104 0000 01 01 0040 00 AA88 00 00 0000 04 01 00, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:AA88, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[00]]
dev:3152023-01-08 11:51:27.300debugZemismart ZigBee Wall Switch Multi-Gang Zemismart ZigBee Wall Switch Multi-Gang unprocessed EP: 01 cluster: 0000 attrId: null
dev:3152023-01-08 11:51:27.295debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:catchall: 0104 0000 01 01 0040 00 AA88 00 00 0000 04 01 00, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:AA88, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[00]]
dev:3152023-01-08 11:51:27.049debugZemismart ZigBee Wall Switch Multi-Gang Zemismart ZigBee Wall Switch Multi-Gang unprocessed EP: 01 cluster: 0000 attrId: null
dev:3152023-01-08 11:51:27.045debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:catchall: 0104 0000 01 01 0040 00 AA88 00 00 0000 04 01 00, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:AA88, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[00]]
dev:3152023-01-08 11:51:27.037debugZemismart ZigBee Wall Switch Multi-Gang Zemismart ZigBee Wall Switch Multi-Gang unprocessed EP: null cluster: null attrId: 0004
dev:3152023-01-08 11:51:27.031debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:AA8801000068040042105F545A333030305F66766833706A617A0000002003010000204105000042065453303031320700003003FEFF003000, dni:AA88, endpoint:01, cluster:0000, size:68, attrId:0004, encoding:42, command:01, value:_TZ3000_fvh3pjaz, clusterInt:0, attrInt:4, additionalAttrs:[[value:03, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:41, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0012, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]
dev:3152023-01-08 11:51:27.024infoZemismart ZigBee Wall Switch Multi-Gang InitializeVars()... fullInit = false
dev:3152023-01-08 11:51:27.021debugZemismart ZigBee Wall Switch Multi-Gang updating the settings from the current driver version null to the new version 0.2.14 2022/11/23 6:47 PM
dev:3152023-01-08 11:51:26.700debugZemismart ZigBee Wall Switch Multi-Gang sendZigbeeCommands : [he raw 0xAA88 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 200, he wattr 0xAA88 0x01 0x0000 0xFFDE 0x20 {0D} {}, delay 50, he wattr 0xAA88 0x01 0x0000 0xFFDE 0x20 {0D} {}, delay 50, he wattr 0xAA88 0x01 0x0000 0xFFDE 0x20 {0D} {}, delay 50, zdo bind 0xAA88 0x01 0x01 6 {540F57FFFE773EBA} {}, delay 2000, he cr 0xAA88 0x01 6 0 16 0 600 {}, delay 2000, he rattr 0xAA88 0x01 6 0 {}, delay 2000]
dev:3152023-01-08 11:51:26.665debugZemismart ZigBee Wall Switch Multi-Gang configure()..
dev:3152023-01-08 11:51:26.658debugZemismart ZigBee Wall Switch Multi-Gang Parent installed

The on/off status is updated automatically in HE but it seems that the switch-off event that still happens is not shown in the logs. I tried both switching on from HE and manually at the switch. Result is same for both.
One strange thing I've noticed (with original driver) is that sometimes one of the child switches has been staying on successfully when manually set to on state. This is child switch EP2. Behind this switch is only a couple of LED light => very low load. Wondering if this could be something that influences the behavior... Perhaps not but it's an observation so I wanted to let you know.

So, answers to your questions:

  • It still switches off
  • I do see in HE the status (looking on device page) also without refresh when actuated manually.
1 Like

For some reason, you are still using the old version 0.2.14 from November last year. Probably my practice with two versions - one stable release and a second development version is a bit confusing.

The development version is this : https://raw.githubusercontent.com/kkossev/hubitat-muxa-fork/development/drivers/zemismart-zigbee-multigang-switch.groovy
Currently, it is "0.3.0", time stamp "2023/01/07 9:43 PM"

You can update to the latest dev.version directly from HE driver code editor, click on the "Import" button and confirm,

You will have to delete the device again from HE and pair it as a new device. The reason is that with all previous versions the on/off cluster is already bound to HE (this and two other Tuya/Lonsonho devices require polling, not automatic reporting).

Oouh, my bad... sorry for that.
However I now made some more tests and I can confirm that if activating/switching on only EP2 it will stay on. Both manual and HE activation. If switching on EP1 it will switch off both after approx. 2 minutes.

Did you reset / remove device from HE first?

That's a clue. Most probably the EP1 is still bound to HE hub (probably during the initial pairing/discovery process by HE). Will research if there is a way to un-bind an already bound EP.

Hello again, the working of EP2 was still with the release driver. Now I removed the switch, imported new driver (dev. version) and repaired the switch.
Looks good from functional point of view!
Lights stay on both when manually switched on and when switched on from HE. Also the "indicators and control from the Lights/Switches page seems to be working ok.
I will try now to take the small application with motion sensor activation and timer into use and see how it behaves. (Wife has not been happy with the 2 minute time limit for toilet visits :joy:)

1 Like

I am glad to hear it works now. What I am not sure is whether the on/off status of the two switches is reflected correctly in HE (when switched on/off either locally or remotely ) ?

Hello,
So far so good. Everything seems to be working fine. Also the indications, at least I haven't noticed that the status would be wrong or not reflected to HE.
I'll keep it running and will let you know if I make some further observations.
Thanks a lot!
Jocke

1 Like

Is the switch working well for you?

I would say so. I've had it in use now since mid January without any issues.
For the hardware itself I noticed that if you only have very small loads (LED's only) some light might "glow" when off. This is due to the "no-neutral" so, if having only LED's you should probably mount the capacitor that is supplied with the switch. But I have bigger load on one channel and that's enough to avoid this issue.

1 Like