Diivoo / Tuya / Smart Home Hose Water Valve

With spring right around the corner (well, for us Canadians), the DiiVoo water valve to control your hose works great. The issue is turning it on via home assistant, which you can turn off super easily.

When you make a scene in the smart home app, make sure when you select the device, add the action to turn the switch on and also select a countdown with x seconds.

The valve will not turn on if you don’t specify how many seconds you want it on. I seem to forget that part each spring, so I’m including it in this chat.

Once you create the scene in the smart home app, then you can trigger it with the Tuyu integration easily inside of HA.

1 Like

Which integration do you use to add this valve to HA? Tnx from Toronto

1 Like

I’ve tried to do as you describe but it doesnt work. I’ve a Diivoo Valve.

I have created a scene i Tuya app, where i us If (Launch Tap-to-Run) and Then use Control Single Device and choose Valve Controller, then Switch and then On. Then I also add Countdown and choose for 10 seconds.

Now I have created a scene in Tuya app that i can see in Home assistant but when I activate the scene from Home assistant i get an error in Tuya app that the task failed to launch and nothing more happends.

Do you see anything obvious wrong in my setup?

Sorry for the delay, I use the stock Tuya one in-home assistant.

Let me grab some screenshots of my setup here.

  1. I made this tap to run in my Smart Life App not the Tuya one, so utterly confusing, half the reason I made this post so next year I don’t have to figure it all out again.

  2. Use the stock Tuya integration and it should pull over the device and this “tap to run” as a scene that you can Activate.

  3. Obtaining the User Code For Sign-In is all the first 4 steps here also Tuya - Home Assistant

@kumper33
Is this the one you have?

In a way to take “full” control on the HomeAssistant side I wrote a ugly automation that keeps the countdown always running.

  • I created a scene on tuya that sets the countdown to 24h (max)
  • Every time that we turn off the valve, we start a new countdown, (it stops the current one)
  • Each 12hours, we restart the countdown.

:crazy_face: Not nice, but it works. If you folks found a better way of setting the countdown straight from Hass, let me know.

alias: Valve Control - Manage Tuya Countdown
description: >-
  Initiates or renews the Tuya valve 24h countdown when the valve is switched
  off  OR periodically.
triggers:
  - entity_id: switch.your_valve_id
    to: "off"
    from: "on"
    trigger: state
  - hours: /12
    trigger: time_pattern
  - event: start
    trigger: homeassistant
actions:
  - target:
      entity_id: scene.your_scene_id
    action: scene.turn_on
    data: {}
mode: single

This might be useful to someone. It makes the orange 2 valve timer work without the need for scenes

Just incase someone is debating getting this in 2025 like i was. It is crazy simple now.
Just add it to the Tuya app following the instructions. create a scene as advised above and you are good to go.

Now i can spray the cats that keep dumping in my garden!