Hey,
I am trying to pair a Hobeian ZG-106Z light sensor.
I already searched the Deconz Toolbox for that model name but didn’t find anything, also not in the GitHub repo.
It is this little thing:
https://www.zigbee2mqtt.io/devices/ZG-106Z.html
I checked here:
https://z2m.dev/devices/tuya/ts0222.html
=> It seems to be a white label of the tuya ts0222.
There IS indeed a ddf for that:
https://deconz-community.github.io/ddf-tools/#/store/bundle/32e3df6372ada1dcf9d6e506d8acec3d1d8304924b7b958324120cbb9c869ecb
But how do I make DeConz clear that those are the same?
From what I understand, deCONZ matches DDFs based on the Manufacturer Name and Model Identifier reported in the Basic Cluster, not the product name. So my plan would be:
- Install the DDF bundle from the store linked above via the deCONZ Toolbox / integrated DDF store.
- Check what my device actually reports: pair it, then read the Basic Cluster in the deCONZ GUI (or query
manufacturername/modelidvia the REST API) to see if the Hobeian unit identifies itself with one of the Tuya IDs already listed in the TS0222 DDF. - If the IDs don’t match: open the DDF editor (Edit → Open DDF Editor), load the TS0222 DDF and add my device’s combination to the
manufacturername/modelidarrays, e.g.:
"manufacturername": ["_TZ3000_xxxxxxxx", "HOBEIAN"],
"modelid": ["TS0222", "ZG-106Z"]
Then save it as a user DDF (should end up in ~/.local/share/dresden-elektronik/deCONZ/devices/) and reload the DDF on the device.
Does that sound like the correct approach, or is there a simpler way to tell deCONZ that this white-label device should use the existing TS0222 DDF?