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

He is out on a super secret personal project, he said he might be back around September, IIRC

4 Likes

I have one and it's working great on C8 hub for several months now, but it might be a different Tuya version. Seems to utilize the auto-reconnect feature quite a bit
https://www.amazon.com/dp/B0DHTRQ2GV?ref_=ppx_hzsearch_conn_dt_b_fed_asin_title_3

Application 4A
Endpoint Id 01
Manufacturer _TZE204_a7sghmms
Model TS0601
Tuya Version 1.0.10

State Variables

Comment Works with Tuya TS0001 TS0011 TS011F TS0601 shutoff valves; Tuya TS0049, GiEX, Saswell, Lidl, FrankEver irrigation timers
Device Profile TS0601_GIEX_VALVE
Driver Version 1.4.0 2024/11/19 7:25 PM
Last Rx {"parseTime":1746025289216}
Last Tx {"pingTime":1732216162969}
States {"debounce":false,"isRefresh":false,"isDigital":false,"notPresentCtr":1,"lastBattery":"100","lastSwitch":"closed"}
Stats {"RxCtr":1804,"TxCtr":142,"rejoinCtr":39}

Just wanted to jump in and thank you. I recently acquired one of these dual valves, which identifies as:
Manufacturer. _TZE284_fhvpaltk
Model. TS0601

No luck with the Sinope driver and initially couldn't get it to respond to your driver either. Eventually I turned on "Advanced Options" and by trial and error ended up choosing "TS0601_TZE284_VALVE"


Working like a charm now!
I created two virtual switches and some RM stuff to turn each valve on/off (I only needed basic functionality).

So thanks again for your work.

3 Likes

I purchased and added to hub almost a year ago, but finally got around to installing my drip irrigation system and getting set up and testing. I noticed there's some major discrepancies with the times displayed:

At 08:35am local time I started a 300 second (5 minute) run.
The driver is stating irrigationEndTime of 16:35 (+8 hours)
At 08:40am local time it stopped the 5 minute run.

In the current states:
image

Ignoring the timezone differences, it's reporting __:30 as start and __:35 as the end when in reality it was __:35 as start and __:40 as end.

I'm not going to lose sleep over this because setting the number of seconds and turning it on appears to work properly (it turns itself off after the appropriate time elapsed) but just pointing this out because it's confusing when troubleshooting/checking.

Is the timer turning itself off after the configured time or is the hub sending the off/close signal? (I think/hope it's the former.)

Thanks for that note!

I just acquired one of these (very similar) dual Zigbee valves: Amazon.com: Haozee Zigbee Sprinkler Timer 2 Zone,Smart Water Timer for Garden Hose, Requires Zigbee 3.0 Hub,Support Home Assistant Zigbee2mqtt, Rain Delay and Manual Watering, Leakproof for Yard Lawn Watering : Patio, Lawn & Garden

It's fingerprint selected this driver (I already had it installed), but I needed to manually set the device profile to TS0601_TZE284_VALVE (via the Advanced Options) to get the "Set Valve2" to operate. Thanks for your note!

fingerprint profileId:"0104", endpointId:"01", inClusters:"0000,0004,0005,EF00,0000,ED00", outClusters:"0019,000A", model:"TS0601", manufacturer:"_TZE284_fhvpaltk", controllerType: "ZGB"
ZCL version:03
Software Build Id:unknown
Model:TS0601
Manufacturer:_TZE284_fhvpaltk

I have a SONOFF Zigbee Smart Water Valve and am using this driver. I had the February version, but just updated to the most recent version, and it hasn't helped.
The problem is if I press the button on the device to turn the valve on, i don't get an "open" event to Hubitat, and so my rule to turn it auto-off doesn't run.
If I open the valve using the "open" command on the device page, then I do get the "valve->open" and "switch->on" events and the auto-off works.

If I open by pressing the physical button on the valve, I do get "IrrigationVolume", "IrrigationStartTime", "LastValveOpenDuration" events, but no "valve->open" and "switch->on" events.
Is there a way to fix it so I get those events, or is it possible to trigger my rule on the events I do get ?

(And setting a value in the "Set Irrigation Timer" section doesn't seem to work either, as an aut-off. I think it worked a couple of times once, but then doesn't seem to work any more.)

1 Like