Tuya Irrigation Integration

I have purchased the product and reached out to support regarding some integrations. They informed me that they currently have no plans to integrate the feature I inquired about. I also came across a post by another user who uses ESP32 to press the buttons, but I’m not sure if I want to switch over just yet.

So do not waste you time on that.

After reading almost every resource I found on the topic of Diivoo irrigation and Home Assistant, I have gathered the following results:

  1. Diivoo Irrigation Computer WLAN 2 Outputs, Smart Watering Timer for Garden Watering Compatible with Alexa & Smart Life App, Automatic Watering Timer with Wi-Fi Hub for Lawn Parkside works, but not out of the box. See bottom of posting for info.

image

  1. Diivoo Irrigation Computer WLAN 2 Outputs with Built-in Water Flow Meter, Smart Timer Watering with App and 8 Watering Plan, Automatic Watering Timer for Garden Lawn is showing in HA, but switch does not work

image

  1. Diivoo Irrigation Computer WLAN 3 Outputs with 60 m RFID Technology, Smart Timer Watering with App, Alexa Voice Control, 6 Watering Plans, Automatic Watering Timer for Garden
    uses HomGar app, which does not work with HA as of today

image

  1. Diivoo Irrigation Computer WLAN 2 Outputs with 60 m RFID Technology, Smart Timer Watering with App, Alexa Voice Control, 6 Watering Plans, Automatic Watering Timer for Garden same as before

image

  1. Diivoo WiFi 1/2 Zone Garden Drip Watering Timer Smart Remote Controller Home Greenhouse Outdoor Automatic Irrigation Equipment not tested yet

It seems out of stock on Amazon today …? I cannot open it anymore … Glad I bought on and it’s on its way :smiley:

The only way I got the first one to work was install GitHub - markvdh/home-assistant-tuya-custom: merged jsmeyers & lasry1 to create working version containing water valve support and re-enter Tuya credentials, as it replaces the original integration (fingers crossed it wont break everything)

I wish Local Tuya or Tuya Local had worked, but I couldn’t figure it out. None of the previously mentioned advises worked for me.

1 Like

Hello, could you link the project about the esp32 that press the button for the water valve? Thx

To take “full” control of it on the HomeAssistant side, I wrote an ugly automation that keeps the countdown always running.

The main issue is that this device needs a countdown value to be able to start; if none is set, it will automatically turn off.

  • 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)
  • Every 12 hours, it restarts the countdown.

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

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

I have another type of Tuya Irrigation system which works very good but there is no entities available in HA.
Anybody have any ideea how to control it through HA?

https://www.aliexpress.com/item/1005007783518390.html?spm=a2g0o.productlist.main.7.2cec7a503CT4ra&algo_pvid=6ce6aa13-b4ea-488e-b2a3-77a6b87523db&algo_exp_id=6ce6aa13-b4ea-488e-b2a3-77a6b87523db-6&pdp_ext_f={"order"%3A"35"%2C"eval"%3A"1"}&pdp_npi=4%40dis!RON!640.93!320.46!!!140.42!70.21!%40211b81a317484328384943797e6026!12000042190633923!sea!RO!110316404!X&curPageLogUid=t1kVm2rziIuO&utparam-url=scene%3Asearch|query_from%3A

Create “Tap-to-run” scenes in the Tuya/SmartLife app. Those you’ll be able to trigger from HA.

For many Tuya water valves, being able to control them directly from HA is (next to) useless anyway as HA can not start them correctly. (Joghee Water Timer not switching on, all other controls (including switching off ) work.... · Issue #113737 · home-assistant/core · GitHub)

Thanks, it looks messy on my integration but at least it works, thank you

Is this the orange coloured one

Can you confirm the WT-03 with gateway works with the make-all tuya-local integration? It’s not listed as a supported device in tuya-local/DEVICES.md at b4ff68ebd984603cebb178a994670eaaf719c0d6 · make-all/tuya-local · GitHub.

I am trying to connect one and when I do I get the error:
“Unable to connect to your device with those details. It could be an intermittent issue, or they may be incorrect.”

The details using are:

Device ID: <Id of the gateway>
IP: <ip of gateway>
Local Key: <key for the gateway and I've tried the WT-03 water controller>
Protocol: 3.4
Sub device node_id: <uuid of the WT-03 water controller>

I have not been able to connect. I may try another integration…