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

@kkossev Thank you for this driver! I'm using it with the Sonoff Zigbee Smart Water Valve.

Has anyone been able to configure a settings that causes HE to update the Valve status when the valve is opened or closed via the button on the device?

Hi @calinatl ,

The manual opening or closing of the Sonoff SWV valve should be shown in the live logs with a [physical] tag :

I will further comment on your other post to troubleshoot the issue.

Hello Gang, Just got a new variety from Amazon:
It's a Haozee Haozee Sprinkler Timer Zigbee 3.0

Should I expect it to work with @kkossev driver? (it doesn't) However it paired right up to my C8 but won't open or close. It automatically selected the Tuya 4 in 1 driver, even tho I had the Tuya sprinkler driver by the famous Krassimir loaded.
Data:
Haozee sprinkler valve

Manufacturer: _TZE204_a7sghmms
Endpoint 01 application: 4A
Endpoint 01 endpointId: 01
Endpoint 01 idAsInt: 1
Endpoint 01 inClusters: 0000,0004,0005,EF00
Endpoint 01 initialized: true
Endpoint 01 manufacturer: _TZE204_a7sghmms
Endpoint 01 model: TS0601
Endpoint 01 outClusters: 0019,000A
Endpoint 01 profileId: 0104
Endpoint 01 stage: 4

Hi Rxich,

This is a new manufacturer valve, and the device fingerprint is not in the driver code yet. When there is no 100% match between a Zigbee device Model, Manufacturer, and inClusters list, HE selects a driver whose fingerprints partially match the new device—in your case, it was the 4-in-1 driver.

Until I add this new device fingerprint to the Tuya Zigbee Valve driver code, you can try configuring it manually - select the "TS0601_GIEX_VALVE" Device Profile (do not forget to save the preferences). I expect it to work - let me know the results...

1 Like

Ah ha, I tried that last night after looking at the clusters supported in the driver. However it seems the valve has to be under force to operate, so once I blew into it very forcefully, I could hear the valve opening/closing. No rush on this , it's way too cold in the northeast to have this device operating outside. I was just testing to make sure it stays connected and behaves on the mesh, to know if I needed to return it.
Thank You

1 Like

Version 1.4.0 2024-11-22 is pished for update via HPM :

  • supressed 'Sonoff SWV sendIrrigationDuration is not avaiable!' warning;
  • added NovaDigital TS0601 _TZE200_fphxkxue @ Rafael as TS0601_SASWELL_VALVE (working partially!);
  • added queryAllTuyaDP for TS0601 devices;
1 Like

Might this driver work with the following tuya zigbee device?
I have this device added to Hubitat and currently using generic driver:-(

I just found this on AliExpress: AU$60.64 | WIFI Smart 2 Zone Watering Timer Garden Automatic Irrigation System Drip Sprinkler Controller Valve Smart Life Tuya
https://a.aliexpress.com/_mKujtEB

It is impossible to tell from a picture...

Please post the device Zigbee details data.

1 Like

Please see below as requested

Can you try the GiEX device profile?

Still showing as offline

C-8? Use the Doble Luck Voodoo to pair.

1 Like

:pray:
The voodoo trick has one valve (right side) now working, anyway to control the second valve ?
The battery level is also not showing:

@kkossev Any chance to get help with getting the other valve and battery reporting working please?

Please enable the debug logging and manually turn on and then off the second valve. I will need the debug logs that follow this manual operation. Include the debug logs in a summary section (use the cog wheel tool in the forum editor) or send as a plain text in a DM to me.

This driver is not well suited to support double valves, this is the first such device I know about... How are you planning to use the second valve? What can be done without totally refactoring the driver is to add a custom commands, such as 'valve2 on' and 'valve2 off', the second valve state will be also a custom attribute 'valve2 open' / 'valve2 closed'. Will this work for you?

1 Like

Yes Valve1 on/off Valve2 on/off would be great and of course battery values as dont want to run low on battery an have water everywhere. Both valves will have drip garden piping connected and the 1st valve will be placed towards the front area and the second will be placed towards the side area, i have another dual valve unit to cover the back area. I will report back soon with the debug details

1 Like