SONOFF Hydro ONE Zigbee + BLE

OK I don’t have any Sonoff devices yet and no other Zigbee devices but I want to set up some garden watering automation this summer and saw this pre-order and placed an order for two.

I have many Z-Wave devices and a couple of BLE devices already.

I have a Home Assistant Yellow so Zigbee should be ready to go but this needs to go far from where HA server sits so I also ordered SONOFF Dongle Max Zigbee/Thread PoE Dongle to extend the network.

However, I am reading the product page for this new water valve and the manual shows it can be paried with Zigbee or BLE so now I’m not sure if it makes sense to start a Zigbee network for this or go with BLE?

Hi there, for sure you need Zigbee for full control. BLE contains a subset.
I have purchased 2 pcs of Sonoff Hydro ONE with flowmeter, they arrived today. This is the result with ZHA. (only on-off switch available)

I have the old SWV (plastic threads, no BT) firmware update 1004 exposes below


I notice “firmware unknown” as was the case for me before adding the following to my config

zha:
  zigpy_config:
    ota:
      extra_providers:
        - type: z2m
  database_path: zigbee.db
  custom_quirks_path: /config/zhaquirks/

Dear Jack. thank you for sharing this information. I added the "zha: " part in my configuration file ( and restarted HA). The result is unchanged. I believe I need a custom quirk in the /config/zhaquirks/ folder. Which one do you use for your SWV?

Actually my mistake, I have nothing relevent in my zhaquirks. For this device the fix was an update made available by the z2m as extra provider. Do you get a firmware version now?

okay understood.
I don’t have z2m and unaware how to integrate z2m into ZHA. No change in behaviour in my setup, no firmware version.

No Z2M at all, just using to get firmware updates. Just the config above is all you need.

Right, just updates only. Thanks for the clarification.
Now I need to get the flow rate sensor, water shortage auto close switch and diagnostics Water leak + Water supply in HA. Any idea how to fix that, is a firmware update needed?
https://www.zigbee2mqtt.io/devices/SWV-ZFE.html

It looks like support for this device is on its way! You may want to look at https://github.com/zigpy/zha-device-handlers/pull/4927
for a “custom quirk” If you follow the link to his GitHub you can add his swv_zfe.py to your homeassistant/zhaquirks folder. Thanks to Fraser Killup for this

Dear Jack, you are my hero today! Thank you for pointing me in the right direction to get this working.
The custom quirk works for showing the info, some of the items report an error. Most likely this will be solved in the near future.

I did also make mine expose all the sensors and config by adding the current code on that PR.

Just created the quirks folder via SSH (App) and added the file, restart and my installed valve had all the items.

Thank you!

Hi all, bought 3 of them and I was disappointed that these are not 100% supported by zha. I found the custom quirks and enabled it. I used this code: Add SONOFF SWV-ZFE smart water valve quirk by FraserKillip · Pull Request #4927 · zigpy/zha-device-handlers. All csutom entities popped up. But most of them seem not to work. Firmware ist still set to unknown. There is one major problem. If you witch the device "ON" it switches to "OFF" after 10 minutes not matter what setting is enabled. I don't know how to solve this?! is there a firmware update available and how do I updated the device? Thanks and greetings JuRo

I had to remove and add devices again after setting up the custom quirk for these valves before the extra control would work like setting auto off timer duration (default is 10 minutes)

mmh, in my case this definately does not work. I did this serveral times. (new entities are there but do not function or have malfunction ...)

My main problem is:
The device goes to "off" after 10 minutes. Also the max. timer is 10 minutes with makes no sense, this is far to low.
I also want to count the amount of water what also seems not to work.
In the meantime I installed the official Sonoff code: SWV-ZFU/SWV-ZFE-SONOFF Help Center
Here now tons of other entities pop up ... so far the device di d not go to off after 10 minutes, but I have to find out the failsaife possibilities now what is not self explaining .....

The official Zonoff zha seems to work. No fix limitation of 10 minutes anymore.