Devices don't work after period of time

Hello All,

Since yesterday that l know 2 devices (TUYA switch) stop working. The command that l send from HE is not executed by the switch. Also when l manually turn the switch on or off the status don't change in HE. So l need to re-add the device. When l do that its working fine for couple of hours.

I think that l don't use the right drivers for it. But maybe someone @kkossev :smiley: can help me

Gr Tayfun

I remember that I have seen similar complaints in SmartThings and HomeAssistant forums... But don't remember if there was a solution or not. The problem is specific to particular Tyua switches only.

Please post the problematic device fingerprint (generated by the 'device' driver) or the information from the 'Data' section (model and manufacturer).

Should l re-add the device and make screenshot of first adding and the log?

Yes, please.

or this page is enough?

Hi @kkossev,

this is first add page:
image

Also logging after adding:

2022-11-23 09:52:31.362debugZemismart ZigBee Wall Switch Multi-Gang Zemismart ZigBee Wall Switch Multi-Gang unprocessed EP: 00 cluster: 8005 attrId: null

dev:2712022-11-23 09:52:31.359debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:catchall: 0000 8005 00 00 0040 00 C222 00 00 0000 00 00 950022C2020102, profileId:0000, clusterId:8005, clusterInt:32773, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:C222, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[95, 00, 22, C2, 02, 01, 02]]

dev:2712022-11-23 09:52:30.906warnZemismart ZigBee Wall Switch Multi-Gang Child device 271-01 not found. Initialise parent device first

dev:2712022-11-23 09:52:30.904debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:C2220100060A00001000, dni:C222, endpoint:01, cluster:0006, size:0A, attrId:0000, encoding:10, command:01, value:00, clusterInt:6, attrInt:0]

dev:2712022-11-23 09:52:30.695debugZemismart ZigBee Wall Switch Multi-Gang Zemismart ZigBee Wall Switch Multi-Gang unprocessed EP: null cluster: null attrId: FFDF

dev:2712022-11-23 09:52:30.693debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:C22201000012DFFF4205049B102B12, dni:C222, endpoint:01, cluster:0000, size:12, attrId:FFDF, encoding:42, command:0A, value:›+, clusterInt:0, attrInt:65503]

dev:2712022-11-23 09:52:30.122debugZemismart ZigBee Wall Switch Multi-Gang Zemismart ZigBee Wall Switch Multi-Gang unprocessed EP: null cluster: null attrId: 0001

dev:2712022-11-23 09:52:30.119debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:C2220100001801002050E2FF2037E4FF2000, dni:C222, endpoint:01, cluster:0000, size:18, attrId:0001, encoding:20, command:0A, value:50, clusterInt:0, attrInt:1, additionalAttrs:[[value:37, encoding:20, attrId:FFE2, consumedBytes:4, attrInt:65506], [value:00, encoding:20, attrId:FFE4, consumedBytes:4, attrInt:65508]]]

dev:2712022-11-23 09:52:30.024warnZemismart ZigBee Wall Switch Multi-Gang Child device 271-02 not found. Initialise parent device first

dev:2712022-11-23 09:52:29.997debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:C2220200061C0000100001402100000240210000, dni:C222, 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:2712022-11-23 09:52:29.432warnZemismart ZigBee Wall Switch Multi-Gang Child device 271-01 not found. Initialise parent device first

dev:2712022-11-23 09:52:29.428debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:C2220100062C00001000014021000002402100000180300102803002, dni:C222, 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:02, encoding:30, attrId:8002, consumedBytes:4, attrInt:32770]]]

dev:2712022-11-23 09:52:28.866debugZemismart ZigBee Wall Switch Multi-Gang Zemismart ZigBee Wall Switch Multi-Gang unprocessed EP: 01 cluster: 0006 attrId: null

dev:2712022-11-23 09:52:28.863debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:catchall: 0104 0006 01 01 0040 00 C222 00 00 0000 07 01 00000000, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:C222, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:07, direction:01, data:[00, 00, 00, 00]]

dev:2712022-11-23 09:52:27.146debugZemismart ZigBee Wall Switch Multi-Gang Zemismart ZigBee Wall Switch Multi-Gang unprocessed EP: 00 cluster: 8021 attrId: null

dev:2712022-11-23 09:52:27.143debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:catchall: 0000 8021 00 00 0040 00 C222 00 00 0000 00 00 9D00, profileId:0000, clusterId:8021, clusterInt:32801, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:C222, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[9D, 00]]

dev:2712022-11-23 09:52:26.906warnZemismart ZigBee Wall Switch Multi-Gang Child device 271-02 not found. Initialise parent device first

dev:2712022-11-23 09:52:26.903debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:C2220200060800001000, dni:C222, endpoint:02, cluster:0006, size:08, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0]

dev:2712022-11-23 09:52:26.683warnZemismart ZigBee Wall Switch Multi-Gang Child device 271-01 not found. Initialise parent device first

dev:2712022-11-23 09:52:26.676debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:C2220100060800001000, dni:C222, endpoint:01, cluster:0006, size:08, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0]

dev:2712022-11-23 09:52:26.639debugZemismart ZigBee Wall Switch Multi-Gang Zemismart ZigBee Wall Switch Multi-Gang unprocessed EP: null cluster: null attrId: 0004

dev:2712022-11-23 09:52:26.635debugZemismart ZigBee Wall Switch Multi-Gang Parsed: [raw:C22201000068040042105F545A333030305F6539386B7276766B0000002003010000205005000042065453303031320700003003FEFF003000, dni:C222, endpoint:01, cluster:0000, size:68, attrId:0004, encoding:42, command:01, value:_TZ3000_e98krvvk, clusterInt:0, attrInt:4, additionalAttrs:[[value:03, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:50, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0012, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]

dev:2712022-11-23 09:52:26.628infoZemismart ZigBee Wall Switch Multi-Gang InitializeVars()... fullInit = false

dev:2712022-11-23 09:52:26.627debugZemismart ZigBee Wall Switch Multi-Gang updating the settings from the current driver version null to the new version 0.2.9 2022/09/29 7:47 AM

dev:2712022-11-23 09:52:26.464debugZemismart ZigBee Wall Switch Multi-Gang sendZigbeeCommands received : [he raw 0xC222 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 200, zdo bind 0xC222 0x01 0x01 6 {A4C138A8AACF7A5B} {}, delay 2000, he cr 0xC222 0x01 6 0 16 0 600 {}, delay 2000, he rattr 0xC222 0x01 6 0 {}, delay 2000]

dev:2712022-11-23 09:52:26.459debugZemismart ZigBee Wall Switch Multi-Gang configure()..

dev:2712022-11-23 09:52:26.452debugZemismart ZigBee Wall Switch Multi-Gang Parent installed

And then l change it to another driver:

dev:2712022-11-23 09:55:50.843debugGang en Voordeur buiten : Skipping discovery message.

dev:2712022-11-23 09:55:50.840traceGang en Voordeur buiten : processMap() : [raw:catchall: 0000 8021 00 00 0040 00 C222 00 00 0000 00 00 B082, profileId:0000, clusterId:8021, clusterInt:32801, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:C222, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[B0, 82]]

dev:2712022-11-23 09:55:50.835traceGang en Voordeur buiten : parse() : catchall: 0000 8021 00 00 0040 00 C222 00 00 0000 00 00 B082

dev:2712022-11-23 09:55:48.768infoGang en Voordeur buiten : Relay Configuration : Successful

dev:2712022-11-23 09:55:48.766traceGang en Voordeur buiten : processMap() : [raw:catchall: 0104 0006 01 01 0040 00 C222 00 00 0000 07 01 00000000, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:C222, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:07, direction:01, data:[00, 00, 00, 00]]

dev:2712022-11-23 09:55:48.762traceGang en Voordeur buiten : parse() : catchall: 0104 0006 01 01 0040 00 C222 00 00 0000 07 01 00000000

dev:2712022-11-23 09:55:47.411debugGang en Voordeur buiten : Received 2 outClusters : 0019,000A

dev:2712022-11-23 09:55:47.410debugGang en Voordeur buiten : Received 5 inClusters : 0003,0004,0005,0006,0000

dev:2712022-11-23 09:55:47.398traceGang en Voordeur buiten : processMap() : [raw:catchall: 0000 8004 00 00 0040 00 C222 00 00 0000 00 00 AE0022C21601040100010105030004000500060000000219000A00, profileId:0000, clusterId:8004, clusterInt:32772, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:C222, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[AE, 00, 22, C2, 16, 01, 04, 01, 00, 01, 01, 05, 03, 00, 04, 00, 05, 00, 06, 00, 00, 00, 02, 19, 00, 0A, 00]]

dev:2712022-11-23 09:55:47.392traceGang en Voordeur buiten : parse() : catchall: 0000 8004 00 00 0040 00 C222 00 00 0000 00 00 AE0022C21601040100010105030004000500060000000219000A00

dev:2712022-11-23 09:55:47.185debugGang en Voordeur buiten : Model : TS0012

dev:2712022-11-23 09:55:47.182traceGang en Voordeur buiten : processMap() : [raw:C2220100001605004206545330303132, dni:C222, endpoint:01, cluster:0000, size:16, attrId:0005, encoding:42, command:01, value:TS0012, clusterInt:0, attrInt:5]

dev:2712022-11-23 09:55:47.177traceGang en Voordeur buiten : parse() : read attr - raw: C2220100001605004206545330303132, dni: C222, endpoint: 01, cluster: 0000, size: 16, attrId: 0005, encoding: 42, command: 01, value: 06545330303132

dev:2712022-11-23 09:55:47.077debugGang en Voordeur buiten : Manufacturer : _TZ3000_e98krvvk

dev:2712022-11-23 09:55:47.074traceGang en Voordeur buiten : processMap() : [raw:C2220100002A040042105F545A333030305F6539386B7276766B, dni:C222, endpoint:01, cluster:0000, size:2A, attrId:0004, encoding:42, command:01, value:_TZ3000_e98krvvk, clusterInt:0, attrInt:4]

dev:2712022-11-23 09:55:47.068traceGang en Voordeur buiten : parse() : read attr - raw: C2220100002A040042105F545A333030305F6539386B7276766B, dni: C222, endpoint: 01, cluster: 0000, size: 2A, attrId: 0004, encoding: 42, command: 01, value: 105F545A333030305F6539386B7276766B

dev:2712022-11-23 09:55:46.959debugGang en Voordeur buiten : Application : 50

dev:2712022-11-23 09:55:46.957traceGang en Voordeur buiten : processMap() : [raw:C2220100000A01002050, dni:C222, endpoint:01, cluster:0000, size:0A, attrId:0001, encoding:20, command:01, value:50, clusterInt:0, attrInt:1]

dev:2712022-11-23 09:55:46.952traceGang en Voordeur buiten : parse() : read attr - raw: C2220100000A01002050, dni: C222, endpoint: 01, cluster: 0000, size: 0A, attrId: 0001, encoding: 20, command: 01, value: 50

dev:2712022-11-23 09:55:46.844debugGang en Voordeur buiten : Skipping discovery message.

dev:2712022-11-23 09:55:46.841traceGang en Voordeur buiten : processMap() : [raw:catchall: 0000 8021 00 00 0040 00 C222 00 00 0000 00 00 AA00, profileId:0000, clusterId:8021, clusterInt:32801, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:C222, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[AA, 00]]

dev:2712022-11-23 09:55:46.837traceGang en Voordeur buiten : parse() : catchall: 0000 8021 00 00 0040 00 C222 00 00 0000 00 00 AA00

dev:2712022-11-23 09:55:13.943warnGang en Voordeur buiten Child device 271-01 not found. Initialise parent device first

dev:2712022-11-23 09:55:13.941debugGang en Voordeur buiten Parsed: [raw:C2220100060A00001000, dni:C222, endpoint:01, cluster:0006, size:0A, attrId:0000, encoding:10, command:01, value:00, clusterInt:6, attrInt:0]

dev:2712022-11-23 09:55:11.823debugGang en Voordeur buiten Gang en Voordeur buiten unprocessed EP: 01 cluster: 0006 attrId: null

dev:2712022-11-23 09:55:11.821debugGang en Voordeur buiten Parsed: [raw:catchall: 0104 0006 01 01 0040 00 C222 00 00 0000 07 01 00000000, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:C222, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:07, direction:01, data:[00, 00, 00, 00]]

dev:2712022-11-23 09:55:11.601warnGang en Voordeur buiten Child device 271-01 not found. Initialise parent device first

dev:2712022-11-23 09:55:11.599debugGang en Voordeur buiten Parsed: [raw:C2220100060A00001000, dni:C222, endpoint:01, cluster:0006, size:0A, attrId:0000, encoding:10, command:01, value:00, clusterInt:6, attrInt:0]

dev:2712022-11-23 09:55:09.988debugGang en Voordeur buiten Gang en Voordeur buiten unprocessed EP: 00 cluster: 8021 attrId: null

dev:2712022-11-23 09:55:09.986debugGang en Voordeur buiten Parsed: [raw:catchall: 0000 8021 00 00 0040 00 C222 00 00 0000 00 00 A600, profileId:0000, clusterId:8021, clusterInt:32801, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:C222, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[A6, 00]]

dev:2712022-11-23 09:55:09.882debugGang en Voordeur buiten Gang en Voordeur buiten unprocessed EP: null cluster: null attrId: 0004

dev:2712022-11-23 09:55:09.878debugGang en Voordeur buiten Parsed: [raw:C22201000068040042105F545A333030305F6539386B7276766B0000002003010000205005000042065453303031320700003003FEFF003000, dni:C222, endpoint:01, cluster:0000, size:68, attrId:0004, encoding:42, command:01, value:_TZ3000_e98krvvk, clusterInt:0, attrInt:4, additionalAttrs:[[value:03, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:50, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0012, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]

dev:2712022-11-23 09:55:09.771debugGang en Voordeur buiten Gang en Voordeur buiten unprocessed EP: 01 cluster: 0006 attrId: null

dev:2712022-11-23 09:55:09.769debugGang en Voordeur buiten Parsed: [raw:catchall: 0104 0006 01 01 0040 00 C222 00 00 0000 07 01 00000000, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:C222, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:07, direction:01, data:[00, 00, 00, 00]]

dev:2712022-11-23 09:55:09.553debugGang en Voordeur buiten sendZigbeeCommands received : [he raw 0xC222 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 200, zdo bind 0xC222 0x01 0x01 6 {A4C138A8AACF7A5B} {}, delay 2000, he cr 0xC222 0x01 6 0 16 0 600 {}, delay 2000, he rattr 0xC222 0x01 6 0 {}, delay 2000]

dev:2712022-11-23 09:55:09.546debugGang en Voordeur buiten configure()..

dev:2712022-11-23 09:55:07.594debugGang en Voordeur buiten Gang en Voordeur buiten unprocessed EP: 00 cluster: 8021 attrId: null

dev:2712022-11-23 09:55:07.590debugGang en Voordeur buiten Parsed: [raw:catchall: 0000 8021 00 00 0040 00 C222 00 00 0000 00 00 A300, profileId:0000, clusterId:8021, clusterInt:32801, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:C222, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[A3, 00]]

dev:2712022-11-23 09:55:07.311debugGang en Voordeur buiten Gang en Voordeur buiten unprocessed EP: null cluster: null attrId: 0004

dev:2712022-11-23 09:55:07.303debugGang en Voordeur buiten Parsed: [raw:C22201000068040042105F545A333030305F6539386B7276766B0000002003010000205005000042065453303031320700003003FEFF003000, dni:C222, endpoint:01, cluster:0000, size:68, attrId:0004, encoding:42, command:01, value:_TZ3000_e98krvvk, clusterInt:0, attrInt:4, additionalAttrs:[[value:03, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:50, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0012, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]

dev:2712022-11-23 09:55:07.213debugGang en Voordeur buiten sendZigbeeCommands received : [he raw 0xC222 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 200, zdo bind 0xC222 0x01 0x01 6 {A4C138A8AACF7A5B} {}, delay 2000, he cr 0xC222 0x01 6 0 16 0 600 {}, delay 2000, he rattr 0xC222 0x01 6 0 {}, delay 2000]

dev:2712022-11-23 09:55:07.208debugGang en Voordeur buiten configure().

1 Like

Thank you, copying and pasting the text from the logs is much better because the manufacturer was not readable on the screenshot.

I have no idea what could be wrong with this device at the moment, hopefully will have the time to research more in the next days,

1 Like

I have a similar problem.
I have a Tuya switch, I made a rule with rule machine when the switch should turn on and off, but sometimes it just disregards the turning off signal and remains turned on

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.