deconz-rest-plugin icon indicating copy to clipboard operation
deconz-rest-plugin copied to clipboard

MOES 2 Gang Switch _TZE200_g1ib5ldv

Open sn0wf4ke opened this issue 3 years ago • 2 comments

Device

  • Product name: MOES 2 Gang Switch (https://www.moeshouse.com/collections/smart-switch/products/zigbee-smart-wall-light-switch-with-neutral-wire-or-no-neutral-wire-wiring-no-capacitor-needed-smart-life-tuya-2-3-way-muilti-control-association-works-with-alexa-google-home-hub-required?variant=39357460578385)
  • Manufacturer: _TZE200_g1ib5ldv
  • Model identifier: TS0601
  • Device type : Please remove all unrelated device types.
    • Switch

Screenshots

image image

Basic

image

Groups

image image

Scenes

image image image

Tuya specific

image

OTAU

image

Time

image

sn0wf4ke avatar Jul 16 '22 09:07 sn0wf4ke

ok I figured out how to bring one gang up inspired by #5869. My DDF now looks this way:

{
  "schema": "devcap1.schema.json",
  "manufacturername": "_TZE200_g1ib5ldv",
  "modelid": "TS0601",
  "vendor": "$MF_TUYA",
  "product": "Smart Switch Module",
  "sleeper": false,
  "status": "Bronze",
  "path": "/devices/ts0601.json",
  "subdevices": [
    {
      "type": "$TYPE_ON_OFF_LIGHT",
      "restapi": "/lights",
      "uuid": [
        "$address.ext",
        "0x02"
      ],
      "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",
          "public": false,
          "default": "none"
        },
        {
          "name": "state/on",
          "refresh.interval": 84000,
          "read": {
            "fn": "none"
          },
          "write": {
            "dpid": 1,
            "dt": "0x10",
            "eval": "Item.val == 1 ? 1 : 0;",
            "fn": "tuya"
          },
          "parse": {
            "dpid": 1,
            "eval": "Item.val = Attr.val;",
            "fn": "tuya"
          }
        },
        {
          "name": "state/reachable"
        }
      ]
    }
  ]
}

But how to control the second gang?

sn0wf4ke avatar Jul 17 '22 14:07 sn0wf4ke

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

github-actions[bot] avatar Aug 08 '22 02:08 github-actions[bot]

As there has not been any response in 28 days, this issue will be closed. @ OP: If this issue is solved post what fixed it for you. If it is not solved, request to get this opened again.

github-actions[bot] avatar Aug 15 '22 02:08 github-actions[bot]

ok I figured out how to bring one gang up inspired by #5869. My DDF now looks this way:

{
  "schema": "devcap1.schema.json",
  "manufacturername": "_TZE200_g1ib5ldv",
  "modelid": "TS0601",
  "vendor": "$MF_TUYA",
  "product": "Smart Switch Module",
  "sleeper": false,
  "status": "Bronze",
  "path": "/devices/ts0601.json",
  "subdevices": [
    {
      "type": "$TYPE_ON_OFF_LIGHT",
      "restapi": "/lights",
      "uuid": [
        "$address.ext",
        "0x02"
      ],
      "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",
          "public": false,
          "default": "none"
        },
        {
          "name": "state/on",
          "refresh.interval": 84000,
          "read": {
            "fn": "none"
          },
          "write": {
            "dpid": 1,
            "dt": "0x10",
            "eval": "Item.val == 1 ? 1 : 0;",
            "fn": "tuya"
          },
          "parse": {
            "dpid": 1,
            "eval": "Item.val = Attr.val;",
            "fn": "tuya"
          }
        },
        {
          "name": "state/reachable"
        }
      ]
    }
  ]
}

But how to control the second gang?

Did you manage to get the 2nd gang working? (I have received a similar one but 3-Gang)

forast3r avatar Aug 19 '22 11:08 forast3r

Sad but no

ekneg54 avatar Aug 19 '22 12:08 ekneg54

Any news on the 2 or 3-gang DDF?

I'm thinking it's time to migrate to zigbee2mqtt. :-(

mweedon avatar Nov 28 '22 21:11 mweedon