Also, after any change to DHT, I need new logs.
The old logs are not relevant to the new code.
Therefore, after any changes to the handler’s code, the new logs should be collected.
Does it make any sense?
Oh OK I do not know that I will post it in an hoir
I made some small changes, please use the following version and collect the logs:
Have you deleted the old device?
From the logs it looks like the handler sends commands to the old DNI
Try to remove all Moes devices then perform join again.
Also it is essential that the log is started before zigbee join , so it would contain all device install, configure and update events. Please post logs as text, images are not searchable.
Thank you
Yes I remove all the devuces
I will do it again I will re add and I will post the logs as text
In around 1 hour if you want I can give you my phone and send you via whatsapp or anydesk
Thanks.
Do I understand correctly that all child devices are working fine now?
It looks like your device does not respond to 0xD DP(which controls all channels with single command).
I need to see how it can be fixed.
I’m not sure why it is not being recognized by the handler, I copy&pasted your fingerprint from the zigbee join event. Is it possible you have another custom Tuya handler that overlaps with the current one?
Also, do you have a backlight on your switch?
yes all switchies working and parent follow the switchies
but does not work when you tap it
but when give me your device handler for first time with just 2 gangs
the parent turn on the 2 gangs and off 2 gangs
Do you have a link to your switch, perhaps on Moes site?
i buy it from here
at hubitat have find way to turn off the leds on the switch etc… can take a look?
Let’s try and see whether I’m able to detect Moes device and provide a different handling for it
https://bitbucket.org/yashik_gt/smartthings/src/ts0601-kostas/SmartHome4U/
Please provide a regular logs from IDE, no need to format it, just copy & paste
I’m glad I could help.
Moes Zigbee wall switch support was merged into master branch
Hi,
I found some info about Moes switches (not exactly as yours), regarding backlight support.
I added Moes support accordingly, in case you want to give it a try
https://bitbucket.org/yashik_gt/smartthings/src/TS0601-backlight-moes/SmartHome4U/
Cheers,
Yakov
working and thank you again
but you have do a mistake on code
when you have it @ position that is the default on code you use the word position and on settings you use the word position [moes only] so think that is diffrent and not working
i delete the [moes only]
and then worked
Good catch, thanks.
I will fix it and merge to master
Backlight support for Moes wall switch was delivered to the master branch.
Cheers
Great jib thank you, You will buy any switch for your home?
@b16b you are welcome.
I usually prefer placing modules, behind regular wall switches, so probably not.
Having said that, it was fairly easy to add backlight support for your switch, as I found some threads about it. So I added it, just in case someone would find it useful
Hello. I have the same device but mine is the US version.
The device handlers doesn’t seem to work for me. There’s no backlight on the switch, and when I turn on one of the gangs, it turns on the others (or sometimes just another gang).
Hi,
Could you please provide
- the link to your product
- zigbee join data for you device
- Live logs as a text for this device only
- The device handler you are using (if it is not the one that posted above)
Hi Yakov. I’m new to Smartthings and am not a developer or a coder, so hopefully I correctly gathered the data below.
- I purchased the switch elsewhere, but it should be identical as this one:
{“dni”:“2FDE”,“d”:“84FD27FFFE60D47C”,“capabilities”:“80”,“endpoints”:[{“simple”:“01 0104 0051 01 04 0000 0004 0005 EF00 02 0019 000A”,“application”:“42”,“manufacturer”:"_TZE200_tz32mtza",“model”:“TS0601”}],“parent”:0,“joinType”:1,“joinDurationMs”:2543,“joinAttempts”:1}">
zbjoin: {"dni":"2FDE","d":"84FD27FFFE60D47C","capabilities":"80","endpoints":[{"simple":"01 0104 0051 01 04 0000 0004 0005 EF0...
-
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:59:25 AM: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 2FDE 00 00 0000 0B 01 0000’ descMap is [raw:0104 EF00 01 01 0000 00 2FDE 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:2FDE, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00], clusterInt:61184, commandInt:11]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:59:25 AM: debug sendCommandsToDevice(): delay=300 cmds=[st cmd 0x2FDE 0x01 0xEF00 0x00 {000a0201000101}, delay 2000] actions=[st cmd 0x2FDE 0x01 0xEF00 0x00 {000a0201000101}, delay 2000]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:59:25 AM: debug childOnOff(): endPoint=2 turnOn=true cmds=[st cmd 0x2FDE 0x01 0xEF00 0x00 {000a0201000101}, delay 2000]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:59:25 AM: debug createTuyaCommand(): dp=02 type=01 len=0001 value=01 → cmd=[st cmd 0x2FDE 0x01 0xEF00 0x00 {000a0201000101}, delay 2000]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:59:25 AM: debug child on: [label:Thing-SW2, deviceNetworkId:2FDE-SW2] parent=[name:Thing]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:59:18 AM: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 2FDE 00 00 0000 0B 01 0000’ descMap is [raw:0104 EF00 01 01 0000 00 2FDE 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:2FDE, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00], clusterInt:61184, commandInt:11]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:59:17 AM: debug sendCommandsToDevice(): delay=300 cmds=[st cmd 0x2FDE 0x01 0xEF00 0x00 {00090201000100}, delay 2000] actions=[st cmd 0x2FDE 0x01 0xEF00 0x00 {00090201000100}, delay 2000]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:59:17 AM: debug childOnOff(): endPoint=2 turnOn=false cmds=[st cmd 0x2FDE 0x01 0xEF00 0x00 {00090201000100}, delay 2000]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:59:17 AM: debug createTuyaCommand(): dp=02 type=01 len=0001 value=00 → cmd=[st cmd 0x2FDE 0x01 0xEF00 0x00 {00090201000100}, delay 2000]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:59:17 AM: debug child off: [label:Thing-SW2, deviceNetworkId:2FDE-SW2] parent=[name:Thing]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:59:13 AM: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 2FDE 00 00 0000 0B 01 0000’ descMap is [raw:0104 EF00 01 01 0000 00 2FDE 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:2FDE, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00], clusterInt:61184, commandInt:11]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:59:12 AM: debug sendCommandsToDevice(): delay=300 cmds=[st cmd 0x2FDE 0x01 0xEF00 0x00 {00080101000101}, delay 2000] actions=[st cmd 0x2FDE 0x01 0xEF00 0x00 {00080101000101}, delay 2000]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:59:12 AM: debug childOnOff(): endPoint=1 turnOn=true cmds=[st cmd 0x2FDE 0x01 0xEF00 0x00 {00080101000101}, delay 2000]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:59:12 AM: debug createTuyaCommand(): dp=01 type=01 len=0001 value=01 → cmd=[st cmd 0x2FDE 0x01 0xEF00 0x00 {00080101000101}, delay 2000]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:59:12 AM: debug child on: [label:Thing-SW1, deviceNetworkId:2FDE-SW1] parent=[name:Thing]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:59:02 AM: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 2FDE 00 00 0000 0B 01 0000’ descMap is [raw:0104 EF00 01 01 0000 00 2FDE 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:2FDE, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00], clusterInt:61184, commandInt:11]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:59:01 AM: debug sendCommandsToDevice(): delay=300 cmds=[st cmd 0x2FDE 0x01 0xEF00 0x00 {00070101000100}, delay 2000] actions=[st cmd 0x2FDE 0x01 0xEF00 0x00 {00070101000100}, delay 2000]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:59:01 AM: debug childOnOff(): endPoint=1 turnOn=false cmds=[st cmd 0x2FDE 0x01 0xEF00 0x00 {00070101000100}, delay 2000]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:59:01 AM: debug createTuyaCommand(): dp=01 type=01 len=0001 value=00 → cmd=[st cmd 0x2FDE 0x01 0xEF00 0x00 {00070101000100}, delay 2000]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:59:01 AM: debug child off: [label:Thing-SW1, deviceNetworkId:2FDE-SW1] parent=[name:Thing]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:54 AM: debug handleSwitchEvent(): EP=2 value=1 children=[1, 1, 0, 0, 0, 0] main=2
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:54 AM: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 2FDE 01 00 0000 01 01 00060201000101’ descMap is [raw:0104 EF00 01 01 0000 00 2FDE 01 00 0000 01 01 00060201000101, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:2FDE, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 06, 02, 01, 00, 01, 01], clusterInt:61184, commandInt:1]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:54 AM: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 2FDE 00 00 0000 0B 01 0000’ descMap is [raw:0104 EF00 01 01 0000 00 2FDE 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:2FDE, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00], clusterInt:61184, commandInt:11]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:50 AM: debug handleSwitchEvent(): EP=1 value=1 children=[1, 0, 0, 0, 0, 0] main=1
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:50 AM: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 2FDE 01 00 0000 01 01 00050101000101’ descMap is [raw:0104 EF00 01 01 0000 00 2FDE 01 00 0000 01 01 00050101000101, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:2FDE, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 05, 01, 01, 00, 01, 01], clusterInt:61184, commandInt:1]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:50 AM: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 2FDE 00 00 0000 0B 01 0000’ descMap is [raw:0104 EF00 01 01 0000 00 2FDE 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:2FDE, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00], clusterInt:61184, commandInt:11]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:50 AM: debug sendCommandsToDevice(): delay=500 cmds=[st cmd 0x2FDE 0x01 0xEF00 0x00 {00050101000101}, delay 2000, st cmd 0x2FDE 0x01 0xEF00 0x00 {00060201000101}, delay 2000] actions=[st cmd 0x2FDE 0x01 0xEF00 0x00 {00050101000101}, delay 2000, st cmd 0x2FDE 0x01 0xEF00 0x00 {00060201000101}, delay 2000]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:50 AM: debug createTuyaCommand(): dp=02 type=01 len=0001 value=01 → cmd=[st cmd 0x2FDE 0x01 0xEF00 0x00 {00060201000101}, delay 2000]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:50 AM: debug createTuyaCommand(): dp=01 type=01 len=0001 value=01 → cmd=[st cmd 0x2FDE 0x01 0xEF00 0x00 {00050101000101}, delay 2000]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:50 AM: debug on()…
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:50 AM: debug on()…
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:43 AM: debug handleSwitchEvent(): EP=2 value=0 children=[0, 0, 0, 0, 0, 0] main=0
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:43 AM: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 2FDE 01 00 0000 01 01 00040201000100’ descMap is [raw:0104 EF00 01 01 0000 00 2FDE 01 00 0000 01 01 00040201000100, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:2FDE, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 04, 02, 01, 00, 01, 00], clusterInt:61184, commandInt:1]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:43 AM: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 2FDE 00 00 0000 0B 01 0000’ descMap is [raw:0104 EF00 01 01 0000 00 2FDE 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:2FDE, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00], clusterInt:61184, commandInt:11]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:41 AM: debug handleSwitchEvent(): EP=1 value=0 children=[0, 0, 0, 0, 0, 0] main=0
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:41 AM: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 2FDE 01 00 0000 01 01 00030101000100’ descMap is [raw:0104 EF00 01 01 0000 00 2FDE 01 00 0000 01 01 00030101000100, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:2FDE, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 03, 01, 01, 00, 01, 00], clusterInt:61184, commandInt:1]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:41 AM: info parse(): description is ‘catchall: 0104 EF00 01 01 0000 00 2FDE 00 00 0000 0B 01 0000’ descMap is [raw:0104 EF00 01 01 0000 00 2FDE 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:2FDE, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00], clusterInt:61184, commandInt:11]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:39 AM: debug sendCommandsToDevice(): delay=500 cmds=[st cmd 0x2FDE 0x01 0xEF00 0x00 {00030101000100}, delay 2000, st cmd 0x2FDE 0x01 0xEF00 0x00 {00040201000100}, delay 2000] actions=[st cmd 0x2FDE 0x01 0xEF00 0x00 {00030101000100}, delay 2000, st cmd 0x2FDE 0x01 0xEF00 0x00 {00040201000100}, delay 2000]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:39 AM: debug createTuyaCommand(): dp=02 type=01 len=0001 value=00 → cmd=[st cmd 0x2FDE 0x01 0xEF00 0x00 {00040201000100}, delay 2000]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:39 AM: debug createTuyaCommand(): dp=01 type=01 len=0001 value=00 → cmd=[st cmd 0x2FDE 0x01 0xEF00 0x00 {00030101000100}, delay 2000]
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:39 AM: debug on()…
465225b1-1b4b-4820-8d7e-c44e04e864ca 10:58:39 AM: debug off()… -
I used your device handlers (relay and child)