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

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.

Hi @hoffadg ,
I think that I have found a problem with the on/off state reporting and I have fixed it.
Please first update to the latest dev.branch version "1.2.3" , timestamp "2023/03/26 7:50 PM".
Then test the on/off again, including when you press the physical button on the valve.

Thanks for the quick response!

I have imported the latest driver code.

Do you remember what was the automatic deviceProfile selection when you first installed it?
I don't recall but I do know it did not work right way until I changed the profile manually. Then I was able to control open/close.

Sorry for the screenshot.. Laziness on my part :slight_smile:

dev:7952023-03-26 12:00:39.232 PMtraceMain Water Valve Tuya cluster cmd=01 value=1 ()

dev:7952023-03-26 12:00:39.228 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 01 01 00040101000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 04, 01, 01, 00, 01, 01]]

dev:7952023-03-26 12:00:39.225 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 01 01 00040101000101

dev:7952023-03-26 12:00:39.194 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00]]

dev:7952023-03-26 12:00:39.192 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 00 00 0000 0B 01 0000

dev:7952023-03-26 12:00:39.113 PMdebugMain Water Valve sendZigbeeCommands (cmd=[he cmd 0x533D 0x01 0xEF00 0x00 {54040101000101} {}, delay 200])

dev:7952023-03-26 12:00:39.112 PMdebugMain Water Valve open()... sent cmds=[he cmd 0x533D 0x01 0xEF00 0x00 {54040101000101} {}, delay 200]

dev:7952023-03-26 12:00:39.089 PMtraceMain Water Valve sendTuyaCommand = [he cmd 0x533D 0x01 0xEF00 0x00 {54040101000101} {}, delay 200]

dev:7952023-03-26 12:00:37.050 PMtraceMain Water Valve Tuya cluster cmd=01 value=0 ()

dev:7952023-03-26 12:00:37.046 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 00]]

dev:7952023-03-26 12:00:37.044 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100

dev:7952023-03-26 12:00:34.301 PMtraceMain Water Valve Tuya cluster cmd=01 value=0 ()

dev:7952023-03-26 12:00:34.298 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 00]]

dev:7952023-03-26 12:00:34.296 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100

dev:7952023-03-26 12:00:25.137 PMtraceMain Water Valve Tuya cluster cmd=01 value=0 ()

dev:7952023-03-26 12:00:25.133 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 01 01 00C20101000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, C2, 01, 01, 00, 01, 00]]

dev:7952023-03-26 12:00:25.131 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 01 01 00C20101000100

dev:7952023-03-26 12:00:25.117 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00]]

dev:7952023-03-26 12:00:25.114 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 00 00 0000 0B 01 0000

dev:7952023-03-26 12:00:24.997 PMdebugMain Water Valve sendZigbeeCommands (cmd=[he cmd 0x533D 0x01 0xEF00 0x00 {51C20101000100} {}, delay 200])

dev:7952023-03-26 12:00:24.995 PMdebugMain Water Valve close()... sent cmds=[he cmd 0x533D 0x01 0xEF00 0x00 {51C20101000100} {}, delay 200]

dev:7952023-03-26 12:00:24.945 PMtraceMain Water Valve sendTuyaCommand = [he cmd 0x533D 0x01 0xEF00 0x00 {51C20101000100} {}, delay 200]

dev:7952023-03-26 12:00:24.561 PMtraceMain Water Valve Tuya cluster cmd=01 value=1 ()

dev:7952023-03-26 12:00:24.557 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 01]]

dev:7952023-03-26 12:00:24.555 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101

dev:7952023-03-26 12:00:21.815 PMtraceMain Water Valve Tuya cluster cmd=01 value=1 ()

dev:7952023-03-26 12:00:21.811 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 01]]

dev:7952023-03-26 12:00:21.809 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101

dev:7952023-03-26 12:00:19.066 PMtraceMain Water Valve Tuya cluster cmd=01 value=1 ()

dev:7952023-03-26 12:00:19.063 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 01]]

dev:7952023-03-26 12:00:19.060 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101

dev:7952023-03-26 12:00:16.313 PMtraceMain Water Valve Tuya cluster cmd=01 value=1 ()

dev:7952023-03-26 12:00:16.310 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 01]]

dev:7952023-03-26 12:00:16.308 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101

dev:7952023-03-26 12:00:13.563 PMtraceMain Water Valve Tuya cluster cmd=01 value=1 ()

dev:7952023-03-26 12:00:13.559 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 01]]

dev:7952023-03-26 12:00:13.557 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101

dev:7952023-03-26 12:00:10.818 PMtraceMain Water Valve Tuya cluster cmd=01 value=1 ()

dev:7952023-03-26 12:00:10.815 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 01]]

dev:7952023-03-26 12:00:10.812 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101

dev:7952023-03-26 12:00:08.063 PMtraceMain Water Valve Tuya cluster cmd=01 value=1 ()

dev:7952023-03-26 12:00:08.060 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 01]]

dev:7952023-03-26 12:00:08.057 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101

dev:7952023-03-26 12:00:05.314 PMtraceMain Water Valve Tuya cluster cmd=01 value=1 ()

dev:7952023-03-26 12:00:05.311 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 01]]

dev:7952023-03-26 12:00:05.308 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101

dev:7952023-03-26 12:00:02.564 PMtraceMain Water Valve Tuya cluster cmd=01 value=1 ()

dev:7952023-03-26 12:00:02.560 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 01]]

dev:7952023-03-26 12:00:02.558 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101

dev:7952023-03-26 12:00:00.829 PMtraceMain Water Valve polling..

dev:7952023-03-26 12:00:00.826 PMdebugMain Water Valve sending refresh() command...

dev:7952023-03-26 11:59:59.813 AMtraceMain Water Valve Tuya cluster cmd=01 value=1 ()

dev:7952023-03-26 11:59:59.809 AMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 01]]

dev:7952023-03-26 11:59:59.807 AMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101

dev:7952023-03-26 11:59:58.181 AMdebugMain Water Valve parseZHAcommand writeAttributeResponse cluster: E001 status:86

dev:7952023-03-26 11:59:58.178 AMdebugMain Water Valve Desc Map: [raw:catchall: 0104 E001 01 01 0040 00 533D 00 00 0000 04 01 8610D0, profileId:0104, clusterId:E001, clusterInt:57345, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[86, 10, D0]]

dev:7952023-03-26 11:59:58.175 AMdebugMain Water Valve parse: description is catchall: 0104 E001 01 01 0040 00 533D 00 00 0000 04 01 8610D0

dev:7952023-03-26 11:59:58.165 AMdebugMain Water Valve parseZHAcommand writeAttributeResponse cluster: 0000 status:00

dev:7952023-03-26 11:59:58.162 AMdebugMain Water Valve Desc Map: [raw:catchall: 0104 0000 01 01 0040 00 533D 00 00 0000 04 01 00, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[00]]

dev:7952023-03-26 11:59:58.160 AMdebugMain Water Valve parse: description is catchall: 0104 0000 01 01 0040 00 533D 00 00 0000 04 01 00

dev:7952023-03-26 11:59:57.992 AMdebugMain Water Valve Model is : TS0601

dev:7952023-03-26 11:59:57.990 AMdebugMain Water Valve Tuya check-in message (attribute 0001 reported: 46)

dev:7952023-03-26 11:59:57.989 AMdebugMain Water Valve zclVersion is : 03

dev:7952023-03-26 11:59:57.987 AMdebugMain Water Valve Manufacturer is : _TZE200_d0ypnbvn

dev:7952023-03-26 11:59:57.983 AMdebugMain Water Valve Desc Map: [raw:533D01000068040042105F545A453230305F643079706E62766E0000002003010000204605000042065453303630310700003001FEFF003000, dni:533D, endpoint:01, cluster:0000, size:68, attrId:0004, encoding:42, command:01, value:_TZE200_d0ypnbvn, 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:7952023-03-26 11:59:57.976 AMdebugMain Water Valve exception caught while parsing description: read attr - raw: 533D01000068040042105F545A453230305F643079706E62766E0000002003010000204605000042065453303630310700003001FEFF003000, dni: 533D, endpoint: 01, cluster: 0000, size: 68, attrId: 0004, encoding: 42, command: 01, value: 105F545A453230305F643079706E62766E0000002003010000204605000042065453303630310700003001FEFF003000

dev:7952023-03-26 11:59:57.968 AMdebugMain Water Valve parse: description is read attr - raw: 533D01000068040042105F545A453230305F643079706E62766E0000002003010000204605000042065453303630310700003001FEFF003000, dni: 533D, endpoint: 01, cluster: 0000, size: 68, attrId: 0004, encoding: 42, command: 01, value: 105F545A453230305F643079706E62766E0000002003010000204605000042065453303630310700003001FEFF003000

dev:7952023-03-26 11:59:57.828 AMdebugMain Water Valve sendZigbeeCommands (cmd=[he raw 0x533D 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 150, he wattr 0x533D 0x01 0x0000 0xFFDE 0x20 {0D} {}, delay 50, he wattr 0x533D 0x01 0xE001 0xD010 0x30 {02} {}, delay 251])

dev:7952023-03-26 11:59:57.794 AMdebugMain Water Valve setting powerOnBehaviour to last state (2)

dev:7952023-03-26 11:59:57.773 AMinfoMain Water Valve configure()..

dev:7952023-03-26 11:59:57.772 AMinfoDebug logging will be automatically switched off after 24 hours

dev:7952023-03-26 11:59:57.740 AMinfoDebug logging is true Description text logging is true

dev:7952023-03-26 11:59:57.739 AMinfoUpdating Main Water Valve (Tuya Zigbee Valve) model TS0601_VALVE_ONOFF

dev:7952023-03-26 11:59:57.116 AMtraceMain Water Valve Tuya cluster cmd=01 value=1 ()

dev:7952023-03-26 11:59:57.112 AMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 01]]

dev:7952023-03-26 11:59:57.110 AMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101

dev:7952023-03-26 11:59:54.313 AMtraceMain Water Valve Tuya cluster cmd=01 value=1 ()

dev:7952023-03-26 11:59:54.310 AMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 01]]

dev:7952023-03-26 11:59:54.308 AMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101

dev:7952023-03-26 11:59:51.564 AMtraceMain Water Valve Tuya cluster cmd=01 value=1 ()

dev:7952023-03-26 11:59:51.560 AMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 01]]

dev:7952023-03-26 11:59:51.558 AMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101

dev:7952023-03-26 11:59:48.816 AMtraceMain Water Valve Tuya cluster cmd=01 value=1 ()

dev:7952023-03-26 11:59:48.813 AMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 01]]

dev:7952023-03-26 11:59:48.810 AMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101

dev:7952023-03-26 11:59:46.065 AMtraceMain Water Valve Tuya cluster cmd=01 value=1 ()

dev:7952023-03-26 11:59:46.061 AMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 01]]

dev:7952023-03-26 11:59:46.059 AMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101

dev:7952023-03-26 11:59:43.317 AMtraceMain Water Valve Tuya cluster cmd=01 value=1 ()

dev:7952023-03-26 11:59:43.313 AMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 01]]

dev:7952023-03-26 11:59:43.311 AMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101

dev:7952023-03-26 11:59:40.585 AMtraceMain Water Valve Tuya cluster cmd=01 value=1 ()

dev:7952023-03-26 11:59:40.581 AMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 01]]

dev:7952023-03-26 11:59:40.578 AMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000101

1 Like

That worked! Sorry, I had not updated to the latest (7:50PM) before I posted the log.

I'm still seeing lots of prints though.. Every second or two:

dev:7952023-03-26 12:08:56.511 PMinfoMain Water Valve Main Water Valve is closed [physical]

dev:7952023-03-26 12:08:56.487 PMtraceMain Water Valve Tuya cluster cmd=01 value=0 ()

dev:7952023-03-26 12:08:56.485 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 00]]

dev:7952023-03-26 12:08:56.480 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100

dev:7952023-03-26 12:08:53.764 PMinfoMain Water Valve Main Water Valve is closed [physical]

dev:7952023-03-26 12:08:53.739 PMtraceMain Water Valve Tuya cluster cmd=01 value=0 ()

dev:7952023-03-26 12:08:53.737 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 00]]

dev:7952023-03-26 12:08:53.733 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100

dev:7952023-03-26 12:08:51.013 PMinfoMain Water Valve Main Water Valve is closed [physical]

dev:7952023-03-26 12:08:50.990 PMtraceMain Water Valve Tuya cluster cmd=01 value=0 ()

dev:7952023-03-26 12:08:50.987 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 00]]

dev:7952023-03-26 12:08:50.983 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100

dev:7952023-03-26 12:08:48.303 PMinfoMain Water Valve Main Water Valve is closed [physical]

dev:7952023-03-26 12:08:48.285 PMtraceMain Water Valve Tuya cluster cmd=01 value=0 ()

dev:7952023-03-26 12:08:48.282 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 00]]

dev:7952023-03-26 12:08:48.237 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100

dev:7952023-03-26 12:08:45.536 PMinfoMain Water Valve Main Water Valve is closed [physical]

dev:7952023-03-26 12:08:45.502 PMtraceMain Water Valve Tuya cluster cmd=01 value=0 ()

dev:7952023-03-26 12:08:45.498 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 00]]

dev:7952023-03-26 12:08:45.493 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100

dev:7952023-03-26 12:08:42.769 PMinfoMain Water Valve Main Water Valve is closed [physical]

dev:7952023-03-26 12:08:42.746 PMtraceMain Water Valve Tuya cluster cmd=01 value=0 ()

dev:7952023-03-26 12:08:42.743 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 00]]

dev:7952023-03-26 12:08:42.739 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100

dev:7952023-03-26 12:08:40.028 PMinfoMain Water Valve Main Water Valve is closed [physical]

dev:7952023-03-26 12:08:39.997 PMtraceMain Water Valve Tuya cluster cmd=01 value=0 ()

dev:7952023-03-26 12:08:39.995 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 00]]

dev:7952023-03-26 12:08:39.990 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100

dev:7952023-03-26 12:08:37.273 PMinfoMain Water Valve Main Water Valve is closed [physical]

dev:7952023-03-26 12:08:37.252 PMtraceMain Water Valve Tuya cluster cmd=01 value=0 ()

dev:7952023-03-26 12:08:37.249 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 00]]

dev:7952023-03-26 12:08:37.245 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100

dev:7952023-03-26 12:08:34.538 PMinfoMain Water Valve Main Water Valve is closed [physical]

dev:7952023-03-26 12:08:34.511 PMtraceMain Water Valve Tuya cluster cmd=01 value=0 ()

dev:7952023-03-26 12:08:34.508 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 00]]

dev:7952023-03-26 12:08:34.504 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100

dev:7952023-03-26 12:08:31.798 PMinfoMain Water Valve Main Water Valve is closed [physical]

dev:7952023-03-26 12:08:31.771 PMtraceMain Water Valve Tuya cluster cmd=01 value=0 ()

dev:7952023-03-26 12:08:31.768 PMdebugMain Water Valve Desc Map: [raw:catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:533D, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 01, 00, 01, 00]]

dev:7952023-03-26 12:08:31.763 PMdebugMain Water Valve parse: description is catchall: 0104 EF00 01 01 0040 00 533D 01 00 0000 02 01 00000101000100

dev:7952023-03-26 12:08:29.043 PMinfoMain Water Valve Main Water Valve is closed [physical]

dev:7952023-03-26 12:08:29.020 PMtraceMain Water Valve Tuya cluster cmd=01 value=0 ()

1 Like

I am glad it worked! : )

I have just asked in GitHub if any other users that have this valve are experiencing a similar problem ( the device is sending the on/off state every 3 seconds ).

I will make another optimization in the driver so that you don't see these messages in the logs, but the data will continue to be sent over the air.. : (

For now, you can simply switch both the Debug and the Info logs off.

1 Like

I wanted to let you know that I was able to pair the other 2 Tuya (GEIX) valves to my C-8 on .121 (with your latest driver 1.2.3) and they appear to be working as intended. Thank you so much for your work on this driver! They joined without any issues after resetting them.

1 Like

I haven't posted up any findings from my testing here in awhile so I apologize. Life gets crazy sometimes. I will say on the latest driver I seem to be able to open/close just fine and there is no longer and 60 second auto shut off. The timer part doesn't work for me. It will not shut off after x seconds. But honestly. That's not a huge deal for me as long as I have the open and close function working.
Thanks so much for the work you've put into this!

I reset/repaired mine to get it to configure correctly with the updated driver. I will admit I haven’t watered anything yet since we have had an over abundance of rain, so I can’t say for sure if the timer works on mine (Geix). I’ll try it and post back here.

Edit: the timers aren’t working for mine either.

Hi @kkossev

Bringing back this thread from a couple of weeks ago. If you recall, the conclusion was that the valve wasn't working due to the fact I had the c-7 non-Zigbee 3.0 hub. I broke down and purchased the c-8 hub but it still doesn't appear to be working. Here is the log:

dev:8072023-04-08 08:21:02.436 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0x4A84 0x01 6 1 {}, delay 2000])

dev:8072023-04-08 08:21:02.435 PMdebugWater Main Valve open()... sent cmds=[he cmd 0x4A84 0x01 6 1 {}, delay 2000]

dev:8072023-04-08 08:21:00.361 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0x4A84 0x01 6 0 {}, delay 2000])

dev:8072023-04-08 08:21:00.359 PMdebugWater Main Valve close()... sent cmds=[he cmd 0x4A84 0x01 6 0 {}, delay 2000]

dev:8072023-04-08 08:20:30.107 PMinfoWater Main Valve Received device announcement, data=[1B, 84, 4A, D7, 36, 01, 60, 2B, D5, B3, 70, 8E] (Sequence Number:1B, Device network ID: 4A84, Capability Information: 8E)

dev:8072023-04-08 08:20:30.104 PMdebugWater Main Valve Desc Map: [raw:catchall: 0000 0013 00 00 0040 00 4A84 00 00 0000 00 00 1B844AD73601602BD5B3708E, profileId:0000, clusterId:0013, clusterInt:19, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:4A84, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[1B, 84, 4A, D7, 36, 01, 60, 2B, D5, B3, 70, 8E]]

dev:8072023-04-08 08:20:30.101 PMdebugWater Main Valve parse: description is catchall: 0000 0013 00 00 0040 00 4A84 00 00 0000 00 00 1B844AD73601602BD5B3708E

dev:8072023-04-08 08:20:06.729 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0xFCC3 0x01 6 0 {}, delay 2000])

dev:8072023-04-08 08:20:06.727 PMdebugWater Main Valve close()... sent cmds=[he cmd 0xFCC3 0x01 6 0 {}, delay 2000]

dev:8072023-04-08 08:20:04.500 PMinfoWater Main Valve Received device announcement, data=[17, C3, FC, D7, 36, 01, 60, 2B, D5, B3, 70, 8E] (Sequence Number:17, Device network ID: FCC3, Capability Information: 8E)

dev:8072023-04-08 08:20:04.497 PMdebugWater Main Valve Desc Map: [raw:catchall: 0000 0013 00 00 0040 00 FCC3 00 00 0000 00 00 17C3FCD73601602BD5B3708E, profileId:0000, clusterId:0013, clusterInt:19, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:FCC3, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[17, C3, FC, D7, 36, 01, 60, 2B, D5, B3, 70, 8E]]

dev:8072023-04-08 08:20:04.494 PMdebugWater Main Valve parse: description is catchall: 0000 0013 00 00 0040 00 FCC3 00 00 0000 00 00 17C3FCD73601602BD5B3708E

dev:8072023-04-08 08:19:58.828 PMinfoWater Main Valve Water Main Valve is open [digital]

dev:8072023-04-08 08:19:58.796 PMdebugWater Main Valve Valve state changed from closed to open

dev:8072023-04-08 08:19:58.794 PMdebugWater Main Valve event [name:switch, value:on]

dev:8072023-04-08 08:19:58.792 PMdebugWater Main Valve parse: description is catchall: 0104 0006 01 01 0040 00 A6F6 00 00 0000 0B 01 0100

dev:8072023-04-08 08:19:58.531 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0xA6F6 0x01 6 1 {}, delay 2000])

dev:8072023-04-08 08:19:58.529 PMdebugWater Main Valve open()... sent cmds=[he cmd 0xA6F6 0x01 6 1 {}, delay 2000]

dev:8072023-04-08 08:19:58.035 PMinfoWater Main Valve Received device announcement, data=[14, F6, A6, D7, 36, 01, 60, 2B, D5, B3, 70, 8E] (Sequence Number:14, Device network ID: A6F6, Capability Information: 8E)

dev:8072023-04-08 08:19:58.031 PMdebugWater Main Valve Desc Map: [raw:catchall: 0000 0013 00 00 0040 00 A6F6 00 00 0000 00 00 14F6A6D73601602BD5B3708E, profileId:0000, clusterId:0013, clusterInt:19, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:A6F6, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[14, F6, A6, D7, 36, 01, 60, 2B, D5, B3, 70, 8E]]

dev:8072023-04-08 08:19:58.028 PMdebugWater Main Valve parse: description is catchall: 0000 0013 00 00 0040 00 A6F6 00 00 0000 00 00 14F6A6D73601602BD5B3708E

dev:8072023-04-08 08:19:52.378 PMinfoWater Main Valve Water Main Valve is closed (Refresh)

dev:8072023-04-08 08:19:52.345 PMdebugWater Main Valve Valve state changed from unknown to closed

dev:8072023-04-08 08:19:52.339 PMdebugWater Main Valve event [name:switch, value:off]

dev:8072023-04-08 08:19:52.336 PMdebugWater Main Valve parse: description is read attr - raw: 838D0100060A00001000, dni: 838D, endpoint: 01, cluster: 0006, size: 0A, attrId: 0000, encoding: 10, command: 01, value: 00

dev:8072023-04-08 08:19:52.020 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he rattr 0x838D 0x01 6 0 {}, delay 2000])

dev:8072023-04-08 08:19:51.986 PMtraceWater Main Valve polling..

dev:8072023-04-08 08:19:51.984 PMdebugWater Main Valve sending refresh() command...

dev:8072023-04-08 08:19:50.229 PMinfoWater Main Valve Received device announcement, data=[11, 8D, 83, D7, 36, 01, 60, 2B, D5, B3, 70, 8E] (Sequence Number:11, Device network ID: 838D, Capability Information: 8E)

dev:8072023-04-08 08:19:50.218 PMdebugWater Main Valve Desc Map: [raw:catchall: 0000 0013 00 00 0040 00 838D 00 00 0000 00 00 118D83D73601602BD5B3708E, profileId:0000, clusterId:0013, clusterInt:19, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:838D, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[11, 8D, 83, D7, 36, 01, 60, 2B, D5, B3, 70, 8E]]

dev:8072023-04-08 08:19:50.214 PMdebugWater Main Valve parse: description is catchall: 0000 0013 00 00 0040 00 838D 00 00 0000 00 00 118D83D73601602BD5B3708E

dev:8072023-04-08 08:19:48.994 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he raw 0x1A93 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 150, he wattr 0x1A93 0x01 0x0000 0xFFDE 0x20 {0D} {}, delay 50, he wattr 0x1A93 0x01 0xE001 0xD010 0x30 {02} {}, delay 251])

dev:8072023-04-08 08:19:48.948 PMdebugWater Main Valve setting powerOnBehaviour to last state (2)

dev:8072023-04-08 08:19:48.922 PMinfoWater Main Valve configure()..

dev:8072023-04-08 08:17:29.891 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0xCB07 0x01 6 1 {}, delay 2000])

dev:8072023-04-08 08:17:29.889 PMdebugWater Main Valve open()... sent cmds=[he cmd 0xCB07 0x01 6 1 {}, delay 2000]

dev:8072023-04-08 08:17:29.218 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0xCB07 0x01 6 0 {}, delay 2000])

dev:8072023-04-08 08:17:29.217 PMdebugWater Main Valve close()... sent cmds=[he cmd 0xCB07 0x01 6 0 {}, delay 2000]

dev:8072023-04-08 08:17:28.586 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0xCB07 0x01 6 0 {}, delay 2000])

dev:8072023-04-08 08:17:28.585 PMdebugWater Main Valve close()... sent cmds=[he cmd 0xCB07 0x01 6 0 {}, delay 2000]

dev:8072023-04-08 08:17:27.742 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0xCB07 0x01 6 1 {}, delay 2000])

dev:8072023-04-08 08:17:27.741 PMdebugWater Main Valve open()... sent cmds=[he cmd 0xCB07 0x01 6 1 {}, delay 2000]

dev:8072023-04-08 08:17:25.603 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0xCB07 0x01 6 0 {}, delay 2000])

dev:8072023-04-08 08:17:25.601 PMdebugWater Main Valve close()... sent cmds=[he cmd 0xCB07 0x01 6 0 {}, delay 2000]

dev:8072023-04-08 08:17:16.774 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0xCB07 0x01 6 1 {}, delay 2000])

dev:8072023-04-08 08:17:16.772 PMdebugWater Main Valve open()... sent cmds=[he cmd 0xCB07 0x01 6 1 {}, delay 2000]

dev:8072023-04-08 08:17:15.693 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0xCB07 0x01 6 0 {}, delay 2000])

dev:8072023-04-08 08:17:15.692 PMdebugWater Main Valve close()... sent cmds=[he cmd 0xCB07 0x01 6 0 {}, delay 2000]

dev:8072023-04-08 08:17:13.423 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0xCB07 0x01 6 1 {}, delay 2000])

dev:8072023-04-08 08:17:13.421 PMdebugWater Main Valve open()... sent cmds=[he cmd 0xCB07 0x01 6 1 {}, delay 2000]

dev:8072023-04-08 08:17:11.920 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he rattr 0xCB07 0x01 6 0 {}, delay 2000])

dev:8072023-04-08 08:17:11.886 PMtraceWater Main Valve polling..

dev:8072023-04-08 08:17:11.885 PMdebugWater Main Valve sending refresh() command...

dev:8072023-04-08 08:17:08.888 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he raw 0xCB07 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 150, he wattr 0xCB07 0x01 0x0000 0xFFDE 0x20 {0D} {}, delay 50, he wattr 0xCB07 0x01 0xE001 0xD010 0x30 {02} {}, delay 251])

dev:8072023-04-08 08:17:08.850 PMdebugWater Main Valve setting powerOnBehaviour to last state (2)

dev:8072023-04-08 08:17:08.847 PMinfoWater Main Valve press F5 to refresh the page

dev:8072023-04-08 08:17:08.844 PMwarnWater Main Valve changing the device profile from UNKNOWN to TS0001_VALVE_ONOFF

dev:8072023-04-08 08:17:08.837 PMinfoWater Main Valve configure()..

dev:8072023-04-08 08:17:08.836 PMinfoDebug logging will be automatically switched off after 24 hours

dev:8072023-04-08 08:17:08.795 PMinfoDebug logging is true Description text logging is true

dev:8072023-04-08 08:17:08.793 PMinfoUpdating Water Main Valve (Tuya Zigbee Valve) model UNKNOWN

dev:8072023-04-08 08:17:04.174 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he rattr 0xCB07 0x01 6 0 {}, delay 2000])

dev:8072023-04-08 08:17:04.139 PMtraceWater Main Valve polling..

dev:8072023-04-08 08:17:04.138 PMdebugWater Main Valve sending refresh() command...

dev:8072023-04-08 08:17:01.140 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he raw 0xCB07 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 150, he wattr 0xCB07 0x01 0x0000 0xFFDE 0x20 {0D} {}, delay 50, he wattr 0xCB07 0x01 0xE001 0xD010 0x30 {02} {}, delay 251])

dev:8072023-04-08 08:17:01.108 PMdebugWater Main Valve settings.batteryReporting = null

dev:8072023-04-08 08:17:01.101 PMdebugWater Main Valve setting powerOnBehaviour to last state (2)

dev:8072023-04-08 08:17:01.091 PMinfoWater Main Valve configure()..

dev:8072023-04-08 08:17:01.090 PMinfoDebug logging will be automatically switched off after 24 hours

dev:8072023-04-08 08:17:01.041 PMinfoDebug logging is true Description text logging is true

dev:8072023-04-08 08:17:01.040 PMinfoUpdating Water Main Valve (Tuya Zigbee Valve) model UNKNOWN

dev:8072023-04-08 08:16:58.834 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0xCB07 0x01 6 0 {}, delay 2000])

dev:8072023-04-08 08:16:58.832 PMdebugWater Main Valve close()... sent cmds=[he cmd 0xCB07 0x01 6 0 {}, delay 2000]

dev:8072023-04-08 08:16:57.814 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0xCB07 0x01 6 1 {}, delay 2000])

dev:8072023-04-08 08:16:57.813 PMdebugWater Main Valve open()... sent cmds=[he cmd 0xCB07 0x01 6 1 {}, delay 2000]

dev:8072023-04-08 08:16:31.683 PMdebugclose()

dev:8072023-04-08 08:16:30.171 PMdebugopen()

dev:8072023-04-08 08:15:57.106 PMdebugclose()

dev:8072023-04-08 08:15:51.971 PMdebugopen()

dev:8072023-04-08 08:13:36.258 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0xCB07 0x01 6 0 {}, delay 2000])

dev:8072023-04-08 08:13:36.257 PMdebugWater Main Valve close()... sent cmds=[he cmd 0xCB07 0x01 6 0 {}, delay 2000]

dev:8072023-04-08 08:13:32.493 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he cmd 0xCB07 0x01 6 1 {}, delay 2000])

dev:8072023-04-08 08:13:32.491 PMdebugWater Main Valve open()... sent cmds=[he cmd 0xCB07 0x01 6 1 {}, delay 2000]

dev:8072023-04-08 08:12:40.802 PMinfoWater Main Valve Initialization finished

dev:8072023-04-08 08:12:40.765 PMdebugWater Main Valve sendZigbeeCommands (cmd=[he rattr 0xCB07 0x01 6 0 {}, delay 2000])

dev:8072023-04-08 08:12:40.681 PMtraceWater Main Valve polling..

dev:8072023-04-08 08:12:40.680 PMdebugWater Main Valve sending refresh() command...

dev:8072023-04-08 08:12:40.109 PMerrorjava.lang.NullPointerException: Cannot execute null+null on line 513 (method parse)

dev:8072023-04-08 08:12:40.056 PMwarnWater Main Valve inClusters=null differs from inputClusterList:0000,0006,0003,0004,0005,E001 - will be updated!

dev:8072023-04-08 08:12:40.050 PMinfoWater Main Valve Input Cluster Count: 6 Input Cluster List : 0000,0006,0003,0004,0005,E001

dev:8072023-04-08 08:12:40.022 PMinfoWater Main Valve Endpoint: 01 Application Device:0100, Application Version:01

dev:8072023-04-08 08:12:40.012 PMinfoWater Main Valve Received simple descriptor response, data=[D6, 00, 07, CB, 14, 01, 04, 01, 00, 01, 01, 06, 00, 00, 06, 00, 03, 00, 04, 00, 05, 00, 01, E0, 00] (Sequence Number:D6, status:00, lenght:20

dev:8072023-04-08 08:12:39.996 PMdebugWater Main Valve Desc Map: [raw:catchall: 0000 8004 00 00 0040 00 CB07 00 00 0000 00 00 D60007CB14010401000101060000060003000400050001E000, profileId:0000, clusterId:8004, clusterInt:32772, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:CB07, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[D6, 00, 07, CB, 14, 01, 04, 01, 00, 01, 01, 06, 00, 00, 06, 00, 03, 00, 04, 00, 05, 00, 01, E0, 00]]

dev:8072023-04-08 08:12:39.993 PMdebugWater Main Valve parse: description is catchall: 0000 8004 00 00 0040 00 CB07 00 00 0000 00 00 D60007CB14010401000101060000060003000400050001E000

dev:8072023-04-08 08:12:39.896 PMinfoWater Main Valve Received endpoint response: cluster: 8005 (endpoint response) endpointCount = 01 endpointList = 01

dev:8072023-04-08 08:12:39.889 PMdebugWater Main Valve Desc Map: [raw:catchall: 0000 8005 00 00 0040 00 CB07 00 00 0000 00 00 D40007CB0101, profileId:0000, clusterId:8005, clusterInt:32773, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:CB07, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[D4, 00, 07, CB, 01, 01]]

dev:8072023-04-08 08:12:39.887 PMdebugWater Main Valve parse: description is catchall: 0000 8005 00 00 0040 00 CB07 00 00 0000 00 00 D40007CB0101

dev:8072023-04-08 08:12:38.082 PMdebugTuya Zigbee Valve parseZHAcommand writeAttributeResponse cluster: E001 status:00

dev:8072023-04-08 08:12:38.079 PMdebugTuya Zigbee Valve Desc Map: [raw:catchall: 0104 E001 01 01 0040 00 CB07 00 00 0000 04 01 00, profileId:0104, clusterId:E001, clusterInt:57345, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:CB07, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[00]]

dev:8072023-04-08 08:12:38.077 PMdebugTuya Zigbee Valve parse: description is catchall: 0104 E001 01 01 0040 00 CB07 00 00 0000 04 01 00

dev:8072023-04-08 08:12:38.068 PMinfoTuya Zigbee Valve power on behavior is last state (02)

dev:8072023-04-08 08:12:38.065 PMdebugTuya Zigbee Valve Tuya cluster: E000 or E001 - try to parse it...

dev:8072023-04-08 08:12:38.063 PMdebugTuya Zigbee Valve parse: description is read attr - raw: CB0701E0010810D03002, dni: CB07, endpoint: 01, cluster: E001, size: 08, attrId: D010, encoding: 30, command: 0A, value: 02

dev:8072023-04-08 08:12:37.957 PMdebugTuya Zigbee Valve parseZHAcommand writeAttributeResponse cluster: 0000 status:86

dev:8072023-04-08 08:12:37.955 PMdebugTuya Zigbee Valve Desc Map: [raw:catchall: 0104 0000 01 01 0040 00 CB07 00 00 0000 04 01 86DEFF, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:CB07, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[86, DE, FF]]

dev:8072023-04-08 08:12:37.952 PMdebugTuya Zigbee Valve parse: description is catchall: 0104 0000 01 01 0040 00 CB07 00 00 0000 04 01 86DEFF

dev:8072023-04-08 08:12:37.788 PMdebugTuya Zigbee Valve Model is : TS0001

dev:8072023-04-08 08:12:37.786 PMdebugTuya Zigbee Valve Tuya check-in message (attribute 0001 reported: 64)

dev:8072023-04-08 08:12:37.785 PMdebugTuya Zigbee Valve zclVersion is : 02

dev:8072023-04-08 08:12:37.784 PMdebugTuya Zigbee Valve Manufacturer is : _TZ3000_5ucujjts

dev:8072023-04-08 08:12:37.780 PMdebugTuya Zigbee Valve Desc Map: [raw:CB0701000064040042105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86, dni:CB07, 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:8072023-04-08 08:12:37.773 PMdebugTuya Zigbee Valve exception caught while parsing description: read attr - raw: CB0701000064040042105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86, dni: CB07, endpoint: 01, cluster: 0000, size: 64, attrId: 0004, encoding: 42, command: 01, value: 105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86

dev:8072023-04-08 08:12:37.766 PMdebugTuya Zigbee Valve parse: description is read attr - raw: CB0701000064040042105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86, dni: CB07, endpoint: 01, cluster: 0000, size: 64, attrId: 0004, encoding: 42, command: 01, value: 105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86

dev:8072023-04-08 08:12:37.606 PMdebugTuya Zigbee Valve sendZigbeeCommands (cmd=[he raw 0xCB07 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 150, he wattr 0xCB07 0x01 0x0000 0xFFDE 0x20 {0D} {}, delay 50, he wattr 0xCB07 0x01 0xE001 0xD010 0x30 {02} {}, delay 251])

dev:8072023-04-08 08:12:37.574 PMdebugTuya Zigbee Valve settings.batteryReporting = null

dev:8072023-04-08 08:12:37.571 PMdebugTuya Zigbee Valve setting powerOnBehaviour to last state (2)

dev:8072023-04-08 08:12:37.563 PMinfoTuya Zigbee Valve configure()..

dev:8072023-04-08 08:12:37.562 PMinfoDebug logging will be automatically switched off after 24 hours

dev:8072023-04-08 08:12:37.528 PMinfoDebug logging is true Description text logging is true

dev:8072023-04-08 08:12:37.526 PMinfoUpdating [no lablel] (Tuya Zigbee Valve) model UNKNOWN

dev:8072023-04-08 08:12:37.524 PMtrace destinationEP = 01

dev:8072023-04-08 08:12:37.523 PMtrace model = TS0001

dev:8072023-04-08 08:12:37.473 PMinfoTuya Zigbee Valve all states and scheduled jobs cleared!

dev:8072023-04-08 08:12:37.472 PMwarnTuya Zigbee Valve device model TS0001 manufacturer _TZ3000_5ucujjts was not found!

dev:8072023-04-08 08:12:37.470 PMwarnTuya Zigbee Valve unknown model TS0001 manufacturer _TZ3000_5ucujjts

dev:8072023-04-08 08:12:37.446 PMinfoTuya Zigbee Valve InitializeVars()... fullInit = true

dev:8072023-04-08 08:12:37.415 PMinfoTuya Zigbee Valve Initialize()...

dev:8072023-04-08 08:12:35.638 PMinfoTuya Zigbee Valve Tuya Zigbee Valve is closed (Refresh)

dev:8072023-04-08 08:12:35.605 PMdebugTuya Zigbee Valve Valve state changed from unknown to closed

dev:8072023-04-08 08:12:35.599 PMdebugTuya Zigbee Valve event [name:switch, value:off]

dev:8072023-04-08 08:12:35.596 PMdebugTuya Zigbee Valve parse: description is read attr - raw: CB070100060A00001000, dni: CB07, endpoint: 01, cluster: 0006, size: 0A, attrId: 0000, encoding: 10, command: 01, value: 00

dev:8072023-04-08 08:12:35.518 PMdebugTuya Zigbee Valve sendZigbeeCommands (cmd=[he rattr 0xCB07 0x01 6 0 {}, delay 2000])

dev:8072023-04-08 08:12:35.484 PMtraceTuya Zigbee Valve polling..

dev:8072023-04-08 08:12:35.482 PMdebugTuya Zigbee Valve sending refresh() command...

dev:8072023-04-08 08:12:32.979 PMdebugTuya Zigbee Valve parseZHAcommand writeAttributeResponse cluster: E001 status:00

dev:8072023-04-08 08:12:32.976 PMdebugTuya Zigbee Valve Desc Map: [raw:catchall: 0104 E001 01 01 0040 00 CB07 00 00 0000 04 01 00, profileId:0104, clusterId:E001, clusterInt:57345, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:CB07, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[00]]

dev:8072023-04-08 08:12:32.973 PMdebugTuya Zigbee Valve parse: description is catchall: 0104 E001 01 01 0040 00 CB07 00 00 0000 04 01 00

dev:8072023-04-08 08:12:32.965 PMinfoTuya Zigbee Valve power on behavior is last state (02)

dev:8072023-04-08 08:12:32.961 PMdebugTuya Zigbee Valve Tuya cluster: E000 or E001 - try to parse it...

dev:8072023-04-08 08:12:32.959 PMdebugTuya Zigbee Valve parse: description is read attr - raw: CB0701E0010810D03002, dni: CB07, endpoint: 01, cluster: E001, size: 08, attrId: D010, encoding: 30, command: 0A, value: 02

dev:8072023-04-08 08:12:32.754 PMdebugTuya Zigbee Valve parseZHAcommand writeAttributeResponse cluster: 0000 status:86

dev:8072023-04-08 08:12:32.748 PMdebugTuya Zigbee Valve Desc Map: [raw:catchall: 0104 0000 01 01 0040 00 CB07 00 00 0000 04 01 86DEFF, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:CB07, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[86, DE, FF]]

dev:8072023-04-08 08:12:32.732 PMdebugTuya Zigbee Valve parse: description is catchall: 0104 0000 01 01 0040 00 CB07 00 00 0000 04 01 86DEFF

dev:8072023-04-08 08:12:32.716 PMdebugTuya Zigbee Valve Model is : TS0001

dev:8072023-04-08 08:12:32.714 PMdebugTuya Zigbee Valve Tuya check-in message (attribute 0001 reported: 64)

dev:8072023-04-08 08:12:32.712 PMdebugTuya Zigbee Valve zclVersion is : 02

dev:8072023-04-08 08:12:32.710 PMdebugTuya Zigbee Valve Manufacturer is : _TZ3000_5ucujjts

dev:8072023-04-08 08:12:32.697 PMdebugTuya Zigbee Valve Desc Map: [raw:CB0701000064040042105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86, dni:CB07, 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:8072023-04-08 08:12:32.653 PMdebugTuya Zigbee Valve exception caught while parsing description: read attr - raw: CB0701000064040042105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86, dni: CB07, endpoint: 01, cluster: 0000, size: 64, attrId: 0004, encoding: 42, command: 01, value: 105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86

dev:8072023-04-08 08:12:32.642 PMdebugTuya Zigbee Valve parse: description is read attr - raw: CB0701000064040042105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86, dni: CB07, endpoint: 01, cluster: 0000, size: 64, attrId: 0004, encoding: 42, command: 01, value: 105F545A333030305F357563756A6A74730000002002010000206405000042065453303030310700003001FEFF86

dev:8072023-04-08 08:12:32.640 PMinfoTuya Zigbee Valve is online

dev:8072023-04-08 08:12:32.491 PMdebugTuya Zigbee Valve sendZigbeeCommands (cmd=[he raw 0xCB07 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 150, he wattr 0xCB07 0x01 0x0000 0xFFDE 0x20 {0D} {}, delay 50, he wattr 0xCB07 0x01 0xE001 0xD010 0x30 {02} {}, delay 251])

dev:8072023-04-08 08:12:32.458 PMdebugTuya Zigbee Valve settings.batteryReporting = null

dev:8072023-04-08 08:12:32.450 PMdebugTuya Zigbee Valve setting powerOnBehaviour to last state (2)

dev:8072023-04-08 08:12:32.428 PMinfoTuya Zigbee Valve configure()..

dev:8072023-04-08 08:12:32.420 PMdebugcalling initialize() after 5 seconds...

dev:8072023-04-08 08:12:32.384 PMtrace destinationEP = 01

dev:8072023-04-08 08:12:32.383 PMtrace model = TS0001

dev:8072023-04-08 08:12:32.381 PMinfoTuya Zigbee Valve tuyaVersion set to 1.2.4

dev:8072023-04-08 08:12:32.301 PMinfoTuya Zigbee Valve all states and scheduled jobs cleared!

dev:8072023-04-08 08:12:32.294 PMwarnTuya Zigbee Valve device model TS0001 manufacturer _TZ3000_5ucujjts was not found!

dev:8072023-04-08 08:12:32.292 PMwarnTuya Zigbee Valve unknown model TS0001 manufacturer _TZ3000_5ucujjts

dev:8072023-04-08 08:12:32.270 PMinfoTuya Zigbee Valve InitializeVars()... fullInit = true

dev:8072023-04-08 08:12:32.264 PMinfoTuya Zigbee Valve Installed()...

Thanks,
Dan

Hey Dan,

Unfortunately, the latest platform updates have broken again the pairing for these Zigbee-3.0-only devices, which were working for a short period when the C-8 was first publically released.

My smart plug TS011F _TZ3000_okaz9tjs, my power strip/extension TS011F _TZ3000_cfnprab5 also can not stay connected to HE with the latest platform versions ( currently on 2.3.5.123). They were working OK with the first publically released 2.3.5.1xx versions.

There is nothing that can be done on a driver level to fix these connectivity issues, we have to wait for Hubitat team to find and implement a solution soon.

Some technical details from your logs analysis:
When paired as a new device (DNI: CB07), the valve TS0001 _TZ3000_5ucujjtsand sent the first data packet at 08:12:32.642. Then it communicates normally to the hub until 08:12:39.887 when ZDO command responses for clusters 8005 (endpoint response) and 8004 (simple descriptor response) are received. These responses are the result of a previously sent ZDO command "Active Endpoints Request" (ZDO cluster 0x0005) and "Simple Descriptor Request" (ZDO cluster 0x0004), which commands are usually part of the Zigbee pairing process. This driver simply parses and processes the responses to these system commands but does not send such requests. (I also see the reason for an exception thrown in the code , will fix it in the next version, but this is not relevant to the device disconnection problem).

Then, at 08:19:50.214 (5 minutes later) the valve joins the Zigbee network again, but the Device Network Id (DNI) is now different - 838D. A few seconds later - new DNI : A6F6, FCC3, 4A84 ..
The device is not operational at this point... : (

I am monitoring the HE forum and I am applying and testing the latest platform fixes for my problematic TS011F devices ASAP, I am sure when these get fixed, the problem with this valve will be fixed too.