deconz-rest-plugin
deconz-rest-plugin copied to clipboard
TZ3000_gjnozsaz appears but only power and link quality - No power meter
Describe the bug
The plug appears in deCONZ with all its capabilities, but values stay by default in the electrical mesurement and the simple metering panels
Steps to reproduce the behavior
- Pair Tuya TZ3000_gjnozsaz TS011F plug to deCONZ
- See them appear into deCONZ and succeed to use them (on / off)
- Go to Status panel
- See nothing changing in the electrical measurement and simple metering panels
Expected behavior
- Obtain the consumption and other electrical values on deCONZ
Screenshots
Environment
- Host system: Raspberry Pi 4
- Running method: Home Assistant deCONZ Add-on
- Firmware version: 26660700
- deCONZ version: 2.13.04 / 18/12/2021
- Device: ConBee II
- Do you use an USB extension cable: no
- Is there any other USB or serial devices connected to the host system? no
What if you click read?
If the values don't change, the device probsbly doesn't support it.
Hmm it's sold as power metering plug :'( https://fr.aliexpress.com/item/1005003523027932.html
If you click read on the clusters, does it show power consumption? Make sure something is plugged in.
Nothing, it stays at zero and I have a device plugged in. In found some similar issue on Z2MQTT, don't know if it could be a related-issue? https://github.com/Koenkk/zigbee2mqtt/issues/10487
That doesn't say anything about the device power metering
I have the same plug.

Ok, so for you it seem working, can try with a DDF https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/DDF-cheat-sheet you have a sample here, used for most of plugs https://github.com/dresden-elektronik/deconz-rest-plugin/pull/5577
With text editor, just need to edit thoses lines, the modelid is probably the same (visible on basic clsuter).
"manufacturername": "_TZ3000_w0qqde0g",
"modelid": "TS011F",
"product": "NAS-WR01B",
"path": "/devices/neo/NAS-WR01B.json",
Ok, so for you it seem working, can try with a DDF https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/DDF-cheat-sheet you have a sample here, used for most of plugs #5577
With text editor, just need to edit thoses lines, the modelid is probably the same (visible on basic clsuter).
"manufacturername": "_TZ3000_w0qqde0g", "modelid": "TS011F", "product": "NAS-WR01B", "path": "/devices/neo/NAS-WR01B.json",
I am not that familiar to DDF (and kind of new to deconz). l don't get this to work. Ill changed the manufacturnam and got new entities in HA but with value unknown. Trying to understand what I am doing wrong but have no clue.




I don't understand why you have 3 entities ?
All 3 are for the same device ? you can find the device JSON in phoscon / help / API Information. The DDF don't look so bad The status is other than "draft" ? You have enabled DDF in the "control" tab ? Can take "hot reload" in the menu of the DDF editor. When you select "edit DDF" on the node, what is the path in the windows title ? where have you saved the DDF ?
I don't understand why you have 3 entities ?
All 3 are for the same device ? you can find the device JSON in phoscon / help / API Information. The DDF don't look so bad The status is other than "draft" ? You have enabled DDF in the "control" tab ? Can take "hot reload" in the menu of the DDF editor. When you select "edit DDF" on the node, what is the path in the windows title ? where have you saved the DDF ?
No it aint the same. Ill got five plugs so there is nothing wrong there. But somehow I manage to get double up of all of them like power_28_2 and so on when i changed in the DDF and hot reloaded.
Oh thanks, I was trying to find where I could find the API JSON on a easy way.
"lastannounced": null,
"lastseen": "2022-01-11T07:38Z",
"manufacturername": "_TZ3000_gjnozsaz",
"modelid": "TS011F",
"name": "Consumption 27",
"state": {
"consumption": null,
"lastupdated": "none"
I have been tested status draft and status silver. DDF is enabled in control tab Have tested hot reload
now its devices/smartplug.json I am on a Windows machine and have tested to save the DDF in AppData/Local/Dresden..../deconz/devices~ and C:/Deconz/devices/...
Now I found something! In the API information I found that I have sensors named power 36,38,40,42 also and they got the power information! But I can't find the sensors in HA. Somehow they are doubled up and just the first one with no information Ill find in HA.
In the Control tab, is the Status you use for the DDF enabled? So if you have it set on "silver" , is silver also enabled in the control tab?
Hmm no clue on that one. In control I have set DDF to normal. DDF status is now draft. How do I see if the status I have been chosen have DDF enabled in control tab?

If you have the DDF for the device set to "silver" make sure that "Silver" is also checked in the above screen.
Hmmm.. For me settings look like. Old version? Settings somewhere else?

Are you on the latest 2.13.4?
Nope. Im on 2.13.2. Now I updated and got the same setting as you. Still same problem.
I deleted the devices from deconz and connected them again. Now I only got one power and one consumption. Thanks for all the help.
So it's solved?
So it's solved?
Yep, its solved. Got the right information in HA now.
Can you make a PR With the DDF in bronze? Just so others can benefit this?
Can you make a PR With the DDF in bronze? Just so others can benefit this?
Ill can make a try later. Maybe I should rename it, Now its called smartplugtest.json :) Is there any instruction how it should be set up to PR with DDf in bronze?
Just make sure the DDF is set to bronze. Then probably you should be able to go here: https://github.com/dresden-elektronik/deconz-rest-plugin/tree/master/devices/tuya and click "Add file" and upload there ( i think).
Then it should make a PR.
Ok, so for you it seem working, can try with a DDF https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/DDF-cheat-sheet you have a sample here, used for most of plugs #5577 With text editor, just need to edit thoses lines, the modelid is probably the same (visible on basic clsuter).
"manufacturername": "_TZ3000_w0qqde0g", "modelid": "TS011F", "product": "NAS-WR01B", "path": "/devices/neo/NAS-WR01B.json",I am not that familiar to DDF (and kind of new to deconz). l don't get this to work. Ill changed the manufacturnam and got new entities in HA but with value unknown. Trying to understand what I am doing wrong but have no clue.
How did you fill the binding table? I have no idea how to fill the binding table or upload the DDF file to Deconz when running from within Hassio on a Rasp Pi 4.
How did you fill the binding table? I have no idea how to fill the binding table or upload the DDF file to Deconz when running from within Hassio on a Rasp Pi 4.
You can have an issue on HA for bind https://forum.phoscon.de/t/ddf-editor-how-to-drag-bindings/1351 But we can edit the file manualy for that, will see later, without the bind, values will be updated in HA when you read them in deconz.
To manage file on HA with docker https://github.com/dresden-elektronik/deconz-rest-plugin/issues/5459#issuecomment-1019496135
Else can use the editor and "pre-used" path.
As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.
Hello! Coming back to the subject, I didn't understand all the edit suggestions in deConz, not sure of what to edit 🙄 But is there any chance to be corrected in the future to allow users to get power information without editing DDF-thing? 😅
But is there any chance to be corrected in the future to allow users to get power information without editing DDF-thing?
DDF will be added 1 by 1 on the deconz package. But for the moment only DDF submitted in PR have a chance to be in the deconz package.
As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.
Hi I just installed a plug that is showing as “_TZ3000_gjnozsaz” and does not show the power consumption. Reading the messages above it seems the solution was found but never finalised. what should be done to have the issue resolved?
The DDF was not submitted ^^, or I don't find it @raekmacka can you make the PR or paste it here for someone make it ?
Else can edit this one https://github.com/dresden-elektronik/deconz-rest-plugin/pull/5577/files
Hi, so i did a few tests and tried to understand this DDF concept that was new to me. I could get the power information in Home Assistant. The power data is refreshed every 6 minutes, this is not ideal but fine for what I intend to do with it. Edit: i found the parameter to change to influence the interval between refresh (see under)
I created a DDF but it is in Deconz add-on in HomeAssistant and no idea How to export it... anyone knows ?