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

DDF: Add support for another variation of a Tuya door sensor TS0203 (_TZ3000_oxslv1c9)

Open aronsky opened this issue 2 years ago • 1 comments

Based on work by @Smanar (only the suffix had to be changed)

aronsky avatar Aug 11 '22 06:08 aronsky

Just for information, if the device is a clone, a same DDF can be used for 2 devices

  "manufacturername": ["_TZ3000_oxslv1c9", "second_manufacture_name"],
  "modelid": ["TS0203", "TS0203"],

Smanar avatar Aug 11 '22 16:08 Smanar

Huh, I had no idea. I assume that, in this case, the modelid field should actually remain a single string, since it's the same? Or does the length of "manufacturername" and "modelid" lists has to match?

aronsky avatar Aug 12 '22 11:08 aronsky

Yep, they need to match (need to use all field even they are same)

  "manufacturername": ["manu_device1", "manu_device2"],
  "modelid": ["modelid_device1", "modelid_device2"],

Smanar avatar Aug 12 '22 13:08 Smanar

Done.

aronsky avatar Aug 13 '22 05:08 aronsky

Nice, thx, for me its better because there is a new tuya clone every day, if we make a new file every time ....

Smanar avatar Aug 13 '22 09:08 Smanar

Hello, I have something to ask you ^^.

There is an user with another tuya clone, that work with this DDF too, if you can add it to the list too ? https://github.com/dresden-elektronik/deconz-rest-plugin/issues/6265

Manufacture name : _TZ3000_7tbsruql Model id : TS0203

Smanar avatar Aug 14 '22 09:08 Smanar

No problem, done.

aronsky avatar Aug 14 '22 11:08 aronsky

Thx ^^

Smanar avatar Aug 14 '22 12:08 Smanar