Water valve Sonoff SWB-BSP

Could the « water flow » feature be added?

What model is this?

It’s the first one at the top left: SWV

ok so you just want the flow (water flow rate)?

Can you take a screenshot of the Exposures and Status view of your valve? Just to check what I can add other useful exposures in Gladys

From what I’ve seen regarding the flow rate, each manufacturer has its own name for this feature, unlike switches or other « simple » functions, for example.

On the development side, I don’t know if it’s possible, but it would be great to have a « group » where you can put all the names that will be given (I hope I’m being clear…).

I have a Sonoff SWV and here are all the states including the flow:

{
    "auto_close_when_water_shortage": "ENABLE",
    "battery": 48,
    "current_device_status": "normal_state",
    "daily_irrigation_volume": 12,
    "flow": 0,
    "irrigation_end_time": 1783243880,
    "irrigation_start_time": 1783243462,
    "last_seen": "2026-07-05T16:19:47+02:00",
    "linkquality": 132,
    "real_time_irrigation_duration": 600,
    "real_time_irrigation_volume": 535,
    "state": "OFF",
    "update": {
        "installed_version": 4100,
        "latest_release_notes": null,
        "latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/Sonoff/zbswv_v1.0.4.ota",
        "latest_version": 4100,
        "state": "idle"
    }
}

On my side, I retrieve the real_time_irrigation_duration and real_time_irrigation_volume via a virtual MQTT device, but I wouldn’t say no to automatic retrieval either :wink:

Does this type of device work well? What is the purpose of the feature below?

Works great for me for automatic watering of the vegetable garden and plants, and if I have water in my tanks, I activate the pump to avoid using the urban network (with a manual bypass for the tank<>urban).

This is the volume of water (in liters) that passes in real time: very practical for adding 300 liters to the pool and automatically stopping the valve :wink: