dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.9k stars 503 forks source link

Tuya Soil Sensor (diff. manufacturer) #7799

Closed kopierschnitte closed 5 months ago

kopierschnitte commented 5 months ago

Is there already an existing issue for this?

Product name

Tuya Soil Sensor

Manufacturer

_TZE204_myd45weu

Model identifier

TS0601

Device type to add

Other

Node info

image

Endpoints and clusters

image

Basic

image

Further relevant clusters

The device is already supported by https://github.com/dresden-elektronik/deconz-rest-plugin/issues/6731 but some units are sold with a different manufacturer-id. Mine reads _TZE204_myd45weu instead of _TZE200_myd45weu.

After cloning the current DDF and changing the manufacturer-id, the device works as expected. Therefore I guess, it's just an alias for the other device.

Smanar commented 5 months ago

So adding your device to this DFF https://github.com/dresden-elektronik/deconz-rest-plugin/blob/master/devices/tuya/_TZE200_myd45weu_soil_sensor.json Make it working ?

So there is nothing to do ? (except make the PR)

kopierschnitte commented 5 months ago

Yes, indeed ;-)

Smanar commented 5 months ago

Thx, was fast ^^, PR done here > https://github.com/dresden-elektronik/deconz-rest-plugin/pull/7808

kopierschnitte commented 5 months ago

Great. Thanks!

Mimiix commented 5 months ago

Please keep it open until its merged.

Smanar commented 5 months ago

The DDF have worked ? Do you want to make the PR or want I make it ?

kopierschnitte commented 5 months ago

Yes, perfectly. I'm not so skilled using Github. Would be great if you could do the PR.

Smanar commented 5 months ago

Oups, sorry, haven't see the PR was already done, and by me ....