My Tuya RTX ZVG2 suddenly broke in two pieces so i’m looking for a replacement. Is this Sonoff valve good? my use case: timed irrigation and monitoring of water volume.
Thanks
hi,
please tell me if 19 liters per minute is the maximum flowrate Sonoff valve can provide, no mater the water source. I want to use Sonoff valves with a hight pressure pump 3.5 bar, over 50 liters per minute, hard plastic pipes, 1 inch diameter and I want a flow rate close to 39 liters per minute. Is ir possible?
Thanks
This
is the information I can share at the moment. I installed the valve in a sistem with an invertor pump set to provide 3.5 bar constant pressure. I used PEHD pipes, 32 mm diameter. Pump can deliver over 50 liters of water per minute. As you can see maximum flow measured by Sonoff valve is 2 cubic meters per hour (about 33 liters per minute) at start then drops to 1.6 or 1.7 depending on the zone I use. 1.6 is pretty close to what I calculate from Hunter’s data about the sprinklers. 1.7 is far less than the 48 liters/minute I need for the other zone, again according to sprinklers specifications, but I think I will try with other nozzles, less demanding or maybe even use two Sonoff valves in paralel.
Thanks to those who worked out the mqtt commands to set a watering duration, its super helpful.
Ive actually set mine up using an input number helper, and then a template switch.
The template switch uses the state of the actual device switch.
turn off calls switch.turn_off on the device switch
turn on calls this:
action: mqtt.publish
data:
topic: zigbee2mqtt/FrontTap/set
payload: |-
{"cyclic_timed_irrigation": {"current_count": 1, "total_number": 1,
"irrigation_duration": {{ states('input_number.fronttap_watering_duration') | int * 60 }}, "irrigation_interval": 1}}
This gets me the same functionality I used to have with linktap and the custom integration I wrote and published to HACS. Ive moved house and now only have a single tap with a few pot plants, so linktap was overkill.
I have 2 of these;
one of them is working as expected.
the other, when I publish htis command, it starts watering but the state doesnt actually report back as ON
{"cyclic_timed_irrigation": {"current_count": 1, "total_number": 1,
"irrigation_duration": {{ states('input_number.fronttap_watering_duration') | int * 60 }}, "irrigation_interval": 1}}
{
"auto_close_when_water_shortage": "DISABLE",
"battery": 100,
"current_device_status": "water_shortage",
"cyclic_quantitative_irrigation": {
"current_count": 0,
"irrigation_capacity": 0,
"irrigation_interval": 0,
"total_number": 0
},
"cyclic_timed_irrigation": {
"current_count": 1,
"irrigation_duration": 480,
"irrigation_interval": 1,
"total_number": 1
},
"flow": 0,
"last_seen": "2025-12-18T05:10:52.917Z",
"linkquality": 149,
"state": "OFF",
"update": {
"installed_version": 4100,
"latest_version": 4100,
"state": "idle"
}
}
Its a drip system so the low/no-flow is kind of expected.
It does open up the water flow, and it does turn off once it hits the set duration, its just not updating the state.
What on earth is going on here?
Maybe not a great connection to a router? Battery? Switch the 2 SWS’s around?
Hi! I got one SWV-ZNE (the one without flow meter) myself.
I just want some simple automations, open for 3 minutes three times a day
I can set this up as a simple automation with open valve, wait 3 minutes, then close valve, but I think this has some command to start timed irrigations, so even if HA goes down in the 3 minute lape, the valve won't remain open forever...
Can someone shed some light on this? I'm using zigbee2mqtt...
A little googling around found "Enable Inching Mode" but that might be an eWeLink function. You might to some googling around, too.
There's multiple posts up above using irrigation_duration. If that doesn't help, the device page on the Z2M site has a semi-decent explanation of all properties.
Thanks for the heads up!
Yup, I browsed the thread a bit and found that, but sending that same payload to my device's topic didn't seem to fire the irrigation...
But I did find an interesting feature: I can set something like 'default irrigation time' in the device's properties. Once that is set, any time you send the 'start' command (and even if you push the physical button) it will internally create a timer and it will stop afert the timer (3 minutes in my case) ellapses, even if you don't send the 'stop' comand.
So it seems developers already thought about this, and, at least for me, this implementation works great, I can rest assured my irrigation will work for the amount of time set previously, even if my HA or router crashes in the mean time.
I will keep the timer and stop command in my automation just to be on the safe side, but my tests show it will work perfectly even without them, just by setting the irrigation time, starting the irrigation in the automation and then letting it end by itself (it will even keep log values for the 'real' end time and scheduled end time).
I was using that default irrigation time until the time it didn't stop a few days ago!
Honestly, this valve is perplexing me!
I assumed I would be able to set daily and multiple events per day. I think it might be possible, bit I'm damned if I can figure it out through the z2mqtt interface.
I was able to programme a daily pattern fine, and thought that 'duration with interval' would probably allow multiple watering per day, however the internal can only be 60mins max which makes no sense.
There's also 'irrigation duration' and 'irrigation total duration' - I assumed perhaps setting total to 3 times the normal one would give 3 intervals.
But none of this seems to work.
So I've removed the plan, and it removed ok.
But then the flow meter stopped reporting. So I went to those settings, selected reading type 24 hours, and now it reads 1308622848L.
Feels like something really weird is going on as it just doesn't make much sense.
I correctly have ha scheduling stop and starts directly working fine, but like many others would much rather have a local schedule on the valve and just measure using ha.
I'm wondering if maybe sonoff have updated the valve and it's not working properly - I've only had mine a few weeks, it's the new one with the brass coupler - shows as swv-zfe.
If anyone has worked any of this out I works also appreciate some help!
Cheers
Matt
In case it is in any way helpful to others, I could find no way to get the valve to properly report flow, and was also getting errors thrown about being unable to sync time. I reset the valve and re-added, and it's now correctly reporting flow. I've left automations directly controlled by HA (i.e. simple on / off) but would still much prefer to schedule several slots a day on the device itself. I do feel there's something buggy going on, and I do not see any other person having shared success in scheduling several slots a day, and I don't have time to start debugging.
