Problem with Pairing Device TS0601, _TZE200_cpmgn2cf

For phoscon I m almost sure you will be not able to use config/preset, but you can perhaps have it on homebridge ? or if you can create custom command ?

@Smanar, it looks like this is still not merged yet. Is there something I could do to get this merged?

Nobody tested the DDF in the Git post. After that, it auto closed. So testing the DDF should be the first you can do and report back in the git issue.

@Mimiix DDF in the git post works, I just put the ddf manually to my deconz and device is identified as TRV.

It’s highly appreciated if you can report your findings in the git issue,

OK my findings

  1. We dont need the above DDF in the MR. I just added the manufacturer from my device to one of the existing DDFs. I modified _TZE200_h4cgnbzg_trv.json to include _TZE200_cpmgn2cf as manufacturer.
  2. I used the above DDF to see the valve position. However, I still cannot see the valve position in the API response from deconz.
    i manually check the valve status on trv it says it is 25% open but on API response I see 0.
    Other values like Heatsetpoint, preset, State/temprature were ok.

I still have to check the window open and child lock yet.

Ha ? So there is a problem ^^.
For exemple on the actual DDF the dpid used for heatpoint is 2

        {
          "name": "config/heatsetpoint",
          "parse": {"fn": "tuya", "dpid": 2, "eval": "Item.val = Attr.val * 10;"},
          "write": {"fn": "tuya", "dpid": 2, "dt": "0x2b", "eval": "Item.val / 10;"},
          "read": {"fn": "tuya"}
        },

And on the _TZE200_h4cgnbzg_trv.json

        {
          "name": "config/heatsetpoint",
          "parse": {"fn": "tuya", "dpid": 103, "eval": "Item.val = Attr.val * 10;"},
          "write": {"fn": "tuya", "dpid": 103, "dt": "0x2b", "eval": "Item.val / 10;"},
          "read": {"fn": "tuya"}
        },

But I can be wrong on the actual DDF.

@Smanar with Both DDFs there is no problem at all with heatpoints.
I use the _TZE200_h4cgnbzg_trv.json to check the valve status, which was not working anyways.
That’s why I commented above that json works fine we just need to add the manufacturer

I don’t know the significance of dpid here, but initial tests results shows no difference with both DDFs

I have never see a device working with 2 DPID (it’s the “code” used by the device, 1 code by command)
For me there is something “strange” on your setup.

Can you share the comple device json ? Visible in phoscon/help/API Information/sensor

Have checked again on Z2M the dpid used for valve is 109, bool value for the _TZE200_cpmgn2cf, so

        {
          "name": "state/valve",
          "parse": {"fn": "tuya", "dpid": 109, "eval": "Item.val = Attr.val != 0"},
          "read": {"fn": "none"}
        },

@Smanar @bchhabra please proceed on GitHub.

Hi, not sure this is the right thread but I’ll try my luck. I have a thermostat (_TZE200_qf2zyxma model TS0601). I have added it to zigbee2mqqt but it’s support status is null and the expose panel is empty, any idea what I should do?

Thank you in advance and sorry if this is the wrong place

I don’t found your device everywhere (on google). There is a typo or it’s a new device Request Device Support · dresden-elektronik/deconz-rest-plugin Wiki · GitHub

This is not a typo but it seems to a be a rather “unique” thermostat. It controls my infrared panel in my ceiling. I have contacted the company who provided and installed it but they don’t have a lot of info.


Hi,
I’m coming back to this post that I opened a while ago (I remember that I’m a beginner).
If I correctly understood, It seems to me that the problem can be solved using DDF files.
I saw that from the Phoscon app with the “Device integration” it is possible to load DDF files.
So I copied the one found on @Smanar’s post.
I tried to load, but the result is a nice “Import failed”
Isn’t there a step-by-step guide for an ignoramus like me?

Using Phoscon need to load “DDF bundle”.
So the easier way is creating a text file called want_you_want.json with the DDF contain in a “devices” folder.

Thank you so much!
Finally it seems to work!
Have a nice day and thanks again!

NP.
Just for information (missing) deconz load DDF only at start, so need to restart deconz, and the API create new entry only if the gateway is in permit join, so better to re-include the device.