Hi @OhJungTae I have a zigbee module that can easily connected to smartthing and identify as “Thing”
It is 2 gangs switch that works in Tuya zigbee hub. These are the parameters i’m getting in IDE :
Data :
- application: 41
- endpointId: 01
- manufacturer: _TZ3000_fvh3pjaz
- model: TS0012
- onOff: catchall
- zigbeeNodeType: SLEEPY_END_DEVICE
Raw Description :
01 0104 0100 01 04 0000 0004 0005 0006 02 0019 000A
I can connect it to smartthing hub as a Thing and I changed the DTH to WooBooung integrated-zigbee-switch in IDE and it works very fine and I can control the switch both gangs from smartthings app but after 2 minutes both 2 switches/gangs switch OFF
I tried many times and same results, and I did follow your instruction to modify the DTH for integrated-zigbee-switch and add my model name but unfortunately didnt work !
I do appreciate if any can give me any hints to solve this issue
PS: this is my device
Thanks
Switch 1 logs:
df96ffaa-5cf2-47e3-ad91-1a97ad296894 2:25:42 AM: debug checkAllSwtichValue null : off
df96ffaa-5cf2-47e3-ad91-1a97ad296894 2:25:42 AM: debug parse - sendEvent child 02
df96ffaa-5cf2-47e3-ad91-1a97ad296894 2:25:42 AM: debug eventMap [name:switch, value:off] | eventDescMap [raw:0104 0006 02 01 0000 00 D54B 00 00 0000 0A 01 0000100001402100000240210000, profileId:0104, clusterId:0006, sourceEndpoint:02, destinationEndpoint:01, options:0000, messageType:00, dni:D54B, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0A, direction:01, attrId:0000, encoding:10, value:00, isValidForDataType:true, unparsedData:[01, 40, 21, 00, 00, 02, 40, 21, 00, 00], additionalAttrs:[[attrId:4001, attrInt:16385, encoding:21, value:0000, isValidForDataType:true, consumedBytes:10], [attrId:4002, attrInt:16386, encoding:21, value:0000, isValidForDataType:true, consumedBytes:10]], data:[00, 00, 10, 00, 01, 40, 21, 00, 00, 02, 40, 21, 00, 00], clusterInt:6, attrInt:0, commandInt:10]
df96ffaa-5cf2-47e3-ad91-1a97ad296894 2:25:42 AM: debug checkAllSwtichValue null : off
df96ffaa-5cf2-47e3-ad91-1a97ad296894 2:25:42 AM: debug parse - sendEvent parent 01
df96ffaa-5cf2-47e3-ad91-1a97ad296894 2:25:42 AM: debug eventMap [name:switch, value:off] | eventDescMap [raw:0104 0006 01 01 0000 00 D54B 00 00 0000 0A 01 00001000014021000002402100000180300102803000, profileId:0104, clusterId:0006, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:D54B, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0A, direction:01, attrId:0000, encoding:10, value:00, isValidForDataType:true, unparsedData:[01, 40, 21, 00, 00, 02, 40, 21, 00, 00, 01, 80, 30, 01, 02, 80, 30, 00], additionalAttrs:[[attrId:4001, attrInt:16385, encoding:21, value:0000, isValidForDataType:true, consumedBytes:10], [attrId:4002, attrInt:16386, encoding:21, value:0000, isValidForDataType:true, consumedBytes:10], [attrId:8001, attrInt:32769, encoding:30, value:01, isValidForDataType:true, consumedBytes:8], [attrId:8002, attrInt:32770, encoding:30, value:00, isValidForDataType:true, consumedBytes:8]], data:[00, 00, 10, 00, 01, 40, 21, 00, 00, 02, 40, 21, 00, 00, 01, 80, 30, 01, 02, 80, 30, 00], clusterInt:6, attrInt:0, commandInt:10]
df96ffaa-5cf2-47e3-ad91-1a97ad296894 2:25:28 AM: debug checkAllSwtichValue null : off
df96ffaa-5cf2-47e3-ad91-1a97ad296894 2:25:28 AM: debug parse - sendEvent child 02
df96ffaa-5cf2-47e3-ad91-1a97ad296894 2:25:28 AM: debug eventMap [name:switch, value:off] | eventDescMap [raw:0104 0006 02 01 0000 00 D54B 00 00 0000 0A 01 0000100001402100000240210000, profileId:0104, clusterId:0006, sourceEndpoint:02, destinationEndpoint:01, options:0000, messageType:00, dni:D54B, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0A, direction:01, attrId:0000, encoding:10, value:00, isValidForDataType:true, unparsedData:[01, 40, 21, 00, 00, 02, 40, 21, 00, 00], additionalAttrs:[[attrId:4001, attrInt:16385, encoding:21, value:0000, isValidForDataType:true, consumedBytes:10], [attrId:4002, attrInt:16386, encoding:21, value:0000, isValidForDataType:true, consumedBytes:10]], data:[00, 00, 10, 00, 01, 40, 21, 00, 00, 02, 40, 21, 00, 00], clusterInt:6, attrInt:0, commandInt:10]
df96ffaa-5cf2-47e3-ad91-1a97ad296894 2:25:28 AM: debug checkAllSwtichValue null : off
df96ffaa-5cf2-47e3-ad91-1a97ad296894 2:25:28 AM: debug parse - sendEvent parent 01
df96ffaa-5cf2-47e3-ad91-1a97ad296894 2:25:28 AM: debug eventMap [name:switch, value:off] | eventDescMap [raw:0104 0006 01 01 0000 00 D54B 00 00 0000 0A 01 00001000014021000002402100000180300102803000, profileId:0104, clusterId:0006, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:D54B, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0A, direction:01, attrId:0000, encoding:10, value:00, isValidForDataType:true, unparsedData:[01, 40, 21, 00, 00, 02, 40, 21, 00, 00, 01, 80, 30, 01, 02, 80, 30, 00], additionalAttrs:[[attrId:4001, attrInt:16385, encoding:21, value:0000, isValidForDataType:true, consumedBytes:10], [attrId:4002, attrInt:16386, encoding:21, value:0000, isValidForDataType:true, consumedBytes:10], [attrId:8001, attrInt:32769, encoding:30, value:01, isValidForDataType:true, consumedBytes:8], [attrId:8002, attrInt:32770, encoding:30, value:00, isValidForDataType:true, consumedBytes:8]], data:[00, 00, 10, 00, 01, 40, 21, 00, 00, 02, 40, 21, 00, 00, 01, 80, 30, 01, 02, 80, 30, 00], clusterInt:6, attrInt:0, commandInt:10]
df96ffaa-5cf2-47e3-ad91-1a97ad296894 2:25:19 AM: debug checkAllSwtichValue null : on
df96ffaa-5cf2-47e3-ad91-1a97ad296894 2:25:19 AM: debug parse - sendEvent child 02
df96ffaa-5cf2-47e3-ad91-1a97ad296894 2:25:19 AM: debug eventMap [name:switch, value:off] | eventDescMap [raw:0104 0006 02 01 0000 00 D54B 00 00 0000 01 01 0000001000, profileId:0104, clusterId:0006, sourceEndpoint:02, destinationEndpoint:01, options:0000, messageType:00, dni:D54B, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, attrId:0000, resultCode:00, encoding:10, value:00, isValidForDataType:true, data:[00, 00, 00, 10, 00], clusterInt:6, attrInt:0, commandInt:1]
df96ffaa-5cf2-47e3-ad91-1a97ad296894 2:25:17 AM: debug checkAllSwtichValue null : on
df96ffaa-5cf2-47e3-ad91-1a97ad296894 2:25:17 AM: debug parse - sendEvent parent 01
df96ffaa-5cf2-47e3-ad91-1a97ad296894 2:25:17 AM: debug eventMap [name:switch, value:on] | eventDescMap [raw:0104 0006 01 01 0000 00 D54B 00 00 0000 01 01 0000001001, profileId:0104, clusterId:0006, sourceEndpoint:01, destinationEndpoint:01, options:0000, messageType:00, dni:D54B, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, attrId:0000, resultCode:00, encoding:10, value:01, isValidForDataType:true, data:[00, 00, 00, 10, 01], clusterInt:6, attrInt:0, commandInt:1]
df96ffaa-5cf2-47e3-ad91-1a97ad296894 2:25:16 AM: debug refresh 02
df96ffaa-5cf2-47e3-ad91-1a97ad296894 2:25:16 AM: debug Bandi ZigBee Switch 2
df96ffaa-5cf2-47e3-ad91-1a97ad296894 2:25:16 AM: debug getEndpointCount[TS0012] : 2
Switch 2 logs:
90cfe364-428c-46e1-864c-a0717ce00fd3 2:28:12 AM: error java.lang.NumberFormatException: For input string: “D54B:02” @line 439 (refresh)
90cfe364-428c-46e1-864c-a0717ce00fd3 2:28:12 AM: debug updated()
90cfe364-428c-46e1-864c-a0717ce00fd3 2:28:12 AM: debug updated()