[RELEASE] Tuya Zigbee Valve driver (w/ healthStatus)

I noticed my hub firmware was out of date so I updated that and tried to re-pair. Still no response to open/close but I do see now the RxCtr is 3.

image

Here is the full log from the point I paired up until I attempted to send open/close several times.

dev:7842023-03-12 10:19:30.288 AMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0x780E 0x01 6 1 {}, delay 2000])

dev:7842023-03-12 10:19:30.287 AMdebugWater Main Valve open()... sent cmds=[he cmd 0x780E 0x01 6 1 {}, delay 2000]

dev:7842023-03-12 10:19:28.614 AMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0x780E 0x01 6 0 {}, delay 2000])

dev:7842023-03-12 10:19:28.612 AMdebugWater Main Valve close()... sent cmds=[he cmd 0x780E 0x01 6 0 {}, delay 2000]

dev:7842023-03-12 10:19:23.179 AMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0x780E 0x01 6 1 {}, delay 2000])

dev:7842023-03-12 10:19:23.177 AMdebugWater Main Valve open()... sent cmds=[he cmd 0x780E 0x01 6 1 {}, delay 2000]

dev:7842023-03-12 10:19:20.807 AMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0x780E 0x01 6 0 {}, delay 2000])

dev:7842023-03-12 10:19:20.806 AMdebugWater Main Valve close()... sent cmds=[he cmd 0x780E 0x01 6 0 {}, delay 2000]

dev:7842023-03-12 10:19:14.891 AMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0x780E 0x01 6 0 {}, delay 2000])

dev:7842023-03-12 10:19:14.890 AMdebugWater Main Valve close()... sent cmds=[he cmd 0x780E 0x01 6 0 {}, delay 2000]

dev:7842023-03-12 10:19:10.091 AMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0x780E 0x01 6 1 {}, delay 2000])

dev:7842023-03-12 10:19:10.090 AMdebugWater Main Valve open()... sent cmds=[he cmd 0x780E 0x01 6 1 {}, delay 2000]

dev:7842023-03-12 10:19:00.937 AMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0x780E 0x01 6 0 {}, delay 2000])

dev:7842023-03-12 10:19:00.935 AMdebugWater Main Valve close()... sent cmds=[he cmd 0x780E 0x01 6 0 {}, delay 2000]

dev:7842023-03-12 10:18:42.355 AMinfoTuya Zigbee Valve Initialization finished

dev:7842023-03-12 10:18:39.603 AMdebugTuya Zigbee Valve parseZHAcommand writeAttributeResponse cluster: 0000 status:86

dev:7842023-03-12 10:18:39.598 AMdebugTuya Zigbee Valve Desc Map: [raw:catchall: 0104 0000 01 01 0040 00 780E 00 00 0000 04 01 86DEFF, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:780E, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[86, DE, FF]]

dev:7842023-03-12 10:18:39.595 AMdebugTuya Zigbee Valve parse: description is catchall: 0104 0000 01 01 0040 00 780E 00 00 0000 04 01 86DEFF

dev:7842023-03-12 10:18:39.567 AMdebugTuya Zigbee Valve Model is : TS0001

dev:7842023-03-12 10:18:39.565 AMdebugTuya Zigbee Valve Tuya check-in message (attribute 0001 reported: 64)

dev:7842023-03-12 10:18:39.564 AMdebugTuya Zigbee Valve zclVersion is : 02

dev:7842023-03-12 10:18:39.560 AMdebugTuya Zigbee Valve Manufacturer is : _TZ3000_5ucujjts

dev:7842023-03-12 10:18:39.500 AMdebugTuya Zigbee Valve Desc Map: [raw:780E01000064040042105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86, dni:780E, endpoint:01, cluster:0000, size:64, attrId:0004, encoding:42, command:01, value:_TZ3000_5ucujjts, clusterInt:0, attrInt:4, additionalAttrs:[[value:02, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:64, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0001, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]

dev:7842023-03-12 10:18:39.491 AMwarnexception caught while parsing description: read attr - raw: 780E01000064040042105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86, dni: 780E, endpoint: 01, cluster: 0000, size: 64, attrId: 0004, encoding: 42, command: 01, value: 105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86

dev:7842023-03-12 10:18:39.481 AMdebugTuya Zigbee Valve parse: description is read attr - raw: 780E01000064040042105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86, dni: 780E, endpoint: 01, cluster: 0000, size: 64, attrId: 0004, encoding: 42, command: 01, value: 105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86

dev:7842023-03-12 10:18:39.442 AMinfoTuya Zigbee Valve Tuya Zigbee Valve is open (Refresh)

dev:7842023-03-12 10:18:39.409 AMdebugTuya Zigbee Valve Valve state changed from unknown to open

dev:7842023-03-12 10:18:39.408 AMdebugTuya Zigbee Valve event [name:switch, value:on]

dev:7842023-03-12 10:18:39.404 AMdebugTuya Zigbee Valve parse: description is read attr - raw: 780E0100060A00001001, dni: 780E, endpoint: 01, cluster: 0006, size: 0A, attrId: 0000, encoding: 10, command: 01, value: 01

dev:7842023-03-12 10:18:39.312 AMdebugTuya Zigbee Valve sendZigbeeCommands (cmd=[he raw 0x780E 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 150, he wattr 0x780E 0x01 0x0000 0xFFDE 0x20 {0D} {}, delay 50, null, zdo bind 0x780E 0x01 0x01 6 {70B3D52B600136D7} {}, delay 2000, he cr 0x780E 0x01 6 0 16 0 600 {}, delay 2000, he wattr 0x780E 0x01 0xE001 0xD010 0x30 {02} {}, delay 251])

dev:7842023-03-12 10:18:39.310 AMdebugTuya Zigbee Valve settings.batteryReporting = null

dev:7842023-03-12 10:18:39.307 AMdebugTuya Zigbee Valve setting powerOnBehaviour to last state (2)

dev:7842023-03-12 10:18:39.298 AMdebugTuya Zigbee Valve sendZigbeeCommands (cmd=[he rattr 0x780E 0x01 6 0 {}, delay 2000])

dev:7842023-03-12 10:18:39.266 AMtraceTuya Zigbee Valve polling..

dev:7842023-03-12 10:18:39.265 AMdebugTuya Zigbee Valve sending refresh() command...

dev:7842023-03-12 10:18:39.258 AMinfoTuya Zigbee Valve configure()..

dev:7842023-03-12 10:18:39.256 AMinfoDebug logging will be automatically switched off after 24 hours

dev:7842023-03-12 10:18:39.223 AMinfoDebug logging is true Description text logging is true

dev:7842023-03-12 10:18:39.221 AMinfoUpdating null (Tuya Zigbee Valve) model UNKNOWN

dev:7842023-03-12 10:18:39.212 AMtrace destinationEP = 01

dev:7842023-03-12 10:18:39.211 AMtrace model = TS0001

dev:7842023-03-12 10:18:39.161 AMinfoTuya Zigbee Valve all states and scheduled jobs cleared!

dev:7842023-03-12 10:18:39.159 AMwarnTuya Zigbee Valve device model TS0001 manufacturer _TZ3000_5ucujjts was not found!

dev:7842023-03-12 10:18:39.156 AMwarnTuya Zigbee Valve unknown model TS0001 manufacturer _TZ3000_5ucujjts

dev:7842023-03-12 10:18:39.131 AMinfoTuya Zigbee Valve InitializeVars()... fullInit = true

dev:7842023-03-12 10:18:39.103 AMinfoTuya Zigbee Valve Initialize()...

dev:7842023-03-12 10:18:34.652 AMdebugTuya Zigbee Valve parseZHAcommand writeAttributeResponse cluster: 0000 status:86

dev:7842023-03-12 10:18:34.642 AMdebugTuya Zigbee Valve Desc Map: [raw:catchall: 0104 0000 01 01 0040 00 780E 00 00 0000 04 01 86DEFF, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:780E, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[86, DE, FF]]

dev:7842023-03-12 10:18:34.637 AMdebugTuya Zigbee Valve parse: description is catchall: 0104 0000 01 01 0040 00 780E 00 00 0000 04 01 86DEFF

dev:7842023-03-12 10:18:34.614 AMdebugTuya Zigbee Valve Model is : TS0001

dev:7842023-03-12 10:18:34.611 AMdebugTuya Zigbee Valve Tuya check-in message (attribute 0001 reported: 64)

dev:7842023-03-12 10:18:34.609 AMdebugTuya Zigbee Valve zclVersion is : 02

dev:7842023-03-12 10:18:34.606 AMdebugTuya Zigbee Valve Manufacturer is : _TZ3000_5ucujjts

dev:7842023-03-12 10:18:34.566 AMdebugTuya Zigbee Valve Desc Map: [raw:780E01000064040042105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86, dni:780E, endpoint:01, cluster:0000, size:64, attrId:0004, encoding:42, command:01, value:_TZ3000_5ucujjts, clusterInt:0, attrInt:4, additionalAttrs:[[value:02, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:64, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0001, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]

dev:7842023-03-12 10:18:34.554 AMwarnexception caught while parsing description: read attr - raw: 780E01000064040042105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86, dni: 780E, endpoint: 01, cluster: 0000, size: 64, attrId: 0004, encoding: 42, command: 01, value: 105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86

dev:7842023-03-12 10:18:34.528 AMdebugTuya Zigbee Valve parse: description is read attr - raw: 780E01000064040042105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86, dni: 780E, endpoint: 01, cluster: 0000, size: 64, attrId: 0004, encoding: 42, command: 01, value: 105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86

dev:7842023-03-12 10:18:34.488 AMinfoTuya Zigbee Valve Tuya Zigbee Valve is open (Refresh)

dev:7842023-03-12 10:18:34.454 AMdebugTuya Zigbee Valve Valve state changed from unknown to open

dev:7842023-03-12 10:18:34.447 AMdebugTuya Zigbee Valve event [name:switch, value:on]

dev:7842023-03-12 10:18:34.436 AMdebugTuya Zigbee Valve parse: description is read attr - raw: 780E0100060A00001001, dni: 780E, endpoint: 01, cluster: 0006, size: 0A, attrId: 0000, encoding: 10, command: 01, value: 01

dev:7842023-03-12 10:18:34.434 AMinfoTuya Zigbee Valve is online

dev:7842023-03-12 10:18:34.335 AMdebugTuya Zigbee Valve sendZigbeeCommands (cmd=[he raw 0x780E 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 150, he wattr 0x780E 0x01 0x0000 0xFFDE 0x20 {0D} {}, delay 50, null, zdo bind 0x780E 0x01 0x01 6 {70B3D52B600136D7} {}, delay 2000, he cr 0x780E 0x01 6 0 16 0 600 {}, delay 2000, he wattr 0x780E 0x01 0xE001 0xD010 0x30 {02} {}, delay 251])

dev:7842023-03-12 10:18:34.333 AMdebugTuya Zigbee Valve settings.batteryReporting = null

dev:7842023-03-12 10:18:34.321 AMdebugTuya Zigbee Valve setting powerOnBehaviour to last state (2)

dev:7842023-03-12 10:18:34.246 AMdebugTuya Zigbee Valve sendZigbeeCommands (cmd=[he rattr 0x780E 0x01 6 0 {}, delay 2000])

dev:7842023-03-12 10:18:34.207 AMtraceTuya Zigbee Valve polling..

dev:7842023-03-12 10:18:34.205 AMdebugTuya Zigbee Valve sending refresh() command...

dev:7842023-03-12 10:18:34.127 AMinfoTuya Zigbee Valve configure()..

dev:7842023-03-12 10:18:34.117 AMdebugcalling initialize() after 5 seconds...

dev:7842023-03-12 10:18:34.070 AMtrace destinationEP = 01

dev:7842023-03-12 10:18:34.068 AMtrace model = TS0001

dev:7842023-03-12 10:18:34.066 AMinfoTuya Zigbee Valve tuyaVersion set to 1.2.4

dev:7842023-03-12 10:18:33.970 AMinfoTuya Zigbee Valve all states and scheduled jobs cleared!

dev:7842023-03-12 10:18:33.963 AMwarnTuya Zigbee Valve device model TS0001 manufacturer _TZ3000_5ucujjts was not found!

dev:7842023-03-12 10:18:33.960 AMwarnTuya Zigbee Valve unknown model TS0001 manufacturer _TZ3000_5ucujjts

dev:7842023-03-12 10:18:33.922 AMinfoTuya Zigbee Valve InitializeVars()... fullInit = true

dev:7842023-03-12 10:18:33.911 AMinfoTuya Zigbee Valve Installed()...

I noticed in your code _TZ3000_5ucujjts had not been added to the manufacturers struct so I did that and that fixed this error:

Tuya Zigbee Valve device model TS0001 manufacturer _TZ3000_5ucujjts was not found!

I now see "powerSource: dc" in the Current States but still no response to open/close.

I've tried re-pairing several times and tried pushing open, close, and refresh. Still no luck but I'm now seeing some warnings in the log.

dev:7892023-03-12 12:19:37.541 PMdebugWater sendZigbeeCommands (cmd=[he rattr 0xB6C0 0x01 6 0 {}, delay 2000])

dev:7892023-03-12 12:19:37.504 PMtraceWater polling..

dev:7892023-03-12 12:19:37.503 PMdebugWater sending refresh() command...

dev:7892023-03-12 12:19:12.321 PMdebugWater parseZHAcommand writeAttributeResponse cluster: 0000 status:86

dev:7892023-03-12 12:19:12.318 PMdebugWater Desc Map: [raw:catchall: 0104 0000 01 01 0040 00 B6C0 00 00 0000 04 01 86DEFF, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:B6C0, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[86, DE, FF]]

dev:7892023-03-12 12:19:12.314 PMdebugWater parse: description is catchall: 0104 0000 01 01 0040 00 B6C0 00 00 0000 04 01 86DEFF

dev:7892023-03-12 12:19:12.295 PMdebugWater Model is : TS0001

dev:7892023-03-12 12:19:12.293 PMdebugWater Tuya check-in message (attribute 0001 reported: 64)

dev:7892023-03-12 12:19:12.292 PMdebugWater zclVersion is : 02

dev:7892023-03-12 12:19:12.290 PMdebugWater Manufacturer is : _TZ3000_5ucujjts

dev:7892023-03-12 12:19:12.286 PMdebugWater Desc Map: [raw:B6C001000064040042105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86, dni:B6C0, endpoint:01, cluster:0000, size:64, attrId:0004, encoding:42, command:01, value:_TZ3000_5ucujjts, clusterInt:0, attrInt:4, additionalAttrs:[[value:02, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:64, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0001, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]

dev:7892023-03-12 12:19:12.277 PMwarnexception caught while parsing description: read attr - raw: B6C001000064040042105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86, dni: B6C0, endpoint: 01, cluster: 0000, size: 64, attrId: 0004, encoding: 42, command: 01, value: 105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86

dev:7892023-03-12 12:19:12.263 PMdebugWater parse: description is read attr - raw: B6C001000064040042105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86, dni: B6C0, endpoint: 01, cluster: 0000, size: 64, attrId: 0004, encoding: 42, command: 01, value: 105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86

dev:7892023-03-12 12:19:12.207 PMinfoWater Water is closed (Refresh)

dev:7892023-03-12 12:19:12.176 PMdebugWater event [name:switch, value:off]

dev:7892023-03-12 12:19:12.173 PMdebugWater parse: description is read attr - raw: B6C00100060A00001000, dni: B6C0, endpoint: 01, cluster: 0006, size: 0A, attrId: 0000, encoding: 10, command: 01, value: 00

dev:7892023-03-12 12:19:11.993 PMinfoWater Received device announcement, data=[1F, C0, B6, D7, 36, 01, 60, 2B, D5, B3, 70, 8E] (Sequence Number:1F, Device network ID: B6C0, Capability Information: 8E)

dev:7892023-03-12 12:19:11.989 PMdebugWater Desc Map: [raw:catchall: 0000 0013 00 00 0040 00 B6C0 00 00 0000 00 00 1FC0B6D73601602BD5B3708E, profileId:0000, clusterId:0013, clusterInt:19, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:B6C0, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[1F, C0, B6, D7, 36, 01, 60, 2B, D5, B3, 70, 8E]]

dev:7892023-03-12 12:19:11.986 PMdebugWater parse: description is catchall: 0000 0013 00 00 0040 00 B6C0 00 00 0000 00 00 1FC0B6D73601602BD5B3708E

dev:7892023-03-12 12:19:11.929 PMdebugWater sendZigbeeCommands (cmd=[he raw 0xB6C0 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 150, he wattr 0xB6C0 0x01 0x0000 0xFFDE 0x20 {0D} {}, delay 50, null, zdo bind 0xB6C0 0x01 0x01 6 {70B3D52B600136D7} {}, delay 2000, he cr 0xB6C0 0x01 6 0 16 0 600 {}, delay 2000, he wattr 0xB6C0 0x01 0xE001 0xD010 0x30 {02} {}, delay 251])

dev:7892023-03-12 12:19:11.924 PMdebugWater setting powerOnBehaviour to last state (2)

dev:7892023-03-12 12:19:11.920 PMdebugWater sendZigbeeCommands (cmd=[he rattr 0xB6C0 0x01 6 0 {}, delay 2000])

dev:7892023-03-12 12:19:11.887 PMtraceWater polling..

dev:7892023-03-12 12:19:11.886 PMdebugWater sending refresh() command...

dev:7892023-03-12 12:19:11.878 PMinfoWater configure()..

dev:7892023-03-12 12:19:06.194 PMdebugWater Model is : TS0001

dev:7892023-03-12 12:19:06.193 PMdebugWater Tuya check-in message (attribute 0001 reported: 64)

dev:7892023-03-12 12:19:06.191 PMdebugWater zclVersion is : 02

dev:7892023-03-12 12:19:06.190 PMdebugWater Manufacturer is : _TZ3000_5ucujjts

dev:7892023-03-12 12:19:06.186 PMdebugWater Desc Map: [raw:BC6301000064040042105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86, dni:BC63, endpoint:01, cluster:0000, size:64, attrId:0004, encoding:42, command:01, value:_TZ3000_5ucujjts, clusterInt:0, attrInt:4, additionalAttrs:[[value:02, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:64, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0001, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]

dev:7892023-03-12 12:19:06.178 PMwarnexception caught while parsing description: read attr - raw: BC6301000064040042105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86, dni: BC63, endpoint: 01, cluster: 0000, size: 64, attrId: 0004, encoding: 42, command: 01, value: 105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86

dev:7892023-03-12 12:19:06.170 PMdebugWater parse: description is read attr - raw: BC6301000064040042105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86, dni: BC63, endpoint: 01, cluster: 0000, size: 64, attrId: 0004, encoding: 42, command: 01, value: 105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86

dev:7892023-03-12 12:19:06.155 PMinfoWater Water is closed (Refresh)

dev:7892023-03-12 12:19:06.104 PMdebugWater event [name:switch, value:off]

dev:7892023-03-12 12:19:06.101 PMdebugWater parse: description is read attr - raw: BC630100060A00001000, dni: BC63, endpoint: 01, cluster: 0006, size: 0A, attrId: 0000, encoding: 10, command: 01, value: 00

dev:7892023-03-12 12:19:05.738 PMinfoWater Received device announcement, data=[1C, 63, BC, D7, 36, 01, 60, 2B, D5, B3, 70, 8E] (Sequence Number:1C, Device network ID: BC63, Capability Information: 8E)

dev:7892023-03-12 12:19:05.734 PMdebugWater Desc Map: [raw:catchall: 0000 0013 00 00 0040 00 BC63 00 00 0000 00 00 1C63BCD73601602BD5B3708E, profileId:0000, clusterId:0013, clusterInt:19, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:BC63, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[1C, 63, BC, D7, 36, 01, 60, 2B, D5, B3, 70, 8E]]

dev:7892023-03-12 12:19:05.731 PMdebugWater parse: description is catchall: 0000 0013 00 00 0040 00 BC63 00 00 0000 00 00 1C63BCD73601602BD5B3708E

dev:7892023-03-12 12:19:05.689 PMdebugWater sendZigbeeCommands (cmd=[he raw 0xBC63 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 150, he wattr 0xBC63 0x01 0x0000 0xFFDE 0x20 {0D} {}, delay 50, null, zdo bind 0xBC63 0x01 0x01 6 {70B3D52B600136D7} {}, delay 2000, he cr 0xBC63 0x01 6 0 16 0 600 {}, delay 2000, he wattr 0xBC63 0x01 0xE001 0xD010 0x30 {02} {}, delay 251])

dev:7892023-03-12 12:19:05.686 PMdebugWater setting powerOnBehaviour to last state (2)

dev:7892023-03-12 12:19:05.682 PMdebugWater sendZigbeeCommands (cmd=[he rattr 0xBC63 0x01 6 0 {}, delay 2000])

dev:7892023-03-12 12:19:05.649 PMtraceWater polling..

dev:7892023-03-12 12:19:05.648 PMdebugWater sending refresh() command...

dev:7892023-03-12 12:19:05.640 PMinfoWater configure()..

dev:7892023-03-12 12:18:59.594 PMinfoWater Water is closed (Refresh)

dev:7892023-03-12 12:18:59.564 PMdebugWater event [name:switch, value:off]

dev:7892023-03-12 12:18:59.561 PMdebugWater parse: description is read attr - raw: CF8F0100060A00001000, dni: CF8F, endpoint: 01, cluster: 0006, size: 0A, attrId: 0000, encoding: 10, command: 01, value: 00

dev:7892023-03-12 12:18:59.548 PMdebugWater parseZHAcommand writeAttributeResponse cluster: 0000 status:86

dev:7892023-03-12 12:18:59.545 PMdebugWater Desc Map: [raw:catchall: 0104 0000 01 01 0040 00 CF8F 00 00 0000 04 01 86DEFF, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:CF8F, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[86, DE, FF]]

dev:7892023-03-12 12:18:59.535 PMdebugWater parse: description is catchall: 0104 0000 01 01 0040 00 CF8F 00 00 0000 04 01 86DEFF

dev:7892023-03-12 12:18:59.522 PMdebugWater Model is : TS0001

dev:7892023-03-12 12:18:59.520 PMdebugWater Tuya check-in message (attribute 0001 reported: 64)

dev:7892023-03-12 12:18:59.519 PMdebugWater zclVersion is : 02

dev:7892023-03-12 12:18:59.518 PMdebugWater Manufacturer is : _TZ3000_5ucujjts

dev:7892023-03-12 12:18:59.511 PMdebugWater Desc Map: [raw:CF8F01000064040042105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86, dni:CF8F, endpoint:01, cluster:0000, size:64, attrId:0004, encoding:42, command:01, value:_TZ3000_5ucujjts, clusterInt:0, attrInt:4, additionalAttrs:[[value:02, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:64, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0001, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]

dev:7892023-03-12 12:18:59.503 PMwarnexception caught while parsing description: read attr - raw: CF8F01000064040042105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86, dni: CF8F, endpoint: 01, cluster: 0000, size: 64, attrId: 0004, encoding: 42, command: 01, value: 105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86

Hi @hoffadg ,
Thank you for the detailed logs! I will have the time to analyze them later tonight or in the next days, but shortly:

  • These warnings are normal, I will change the warning level to Debug in the next version. A lot of Tuys devices do not follow the ZCL specs and the exception is thrown from the HE inbuilt function. There is nothing important in these Zigbee messages and they are not a problem.
  • I see some 'null' values which is a bug, but it shouldn't affect the on/off basic functionality as well.
  • The most worrying are the info logs "Received device announcement". This means that the device leaves and rejoins the Zigbee network.... Not good.

My device has also stopped working after updating the driver.

It’s a GiEX TS0601 (_TZE200_sh1btabb). Tuya version 1.0.6.

I also moved it from the C4 I had been using to a C7 at the same time. When it didn’t work at first I assumed the change of hubs might have been the issue. So I deleted the device and re-paired again. The process seemed like it worked fine (as it did the first time), but the device doesn’t respond to the open or close commands, nor does the status update if I manually open or close the valve.

Here is a detailed log when the device was paired. Then I think I pressed the Configure button again.

dev:45652023-03-12 10:35:01.748 AMerrorjava.lang.NullPointerException: Cannot invoke method length() on null object on line 1136 (method sendIrrigationDuration)

dev:45652023-03-12 10:34:52.232 AMinfoFountain valve configure()..

dev:45652023-03-12 10:34:52.225 AMinfoDebug logging is false Description text logging is true

dev:45652023-03-12 10:34:52.224 AMinfoUpdating Fountain valve (Tuya Zigbee Irrigation Valve) model TS0601_GIEX_VALVE

dev:45652023-03-12 10:33:31.359 AMinfoFountain valve configure()..

dev:45652023-03-12 10:33:31.353 AMinfoDebug logging is false Description text logging is true

dev:45652023-03-12 10:33:31.352 AMinfoUpdating Fountain valve (Tuya Zigbee Irrigation Valve) model TS0601_GIEX_VALVE

dev:45652023-03-12 10:32:51.461 AMerrorjava.lang.NullPointerException: Cannot invoke method length() on null object on line 1136 (method sendIrrigationDuration)

dev:45652023-03-12 10:29:20.919 AMerrorjava.lang.NullPointerException: Cannot invoke method length() on null object on line 1136 (method sendIrrigationDuration)

dev:45652023-03-12 10:29:10.613 AMinfoFountain valve configure()..

dev:45652023-03-12 10:29:10.606 AMinfoDebug logging is false Description text logging is true

dev:45652023-03-12 10:29:10.605 AMinfoUpdating Fountain valve (Tuya Zigbee Irrigation Valve) model TS0601_GIEX_VALVE

dev:45652023-03-12 10:28:30.435 AMinfoFountain valve configure()..

dev:45652023-03-12 10:28:30.419 AMinfoDebug logging is false Description text logging is true

dev:45652023-03-12 10:28:30.418 AMinfoUpdating Fountain valve (Tuya Zigbee Irrigation Valve) model TS0601_GIEX_VALVE

dev:45652023-03-12 10:28:01.882 AMinfoTuya Zigbee Irrigation Valve Initialization finished

dev:45652023-03-12 10:27:59.243 AMdebugTuya Zigbee Irrigation Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 6AD8 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:6AD8, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00]]

dev:45652023-03-12 10:27:59.241 AMdebugTuya Zigbee Irrigation Valve parse: description is catchall: 0104 EF00 01 01 0040 00 6AD8 00 00 0000 0B 01 0000

dev:45652023-03-12 10:27:59.133 AMdebugTuya Zigbee Irrigation Valve parseZHAcommand writeAttributeResponse cluster: 0000 status:00

dev:45652023-03-12 10:27:59.130 AMdebugTuya Zigbee Irrigation Valve Desc Map: [raw:catchall: 0104 0000 01 01 0040 00 6AD8 00 00 0000 04 01 00, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:6AD8, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[00]]

dev:45652023-03-12 10:27:59.128 AMdebugTuya Zigbee Irrigation Valve parse: description is catchall: 0104 0000 01 01 0040 00 6AD8 00 00 0000 04 01 00

dev:45652023-03-12 10:27:59.059 AMdebugTuya Zigbee Irrigation Valve Model is : TS0601

dev:45652023-03-12 10:27:59.057 AMdebugTuya Zigbee Irrigation Valve Tuya check-in message (attribute 0001 reported: 46)

dev:45652023-03-12 10:27:59.056 AMdebugTuya Zigbee Irrigation Valve zclVersion is : 03

dev:45652023-03-12 10:27:59.054 AMdebugTuya Zigbee Irrigation Valve Manufacturer is : _TZE200_sh1btabb

dev:45652023-03-12 10:27:59.050 AMdebugTuya Zigbee Irrigation Valve Desc Map: [raw:6AD801000068040042105F545A453230305F73683162746162620000002003010000204605000042065453303630310700003003FEFF003000, dni:6AD8, endpoint:01, cluster:0000, size:68, attrId:0004, encoding:42, command:01, value:_TZE200_sh1btabb, clusterInt:0, attrInt:4, additionalAttrs:[[value:03, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:46, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0601, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]

dev:45652023-03-12 10:27:59.044 AMwarnexception caught while parsing description: read attr - raw: 6AD801000068040042105F545A453230305F73683162746162620000002003010000204605000042065453303630310700003003FEFF003000, dni: 6AD8, endpoint: 01, cluster: 0000, size: 68, attrId: 0004, encoding: 42, command: 01, value: 105F545A453230305F73683162746162620000002003010000204605000042065453303630310700003003FEFF003000

dev:45652023-03-12 10:27:59.037 AMdebugTuya Zigbee Irrigation Valve parse: description is read attr - raw: 6AD801000068040042105F545A453230305F73683162746162620000002003010000204605000042065453303630310700003003FEFF003000, dni: 6AD8, endpoint: 01, cluster: 0000, size: 68, attrId: 0004, encoding: 42, command: 01, value: 105F545A453230305F73683162746162620000002003010000204605000042065453303630310700003003FEFF003000

dev:45652023-03-12 10:27:58.851 AMdebugTuya Zigbee Irrigation Valve sendZigbeeCommands (cmd=[he raw 0x6AD8 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 150, he wattr 0x6AD8 0x01 0x0000 0xFFDE 0x20 {0D} {}, delay 50, null, zdo bind 0x6AD8 0x01 0x01 6 {A4C1383F231B1177} {}, delay 2000, he cr 0x6AD8 0x01 6 0 16 0 600 {}, delay 2000, he wattr 0x6AD8 0x01 0xE001 0xD010 0x30 {02} {}, delay 251])

dev:45652023-03-12 10:27:58.848 AMdebugTuya Zigbee Irrigation Valve setting powerOnBehaviour to last state (2)

dev:45652023-03-12 10:27:58.840 AMdebugTuya Zigbee Irrigation Valve sendZigbeeCommands (cmd=[he raw 0x6AD8 1 0x01 0x0001 {10 00 00 20 00}, delay 100, he raw 0x6AD8 1 0x01 0x0001 {10 00 00 21 00}, delay 200, he cmd 0x6AD8 0x01 0xEF00 0x00 {00020100}, delay 2000])

dev:45652023-03-12 10:27:58.809 AMtraceTuya Zigbee Irrigation Valve polling..

dev:45652023-03-12 10:27:58.808 AMdebugTuya Zigbee Irrigation Valve sending refresh() command...

dev:45652023-03-12 10:27:58.802 AMinfoTuya Zigbee Irrigation Valve configure()..

dev:45652023-03-12 10:27:58.801 AMinfoDebug logging will be automatically switched off after 24 hours

dev:45652023-03-12 10:27:58.775 AMinfoDebug logging is true Description text logging is true

dev:45652023-03-12 10:27:58.774 AMinfoUpdating null (Tuya Zigbee Irrigation Valve) model TS0601_GIEX_VALVE

dev:45652023-03-12 10:27:58.769 AMtrace destinationEP = 01

dev:45652023-03-12 10:27:58.768 AMtrace model = TS0601

dev:45652023-03-12 10:27:58.733 AMinfoTuya Zigbee Irrigation Valve all states and scheduled jobs cleared!

dev:45652023-03-12 10:27:58.731 AMinfoTuya Zigbee Irrigation Valve device model TS0601 manufacturer _TZE200_sh1btabb deviceName was set to Tuya Zigbee Irrigation Valve

dev:45652023-03-12 10:27:58.704 AMdebugTuya Zigbee Irrigation Valve FOUND exact match! deviceName =Tuya Zigbee Irrigation Valve profileName=TS0601_GIEX_VALVE for model TS0601 manufacturer _TZE200_sh1btabb

dev:45652023-03-12 10:27:58.695 AMinfoTuya Zigbee Irrigation Valve InitializeVars()... fullInit = true

dev:45652023-03-12 10:27:58.679 AMinfoTuya Zigbee Irrigation Valve Initialize()...

dev:45652023-03-12 10:27:54.394 AMdebugTuya Zigbee Irrigation Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 6AD8 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:6AD8, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00]]

dev:45652023-03-12 10:27:54.391 AMdebugTuya Zigbee Irrigation Valve parse: description is catchall: 0104 EF00 01 01 0040 00 6AD8 00 00 0000 0B 01 0000

dev:45652023-03-12 10:27:54.131 AMdebugTuya Zigbee Irrigation Valve Model is : TS0601

dev:45652023-03-12 10:27:54.129 AMdebugTuya Zigbee Irrigation Valve Tuya check-in message (attribute 0001 reported: 46)

dev:45652023-03-12 10:27:54.127 AMdebugTuya Zigbee Irrigation Valve zclVersion is : 03

dev:45652023-03-12 10:27:54.125 AMdebugTuya Zigbee Irrigation Valve Manufacturer is : _TZE200_sh1btabb

dev:45652023-03-12 10:27:54.119 AMdebugTuya Zigbee Irrigation Valve Desc Map: [raw:6AD801000068040042105F545A453230305F73683162746162620000002003010000204605000042065453303630310700003003FEFF003000, dni:6AD8, endpoint:01, cluster:0000, size:68, attrId:0004, encoding:42, command:01, value:_TZE200_sh1btabb, clusterInt:0, attrInt:4, additionalAttrs:[[value:03, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:46, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0601, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]

dev:45652023-03-12 10:27:54.096 AMwarnexception caught while parsing description: read attr - raw: 6AD801000068040042105F545A453230305F73683162746162620000002003010000204605000042065453303630310700003003FEFF003000, dni: 6AD8, endpoint: 01, cluster: 0000, size: 68, attrId: 0004, encoding: 42, command: 01, value: 105F545A453230305F73683162746162620000002003010000204605000042065453303630310700003003FEFF003000

dev:45652023-03-12 10:27:54.083 AMdebugTuya Zigbee Irrigation Valve parse: description is read attr - raw: 6AD801000068040042105F545A453230305F73683162746162620000002003010000204605000042065453303630310700003003FEFF003000, dni: 6AD8, endpoint: 01, cluster: 0000, size: 68, attrId: 0004, encoding: 42, command: 01, value: 105F545A453230305F73683162746162620000002003010000204605000042065453303630310700003003FEFF003000

dev:45652023-03-12 10:27:54.073 AMdebugTuya Zigbee Irrigation Valve Model is : TS0601

dev:45652023-03-12 10:27:54.070 AMdebugTuya Zigbee Irrigation Valve Tuya check-in message (attribute 0001 reported: 46)

dev:45652023-03-12 10:27:54.068 AMdebugTuya Zigbee Irrigation Valve zclVersion is : 03

dev:45652023-03-12 10:27:54.066 AMdebugTuya Zigbee Irrigation Valve Manufacturer is : _TZE200_sh1btabb

dev:45652023-03-12 10:27:54.050 AMdebugTuya Zigbee Irrigation Valve Desc Map: [raw:6AD801000068040042105F545A453230305F73683162746162620000002003010000204605000042065453303630310700003003FEFF003000, dni:6AD8, endpoint:01, cluster:0000, size:68, attrId:0004, encoding:42, command:01, value:_TZE200_sh1btabb, clusterInt:0, attrInt:4, additionalAttrs:[[value:03, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:46, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0601, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]

dev:45652023-03-12 10:27:54.042 AMwarnexception caught while parsing description: read attr - raw: 6AD801000068040042105F545A453230305F73683162746162620000002003010000204605000042065453303630310700003003FEFF003000, dni: 6AD8, endpoint: 01, cluster: 0000, size: 68, attrId: 0004, encoding: 42, command: 01, value: 105F545A453230305F73683162746162620000002003010000204605000042065453303630310700003003FEFF003000

dev:45652023-03-12 10:27:54.025 AMdebugTuya Zigbee Irrigation Valve parse: description is read attr - raw: 6AD801000068040042105F545A453230305F73683162746162620000002003010000204605000042065453303630310700003003FEFF003000, dni: 6AD8, endpoint: 01, cluster: 0000, size: 68, attrId: 0004, encoding: 42, command: 01, value: 105F545A453230305F73683162746162620000002003010000204605000042065453303630310700003003FEFF003000

dev:45652023-03-12 10:27:53.996 AMinfoTuya Zigbee Irrigation Valve is online

dev:45652023-03-12 10:27:53.819 AMdebugTuya Zigbee Irrigation Valve sendZigbeeCommands (cmd=[he raw 0x6AD8 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 150, he wattr 0x6AD8 0x01 0x0000 0xFFDE 0x20 {0D} {}, delay 50, null, zdo bind 0x6AD8 0x01 0x01 6 {A4C1383F231B1177} {}, delay 2000, he cr 0x6AD8 0x01 6 0 16 0 600 {}, delay 2000, he wattr 0x6AD8 0x01 0xE001 0xD010 0x30 {02} {}, delay 251])

dev:45652023-03-12 10:27:53.810 AMdebugTuya Zigbee Irrigation Valve setting powerOnBehaviour to last state (2)

dev:45652023-03-12 10:27:53.778 AMdebugTuya Zigbee Irrigation Valve sendZigbeeCommands (cmd=[he raw 0x6AD8 1 0x01 0x0001 {10 00 00 20 00}, delay 100, he raw 0x6AD8 1 0x01 0x0001 {10 00 00 21 00}, delay 200, he cmd 0x6AD8 0x01 0xEF00 0x00 {00020100}, delay 2000])

dev:45652023-03-12 10:27:53.735 AMtraceTuya Zigbee Irrigation Valve polling..

dev:45652023-03-12 10:27:53.731 AMdebugTuya Zigbee Irrigation Valve sending refresh() command...

dev:45652023-03-12 10:27:53.723 AMinfoTuya Zigbee Irrigation Valve configure()..

dev:45652023-03-12 10:27:53.715 AMdebugcalling initialize() after 5 seconds...

dev:45652023-03-12 10:27:53.658 AMtrace destinationEP = 01

dev:45652023-03-12 10:27:53.657 AMtrace model = TS0601

dev:45652023-03-12 10:27:53.655 AMinfoTuya Zigbee Irrigation Valve tuyaVersion set to 1.0.6

dev:45652023-03-12 10:27:53.589 AMinfoTuya Zigbee Irrigation Valve all states and scheduled jobs cleared!

dev:45652023-03-12 10:27:53.586 AMinfoTuya Zigbee Irrigation Valve device model TS0601 manufacturer _TZE200_sh1btabb deviceName was set to Tuya Zigbee Irrigation Valve

dev:45652023-03-12 10:27:53.553 AMdebugTuya Zigbee Valve FOUND exact match! deviceName =Tuya Zigbee Irrigation Valve profileName=TS0601_GIEX_VALVE for model TS0601 manufacturer _TZE200_sh1btabb

dev:45652023-03-12 10:27:53.532 AMinfoTuya Zigbee Valve InitializeVars()... fullInit = true

dev:45652023-03-12 10:27:53.530 AMinfoTuya Zigbee Valve Installed()...

1 Like

@hunt.darren thank you for the report! There was a bug introduced in the latest version for GiEX valves, now should be fixed in the dev. branch version 1.2.2

@hoffadg the new version also contains some other minor fixes. I have also added a counter showing how many times the devices has rejoined the Zigbee network. However, this will not solve the problem with your device. I think it may be one these [C-7] Zigbee devices that do not pair correctly in HE . Checking the logs, the pattern is that it stays connected for about 5..6 seconds and then leaves the network. Same device surely will work with the new C-8 hub, as it may require a Zigbee 3.0 coordinator only.

Interesting.. I was able to get it to work temporarily by doing the following:

  1. Pair the device as usual
  2. Without removing the device, attempt to re-pair. It says it found an existing device
  3. Now go to the existing device and I am able to open and close
  4. A few seconds later it no longer works and rejoinCtr increases

It does sound like the problem may be that it leaves the network and re-joins. I read through the other thread you sent me.. I guess there is no workaround for this (other than getting a C-8 hub)?

This is exactly the behavior of these new devices, which do not follow strictly the Zigbee 3.0 specs and do not fall into "ZHA 1.2" mode if the Zigbee coordinator does not support the new standard.

Another bad news is that the new SONOFF SNZB-02D temperature and humidity sensor with a nice display and C/F switching also does not work with the older HE hubs, but works perfectly on C-8.

It looks like I can get the Tuya Zigbee 3.0 Hub off AliExpress for $14. I assume it will pair with that. Is there a way to bridge the Tuya hub with HE? I'll probably get the C-8 at some point but to do it now for just one device seems like overkill..

Yes, Tuya Cloud Driver works very well !

Thanks! I appreciate all the help!

1 Like

@hunt.darren us the latest dev.branch version working with your GiEX irrigation timer?
If yes, I will put the update via HPM.

Sorry I haven’t replied sooner. Haven’t had much time for testing. Just installed the dev branch update and it seems to work fine. Can control open/close from HE and HE responds to manual open/close on the valve. Haven’t tried the irrigation mode/timer functions though.

Thanks for the update!

1 Like

I have one of these joined to my C-8 (migrated from my C-5) and today it was warm here, so I thought I would join my other valve to the hub. I could not get it to finish joining to either C-8, or C-5. It had previously been joined to my C-5. I then checked my valve that is connected to my C-8 and discovered that I couldn't control it from the device page. Activating it manually immediately changes the state in the driver, but commands from the hub do not work. I tried hitting configure and save, etc with no change. This was on the latest dev driver, so I rolled back to a previous version of the driver. I ended up going back to the version labeled "ver. 1.2.0 2023-02-25 kkossev - (dev. branch) added deviceProfiles; stats; Advanced Option to manually select device profile;" to get it to turn on and off from the device page. I then tried once again to pair the other valve using this driver on both my C-5 and C-8 and it would say it was paired, but the light would flash on it every time I pushed the on/off button, and no events showed on the device page. Also it wasn't controllable in any way. It paired back to the Tuya hub without any problems, so it isn't the valve. Let me know if you have any ideas to get it to pair properly. Thank you.
*
image

Same problems here with the latest HE platform updates. Seems like the changes aimed to fix the Philips Hue motion sensors have affected other Zigbee devices... With the latest system versions ( I am currently running 2.3.5.117 on all my 3 hubs) I can't pair some Tuya TS0202 motion sensors.

Also, the Zigbee-3.0 -only plugs that didn't work on the old C-7, but started working with the C-8 Zigbee 3.0 hub now can not be paired again. During the weekend I will try to revert my C-8 to the version that worked fine with these Zigbee devices that do not pair correctly in HE. Now it is broken again. Some of the changes made for the C-8 also affect the old C-7 / C-5 hubs.

At the moment it is very difficult to say whether the problem is in the latest changes in the custom driver or on the latest changes in the HE system platform.

1 Like

Version 1.2.2 is now available for update from HPM.

Hello. I received my TS0601 today and I am able to control the open/close using the driver with no issues. The problem I am having is that I am unable to determine if the valve is opened or closed in my automations. The valve state does not appear to be updating. Also, I have an automation that should trigger when the valve closes but the trigger isn't firing.

Hi @hoffadg ,

Was your new valve recognized as " TS0601_VALVE_ONOFF" type?

If not, you can manually force the valve type from the Advanced Options->Device Profile setting.

I have added one more manufacturer fingerprint to the latest dev. branch version 1.2.3

If it still doesn't work, copy and paste as a text :

  • Device Details 'Data' section
  • State variables
  • some debug logs that include the received packages from the valve when you issue open and close commands.

Yes, it was detected properly.

I'm also seeing lots of excessive debug prints in the log. Like every couple of seconds. Is that normal?



TS0601 _TZE200_d0ypnbvn is a new device manufacturer, this fingerprint was not present in the driver code. Do you remember what was the automatic deviceProfile selection when you first installed it? I suppose you have then manually set the device profile type to TS0601_VALVE_ONOFF - is my assumption correct?

I don't know yet, will analyze further.

Your screenshot shows that you have not updated to the latest driver version, but you are still using the old one.

When troubleshooting new devices, please always update to the latest version. You can use the Import button, when it is said that there is a new version :

I am sorry, but I can not use these pictures/screenshots to simulate and test whatever your device is sending to the hub. I will have to look at the picture and type in all these numbers and letters...

When you have access to a PC, please try to first select with the mouse the text from the logs page, then copy (Ctrl-C), then paste in the message here (Ctrl-V). Then select the long lines of text in the editor and press the cog wheel tool to hide them :

Summary

We can make it work, but please send me text logs and make sure you are on the latest driver version first.