# Woox smart garden irrigation control

**URL:** <https://forum.phoscon.de/t/woox-smart-garden-irrigation-control/1958>\
**Category:** DDF-Library\
**Created:** [May 7, 2022, 7:46am UTC](https://forum.phoscon.de/t/woox-smart-garden-irrigation-control/1958 "2022-05-07T07:46:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Finne75](https://forum.phoscon.de/user_avatar/forum.phoscon.de/finne75/32/1538_2.png) [@Finne75](https://forum.phoscon.de/u/Finne75)\
**Post date:** [May 7, 2022, 7:46am UTC](https://forum.phoscon.de/t/woox-smart-garden-irrigation-control/1958/1 "2022-05-07T07:46:27Z")

</div>

I created a DDF for this practical device. The device works out of the box (deCONZ 2.15.3) as smart plug (Tuya TS0101), however the battery reporting is missing, which is added by this DDF.

I would create a PR, but not sure where to place it - create a new folder for woox in devices?

```auto
{
  "schema": "devcap1.schema.json",
  "manufacturername": "_TZ3210_eymunffl",
  "modelid": "TS0101",
  "vendor": "WOOX",
  "product": "TS0101",
  "sleeper": false,
  "status": "Bronze",
  "path": "/devices/ts0101.json",
  "subdevices": [
    {
      "type": "$TYPE_SMART_PLUG",
      "restapi": "/lights",
      "uuid": [
        "$address.ext",
        "0x01"
      ],
      "items": [
        {
          "name": "attr/id"
        },
        {
          "name": "attr/lastannounced"
        },
        {
          "name": "attr/lastseen"
        },
        {
          "name": "attr/manufacturername"
        },
        {
          "name": "attr/modelid"
        },
        {
          "name": "attr/name"
        },
        {
          "name": "attr/swversion"
        },
        {
          "name": "attr/type"
        },
        {
          "name": "attr/uniqueid"
        },
        {
          "name": "state/alert",
          "description": "The currently active alert effect.",
          "default": "none"
        },
        {
          "name": "state/on",
          "refresh.interval": 5
        },
        {
          "name": "state/reachable"
        }
      ]
    },
    {
      "type": "$TYPE_BATTERY_SENSOR",
      "restapi": "/sensors",
      "uuid": [
        "$address.ext",
        "0x01",
        "0x0001"
      ],
      "items": [
        {
          "name": "attr/id"
        },
        {
          "name": "attr/lastannounced"
        },
        {
          "name": "attr/lastseen"
        },
        {
          "name": "attr/manufacturername"
        },
        {
          "name": "attr/modelid"
        },
        {
          "name": "attr/name"
        },
        {
          "name": "attr/swversion"
        },
        {
          "name": "attr/type"
        },
        {
          "name": "attr/uniqueid"
        },
        {
          "name": "config/on"
        },
        {
          "name": "config/reachable"
        },
        {
          "name": "state/battery",
          "refresh.interval": 3600
        },
        {
          "name": "state/lastupdated"
        }
      ]
    }
  ],
  "bindings": [
    {
      "bind": "unicast",
      "src.ep": 1,
      "dst.ep": 1,
      "cl": "0x0006",
      "report": [
        {
          "at": "0x0000",
          "dt": "0x10",
          "min": 1,
          "max": 300
        }
      ]
    },
    {
      "bind": "unicast",
      "src.ep": 1,
      "cl": "0x0001",
      "report": [
        {
          "at": "0x0021",
          "dt": "0x20",
          "min": 0,
          "max": 0
        }
      ]
    }
  ]
}

```

---

<div class="post-metadata">

**Author:** ![Smanar](https://forum.phoscon.de/user_avatar/forum.phoscon.de/smanar/32/60_2.png) [@Smanar](https://forum.phoscon.de/u/Smanar)\
**Post date:** [May 7, 2022, 9:16am UTC](https://forum.phoscon.de/t/woox-smart-garden-irrigation-control/1958/2 "2022-05-07T09:16:54Z")

</div>

Nice thx.

But it seem there is some news version with a not working battery report no ? [Woox R7060 Smart Garden Irrigation Control · Issue #4325 · dresden-elektronik/deconz-rest-plugin · GitHub](https://github.com/dresden-elektronik/deconz-rest-plugin/issues/4325)

Else right, can create a “woox” folder in the “devices” folder.  
There is too much “no name” tuya device. When the brand is sure at 100% better to use it.

---

<div class="post-metadata">

**Author:** ![Finne75](https://forum.phoscon.de/user_avatar/forum.phoscon.de/finne75/32/1538_2.png) [@Finne75](https://forum.phoscon.de/u/Finne75)\
**Post date:** [May 7, 2022, 12:38pm UTC](https://forum.phoscon.de/t/woox-smart-garden-irrigation-control/1958/3 "2022-05-07T12:38:50Z")

</div>

At least for me both battery and on/off works well. I did not restart the deCONZ container after pairing, though - I rather would not want to do this too often 🙂 I will observe this when I have to do a restart next time.

EDIT: Because I am so curious I did a restart of the deCONZ add-on - still works fine.
