New Tuya Temperatur and Humidity Sensor

@mattreim I have checked, we already have a DDF deconz-rest-plugin/devices/hobeian/hobeian_temperature_sensor.json at master · dresden-elektronik/deconz-rest-plugin · GitHub

And this device have so much clones


        zigbeeModel: ["ZG-227Z", "ZG-227ZL"],
        fingerprint: tuya.fingerprint("TS0601", [
            "_TZE200_qoy0ekbd",
            "_TZE200_znbl8dj5",
            "_TZE200_a8sdabtg",
            "_TZE200_dikkika5",
            "_TZE200_vs0skpuc",
            "_TZE200_3xfjp0ag",
            "_TZE200_ehhrv2e3",
            "_TZE200_lhqtjwax",
        ]),
        model: "ZG-227ZL",

So I think we can edit the previous DDF t o add them ?

Edit:
I have checked again, all other are already on other DDF
So @vniklas can you you just add your device to the previous DDF ?

  "manufacturername": ["HOBEIAN", "HOBEIAN"],
  "modelid": ["ZG-227Z", "ZG-227ZL"],

The DDF has been expanded.

1 Like

Hello,
I tried to apply the changes, but I was not successful. I can see temperature und humidity data in deConz, but I still cannot see the device in the rest api of phoscon.
Pls. give some guidance how to procede.
Thx

What have you done ?
You have just edited the previous DDf or have created a new one ?

Or have used Deconz Toolbox ?

What is your OS ? Remember on docker, you need to use te persistent folder.

  1. I have just edited the previous DDF, I didnt’ use the Toolbox.
  2. I’m working on Windows11, no docker.

UPDATE: I now used the DeConz Toolbox and created a DDF-bundle which I was able to upload in the Phoscon app and magic happened …

Thx for your support

And all is working ? (to know if we can add it officialy, or if you want to make the Pr to add it ?)

And BTW, yes on windows better to edit the file ^^, the DDF bundle is more for HA users. Deconz need to be restarted after a change on a json file (deconz load DDF only at start)

The PR is finished.

2 Likes

Thx, for the prompt support and finishing the PR.
I‘m fine with the Bundle solution since my constellation with Phoscon, deCONZ and FHEM is quite exotic. But I‘m now using Z-Wave, Homematic, Somfy and finally Phoscon/deConz parallel on FHEM as main HA app.
Zigbee is becoming more and more important, so no way to ignore it anymore.

No, I see regularly user from FHEM, there is more exotic ^^.
About that, just by curiosity (as you have said you prefer the Bundle solution) you are running on docker or real OS ?

I‘m running HA on Raspberry with real OS. I used the Bundle for upload and update in Phoscon. The other solutions I tried didn‘t work.

On real OS, you just need to put the json on a “device” folder

All DDF provided directly with deCONZ typically reside in /usr/share/deCONZ/devices/ on a Linux system and are loaded first. However, files residing in the home directory of the user running deCONZ (e.g. /home/<DECONZUSER>/.local/share/dresden-elektronik/deCONZ/devices) will override the pre-packaged files to allow users to amend and keep their own files if desired.

But you need to restart after a change, deconz load DDF only at start, there is a “hot reload” feature on the editor, but faster to restart.

1 Like