[OBSOLETE] Moes 2 and 3 gang Zigbee wall switch ( cluster EF00)

@Ed_Cayetano ,
You need to change only the parent (main).
No need to change the child

Device handler works now for the 2-gang.

Switch was correctly identified with your device handler, and the parent now behaves correctly. Thanks Yakov :smiley:

1 Like

Set backlight to “Off” on the father device “Thing habitación”:

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:23:11: info updateChildrenDNI: 27FC-SW1 → D51A-SW1

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:23:11: info updateChildrenDNI: 27FC-SW2 → D51A-SW2

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:23:11: debug updateChildrenDNI()… children=2

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:23:11: debug handleSwitchEvent(): child for EP=2 not found, refreshing…

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:23:11: debug handleSwitchEvent(): EP=2 value=1 children=[0, 1, 0, 0, 0, 0] main=1

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:23:11: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 D51A 01 00 0000 01 01 03930201000101’ descMap is [raw:0104 EF00 01 01 0000 00 D51A 01 00 0000 01 01 03930201000101, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:D51A, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[03, 93, 02, 01, 00, 01, 01], clusterInt:61184, commandInt:1]

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:23:12: error updateChildrenDNI failed to update child 27FC-SW1 Virtual cocina para comedor

Please notice Child “Virtual cocina para comedor” is not a child of “Thing habitación”.

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:23:11: info updateChildrenDNI: 27FC-SW1 → D51A-SW1

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:23:11: error updateChildrenDNI failed to update child 27FC-SW2 Luz cocina

Please notice Child “Luz cocina” is not a child of “Thing habitación”.

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:23:11: info updateChildrenDNI: 27FC-SW2 → D51A-SW2

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:23:11: debug updateChildrenDNI()… children=2

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:23:11: debug handleSwitchEvent(): child for EP=1 not found, refreshing…

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:23:11: debug handleSwitchEvent(): EP=1 value=0 children=[0, 0, 0, 0, 0, 0] main=0

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:23:11: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 D51A 01 00 0000 01 01 03920101000100’ descMap is [raw:0104 EF00 01 01 0000 00 D51A 01 00 0000 01 01 03920101000100, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:D51A, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[03, 92, 01, 01, 00, 01, 00], clusterInt:61184, commandInt:1]

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:23:11: debug childUpdated(D51A-SW1) for device=[label:Thing cocina, deviceNetworkId:D51A]

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:23:11: debug child updated: [label:Virtual cocina para comedor, deviceNetworkId:D51A-SW1]

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:23:11: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 D51A 01 00 0000 01 01 03950F04000102’ descMap is [raw:0104 EF00 01 01 0000 00 D51A 01 00 0000 01 01 03950F04000102, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:D51A, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[03, 95, 0F, 04, 00, 01, 02], clusterInt:61184, commandInt:1]

32e295c2-387e-4940-98ea-23a438c4457a 19:23:11: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 36E8 00 00 0000 0B 01 0000’ descMap is [raw:0104 EF00 01 01 0000 00 36E8 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:36E8, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00], clusterInt:61184, commandInt:11]

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:23:11: debug childUpdated(D51A-SW2) for device=[label:Thing cocina, deviceNetworkId:D51A]

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:23:11: debug child updated: [label:Luz cocina, deviceNetworkId:D51A-SW2]

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:23:11: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 D51A 01 00 0000 01 01 03940E04000100’ descMap is [raw:0104 EF00 01 01 0000 00 D51A 01 00 0000 01 01 03940E04000100, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:D51A, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[03, 94, 0E, 04, 00, 01, 00], clusterInt:61184, commandInt:1]

32e295c2-387e-4940-98ea-23a438c4457a 19:23:08: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 36E8 00 00 0000 0B 01 0000’ descMap is [raw:0104 EF00 01 01 0000 00 36E8 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:36E8, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00], clusterInt:61184, commandInt:11]

32e295c2-387e-4940-98ea-23a438c4457a 19:23:08: debug sendCommandsToDevice(): delay=300 cmds=[st cmd 0x36E8 0x01 0xEF00 0x00 {00056501000100}, delay 2000, st cmd 0x36E8 0x01 0xEF00 0x00 {00061001000100}, delay 2000] actions=[st cmd 0x36E8 0x01 0xEF00 0x00 {00056501000100}, delay 2000, st cmd 0x36E8 0x01 0xEF00 0x00 {00061001000100}, delay 2000]

32e295c2-387e-4940-98ea-23a438c4457a 19:23:08: debug createTuyaCommand(): dp=10 type=01 len=0001 value=00 → cmd=[st cmd 0x36E8 0x01 0xEF00 0x00 {00061001000100}, delay 2000]

32e295c2-387e-4940-98ea-23a438c4457a 19:23:08: debug createTuyaCommand(): dp=65 type=01 len=0001 value=00 → cmd=[st cmd 0x36E8 0x01 0xEF00 0x00 {00056501000100}, delay 2000]

32e295c2-387e-4940-98ea-23a438c4457a 19:23:08: debug updateChildrenDNI: child = 36E8-SW2[name:TS0601 Relay Child]

32e295c2-387e-4940-98ea-23a438c4457a 19:23:08: debug updateChildrenDNI: child = 36E8-SW1[name:TS0601 Relay Child]

32e295c2-387e-4940-98ea-23a438c4457a 19:23:08: debug updateChildrenDNI()… children=2

32e295c2-387e-4940-98ea-23a438c4457a 19:23:08: debug createRemoveChildDevices()… gangs=2 children=2 device=[label:Thing habitación, deviceNetworkId:36E8]

32e295c2-387e-4940-98ea-23a438c4457a 19:23:08: debug updated()… device=Thing habitación settings=[backlight:OFF] DNI=36E8

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:24:16: info updateChildrenDNI: 27FC-SW1 → D51A-SW1

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:24:16: debug updateChildrenDNI: child = D51A-SW2[name:TS0601 Relay Child]

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:24:16: debug updateChildrenDNI()… children=2

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:24:16: debug handleSwitchEvent(): child for EP=1 not found, refreshing…

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:24:16: debug handleSwitchEvent(): EP=1 value=0 children=[0, 0, 0, 0, 0, 0] main=0

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:24:16: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 D51A 01 00 0000 01 01 03960101000100’ descMap is [raw:0104 EF00 01 01 0000 00 D51A 01 00 0000 01 01 03960101000100, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:D51A, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[03, 96, 01, 01, 00, 01, 00], clusterInt:61184, commandInt:1]

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:24:16: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 D51A 01 00 0000 01 01 03990F04000102’ descMap is [raw:0104 EF00 01 01 0000 00 D51A 01 00 0000 01 01 03990F04000102, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:D51A, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[03, 99, 0F, 04, 00, 01, 02], clusterInt:61184, commandInt:1]

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:24:16: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 D51A 01 00 0000 01 01 03980E04000100’ descMap is [raw:0104 EF00 01 01 0000 00 D51A 01 00 0000 01 01 03980E04000100, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:D51A, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[03, 98, 0E, 04, 00, 01, 00], clusterInt:61184, commandInt:1]

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:24:15: debug handleSwitchEvent(): EP=2 value=0 children=[0, 0, 0, 0, 0, 0] main=0

a83d2047-f778-40fd-9365-2bc9b4d8535e 19:24:15: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 D51A 01 00 0000 01 01 03970201000100’ descMap is [raw:0104 EF00 01 01 0000 00 D51A 01 00 0000 01 01 03970201000100, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:D51A, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[03, 97, 02, 01, 00, 01, 00], clusterInt:61184, commandInt:1]

32e295c2-387e-4940-98ea-23a438c4457a 19:24:12: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 36E8 01 00 0000 01 01 00090F04000102’ descMap is [raw:0104 EF00 01 01 0000 00 36E8 01 00 0000 01 01 00090F04000102, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:36E8, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 09, 0F, 04, 00, 01, 02], clusterInt:61184, commandInt:1]

32e295c2-387e-4940-98ea-23a438c4457a 19:24:12: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 36E8 01 00 0000 01 01 00080E04000100’ descMap is [raw:0104 EF00 01 01 0000 00 36E8 01 00 0000 01 01 00080E04000100, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:36E8, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 08, 0E, 04, 00, 01, 00], clusterInt:61184, commandInt:1]

32e295c2-387e-4940-98ea-23a438c4457a 19:24:11: debug handleSwitchEvent(): EP=2 value=0 children=[0, 0, 0, 0, 0, 0] main=0

32e295c2-387e-4940-98ea-23a438c4457a 19:24:11: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 36E8 01 00 0000 01 01 00070201000100’ descMap is [raw:0104 EF00 01 01 0000 00 36E8 01 00 0000 01 01 00070201000100, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:36E8, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 07, 02, 01, 00, 01, 00], clusterInt:61184, commandInt:1]

32e295c2-387e-4940-98ea-23a438c4457a 19:24:11: debug handleSwitchEvent(): EP=1 value=0 children=[0, 1, 0, 0, 0, 0] main=1

32e295c2-387e-4940-98ea-23a438c4457a 19:24:11: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 36E8 01 00 0000 01 01 00060101000100’ descMap is [raw:0104 EF00 01 01 0000 00 36E8 01 00 0000 01 01 00060101000100, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:36E8, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 06, 01, 01, 00, 01, 00], clusterInt:61184, commandInt:1]

@Ed_Cayetano
Great, thank you for the update

@iwry ,
Zigbee join event could be found in hub events.
From IDE, select the hub and then go to hub events.

It seems from your log that once you change the backlight settings the handler tries to update DNI (Zigbee Network Id) of the children, which are probably belong to another switch.

How many Moes/Tuya switches do you have connected to the same hub?
Apparently, my fix for disconnects doesn’t work for multiple devices of the same type.
Not sure yet how this could happen though.

More logs: If this is not the best place to paste long logs just let me know and I’ll try to find a way to paste a link of the text logs.

Set backlight “Off” on “Thing cocina”

675a06cf-b96b-4869-ad12-2f6e4a493bac 19:41:39: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 1374 00 00 0000 0B 01 0000’ descMap is [raw:0104 EF00 01 01 0000 00 1374 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:1374, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00], clusterInt:61184, commandInt:11]

675a06cf-b96b-4869-ad12-2f6e4a493bac 19:41:36: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 1374 00 00 0000 0B 01 0000’ descMap is [raw:0104 EF00 01 01 0000 00 1374 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:1374, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00], clusterInt:61184, commandInt:11]

675a06cf-b96b-4869-ad12-2f6e4a493bac 19:41:36: debug sendCommandsToDevice(): delay=300 cmds=[st cmd 0x1374 0x01 0xEF00 0x00 {000a6501000100}, delay 2000, st cmd 0x1374 0x01 0xEF00 0x00 {000b1001000100}, delay 2000] actions=[st cmd 0x1374 0x01 0xEF00 0x00 {000a6501000100}, delay 2000, st cmd 0x1374 0x01 0xEF00 0x00 {000b1001000100}, delay 2000]

675a06cf-b96b-4869-ad12-2f6e4a493bac 19:41:36: debug createTuyaCommand(): dp=10 type=01 len=0001 value=00 → cmd=[st cmd 0x1374 0x01 0xEF00 0x00 {000b1001000100}, delay 2000]

675a06cf-b96b-4869-ad12-2f6e4a493bac 19:41:36: debug createTuyaCommand(): dp=65 type=01 len=0001 value=00 → cmd=[st cmd 0x1374 0x01 0xEF00 0x00 {000a6501000100}, delay 2000]

675a06cf-b96b-4869-ad12-2f6e4a493bac 19:41:36: debug updateChildrenDNI: child = 1374-SW2[name:TS0601 Relay Child]

675a06cf-b96b-4869-ad12-2f6e4a493bac 19:41:36: debug updateChildrenDNI: child = 1374-SW1[name:TS0601 Relay Child]

675a06cf-b96b-4869-ad12-2f6e4a493bac 19:41:36: debug updateChildrenDNI()… children=2

675a06cf-b96b-4869-ad12-2f6e4a493bac 19:41:36: debug createRemoveChildDevices()… gangs=2 children=2 device=[label:null, deviceNetworkId:1374]

675a06cf-b96b-4869-ad12-2f6e4a493bac 19:41:36: debug updated()… device=Thing cocina settings=[backlight:OFF] DNI=1374

Set backlight “On” on “Thing cocina”

675a06cf-b96b-4869-ad12-2f6e4a493bac 19:44:36: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 1374 00 00 0000 0B 01 0000’ descMap is [raw:0104 EF00 01 01 0000 00 1374 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:1374, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00], clusterInt:61184, commandInt:11]

675a06cf-b96b-4869-ad12-2f6e4a493bac 19:44:33: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 1374 00 00 0000 0B 01 0000’ descMap is [raw:0104 EF00 01 01 0000 00 1374 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:1374, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00], clusterInt:61184, commandInt:11]

675a06cf-b96b-4869-ad12-2f6e4a493bac 19:44:33: debug sendCommandsToDevice(): delay=300 cmds=[st cmd 0x1374 0x01 0xEF00 0x00 {000c6501000100}, delay 2000, st cmd 0x1374 0x01 0xEF00 0x00 {000d1001000101}, delay 2000] actions=[st cmd 0x1374 0x01 0xEF00 0x00 {000c6501000100}, delay 2000, st cmd 0x1374 0x01 0xEF00 0x00 {000d1001000101}, delay 2000]

675a06cf-b96b-4869-ad12-2f6e4a493bac 19:44:33: debug createTuyaCommand(): dp=10 type=01 len=0001 value=01 → cmd=[st cmd 0x1374 0x01 0xEF00 0x00 {000d1001000101}, delay 2000]

675a06cf-b96b-4869-ad12-2f6e4a493bac 19:44:33: debug createTuyaCommand(): dp=65 type=01 len=0001 value=00 → cmd=[st cmd 0x1374 0x01 0xEF00 0x00 {000c6501000100}, delay 2000]

675a06cf-b96b-4869-ad12-2f6e4a493bac 19:44:33: debug updateChildrenDNI: child = 1374-SW2[name:TS0601 Relay Child]

675a06cf-b96b-4869-ad12-2f6e4a493bac 19:44:33: debug updateChildrenDNI: child = 1374-SW1[name:TS0601 Relay Child]

675a06cf-b96b-4869-ad12-2f6e4a493bac 19:44:33: debug updateChildrenDNI()… children=2

675a06cf-b96b-4869-ad12-2f6e4a493bac 19:44:33: debug createRemoveChildDevices()… gangs=2 children=2 device=[label:null, deviceNetworkId:1374]

675a06cf-b96b-4869-ad12-2f6e4a493bac 19:44:33: debug updated()… device=Thing cocina settings=[backlight:ON] DNI=1374

Thank you very much for the hint!

Here’s the zbjoin for “Thing cocina”:

zbjoin: {"dni":"1374","d":"84FD27FFFE6363B9","capabilities":"80","endpoints":[{"simple":"01 0104 0051 01 04 0000 0004 0005 EF00 02 0019 000A","application":"42","manufacturer":"_TZE200_g1ib5ldv","model":"TS0601"}],"parent":24552,"joinType":1,"joinDurationMs":4187,"joinAttempts":1}

Here’s the zbjoin of the other switch:

zbjoin: {"dni":"36E8","d":"60A423FFFEA9B240","capabilities":"80","endpoints":[{"simple":"01 0104 0051 01 04 0000 0004 0005 EF00 02 0019 000A","application":"42","manufacturer":"_TZE200_g1ib5ldv","model":"TS0601"}],"parent":24552,"joinType":1,"joinDurationMs":3957,"joinAttempts":1}

I have now 3 wall switches (all of them 2 gangs). Planning to install a 4 gang and a 3 gang in the future.

@iwry , great, so you have Moes _TZE200_g1ib5ldv.

I assume, the parent switch is not currently working for you.

The logs for setting backlight seems to be fine. However, the command for setting the backlight has generic Tuya format, not Moes specific. The backlight support for Moes is the result of reverse engineering, it is not based on manufacturer’s documentation. Therefore I’m not sure whether this difference indeed matters.
The responses from the device seems to be fine, but the command still might cause the device to disconnect.
Therefore, as a first step, I suggest you to take the version that was provided to Ed and see how it goes.
This version will

  • Fix the issue with parent device for Moes 2 gang switch
  • Send the correct, Moes specific backlight control command

This version does not contain the fixes that were provided to Kostas (as the fix doesn’t seem to be working, based on your and Ed’s logs)

https://bitbucket.org/yashik_gt/smartthings/src/moes-2-gang/SmartHome4U/TS0601.groovy

1 Like

Can you give all the model that working your handler to post it on first post?

Hi @b16b ,

The handler in master branch supports Moes 3 gang model only ( that reports _TZE200_tz32mtza in zigbee join).

There is another branch in the repo, moes-2-gang, that adds support for Moes 2 gang wall switch (_TZE200_g1ib5ldv).
I’m not sure wether it is No neutral wire version or not. @Ed_Cayetano reported this version works for him.
I’m waiting for confirmation from @iwry that has the same device as Ed, that it works for him too, then I will deliver 2 gangs support to the master branch.

There is another version that attempts to solve the issue with child devices disconnects, but it doesn’t seem to work properly. I will try to come up with different solution.

Cheers,
Yakov

3 Likes

Hi @ygerlovin, the version https://bitbucket.org/yashik_gt/smartthings/src/moes-2-gang/SmartHome4U/TS0601.groovy is working properly for my 2 gang switches. I can set the backlight to “off” and it works great.

I have installed a Moes 3 gang switch and the third button is not working on ST. In the parent configs, it is set as 3 gangs, I have the 3 children but only 2 of them work well.

The switch is the same model from the 2 gangs one, but checking my zbjoins I found a different model:

zbjoin: {“dni”:“1C66”,“d”:“5C0272FFFE1DB212”,“capabilities”:“80”,“endpoints”:[{“simple”:“01 0104 0051 01 04 0000 0004 0005 EF00 02 0019 000A”,“application”:“42”,“manufacturer”:“_TZE200_tz32mtza”,“model”:“TS0601”}],“parent”:49489,“joinType”:0,“joinDurationMs”:9648,“joinAttempts”:1}

Another topic: it would be totally awesome if somehow we can configure the backlight to turn off on specific hours (I mean, it is great to have the backlight off when going to sleep, but before that, having the backligh on would help to locate the buttons easier at evening.

Hi all,

A short update.

  1. Following updates from @Ed_Cayetano and @iwry that 2 gang switches work well,
    moes-2-gang branch was merged into master.

  2. Even though the fix for child devices disconnects does not completely solve the problem, it seems it improves the situation. Further, the branch contains additional small fixes. Since it does not introduce any regression, but still have potential to improve the handling when devices disconnect, I decided to merge ts0601-child-dni-update into master.

Therefore, currently there is a single branch in the repo - master, that contains all the fixes.

https://bitbucket.org/yashik_gt/smartthings/src/master/

Cheers,
Yakov

3 Likes

Hi @iwry

So, please let me recap.
You have several Moes 2 gang switches (no neutral) that work well.
In addition you have Moes 3 gang switch (no neutral) that does not work for the 3rd gang (relay).

I assume all your switches are used in automatons in some way or another.

I would suggest

  1. To install the latest child driver
  2. After that, to install the latest parent driver
  3. If after that the problem persists, to remove 3 gang switch
  4. Make sure all children of 3 gang switch are removed. If not, remove them manually
  5. Rejoin 3 gang switch
  6. After 3 gang switch is added, change its configuration to 3 gangs, the third child will appear

https://bitbucket.org/yashik_gt/smartthings/src/master/

Please let me know how it goes.
Regards,
Yakov

1 Like

@b16b

Following your request in

I added Supported devices section to Moes switches in readme file.

The master branch now contains all the fixes, described above, including support for Moes 2 and 3 gang switches, backlight control support for Moes switches and children updates after disconnects that improve the situation after sleepy devices disconnects, but does not solve the problem completely, probably because the devices are used in automation

1 Like

Hi @ygerlovin,

Thank you very much for the changes. I can confirm that after updating the child and right after, the parent (DH), my 3 gangs switch works normally. Also, 2 gangs switches are working fine.

I have a Moes 4 gangs switch here to install in the future. I’ll post updates here as soon as I have it installed.

Thanks again!!

2 Likes

Hi @iwry ,

You are welcome and thanks for the update.
I would guess, the backlight and the parent switch will not work with your 4 gang switch.
Luckily, it will be very easy to fix if you provide zigbee join.

Cheers,
Yakov

1 Like

Hi I have a moes 3 gang zigbee switch model # ZTS-EU I tried this DH the parent works but it won’t create any child switches. Would appreciate any kind of help.

Hi @al_baptiste ,

Please provide zbjoin message of your switch.
Thanks

Have you set on settings that the child is 3?

Hey i notice you like to use Modules. Im currrently installing these and cant find 3 and 4 gang zigbee switch modules. By any chance you have one?