deconz-rest-plugin
deconz-rest-plugin copied to clipboard
TZ3000 BSEED reports wrong power
Is there already an existing issue for this?
- [X] I have searched the existing issues and there is none for my device
Product name
_TZ3000_4ux0ondb
Manufacturer
BSEED
Model identifier
https://www.bseed.com/products/bseed-zigbee-eu-wall-sockets-power-outlets-with-energy-monitoring-kids-protection
Device type to add
Switch
Node info
https://www.bseed.com/products/bseed-zigbee-eu-wall-sockets-power-outlets-with-energy-monitoring-kids-protection
Endpoints and clusters
Basic
Further relevant clusters
Power Configuration
On/Off
Level Control
Color Control
Thermostat
Simple Metering
Electrical Measurement
Any other cluster of relevance/interest
Device is working but reports wrong RMS current and Active Power. In this measurement picture the RMS current should be around 186, and the Active power should be around 42Watt
but reports wrong RMS current and Active Power
You have made a custom DDF ? I don't found this device on my side
Device was added to Deconz. When I do a added DDF I see this:
The metering is then already working (then already with wrong values) but I do not see the Power/Voltage device in Domoticz.
I then dragged these metering to the binding section of the DDF Editor. But that does not work yet.
Your DDF is not used, you have the "draft" status. You can try with editing this one https://github.com/dresden-elektronik/deconz-rest-plugin/blob/master/devices/tuya/_TZ3000_cehuw1lw_smartplug_EU.json it's a standard one for Tuya.
Can just replace the manufacture name by yours.
I did change that to Gold later. But you json file is working, however I still have incorrect power value. It reports 1000Watt, but this should be 40-45watt. I see these values already in the DeconzGUI.
On your capture, I m seing U = 233 and I = 2.3A so the power is more than 500W, what is the device connected to the plug ?
The "45" is the consumption, not the power.
Here are the correct screenshots. I have put 2 devices in serie. You see the difference in domoticz. And also 2 screenshots of the value in Deconz. The one is I 186 and Power of 42 is correct. The TZ3000 reports 2357 and 1130Watt for the same load.
239*0.186=44 > so 42 ok
239*2.357=563 > 1130 ? WTF
I think you can throw your second devices. Values you are seing in the GUI are raw values, direclty from the device, some values can need adjustement, but it's generaly /10 or *100 for exemple, here you need a /12. And even with the corrective the power value have nothing to see with reality.
That strange as for other zigbee devices these values can be used directly. The 44 or 42 watt is the raw value from the device, screenshot was not at exact same time. Do I need to do that in the DDF? or in eg Domoticz via some automation?
Do I need to do that in the DDF
You mean a "convertion" like the /12 needed for the current ? So yes, but if you have another device with the same manufacture name / Model ID, I almost sure it will not need it, for me the problem is from this device.
If you want to use a "corrective", can create a DDF (or clone an existing one and change the ManufactureName/ModelID) and use for exemple
{
"name": "state/current",
"read": {
"at": "0x0508",
"cl": "0x0b04",
"ep": 1,
"fn": "zcl:attr"
},
"parse": {
"at": "0x0508",
"cl": "0x0b04",
"ep": 1,
"eval": "Item.val = Attr.val / 12"
},
"refresh.interval": 365
},
This code will /12 the raw value for the current, and Domoticz will use the corrected one.
Edit: Can clone this one https://github.com/dresden-elektronik/deconz-rest-plugin/blob/master/devices/tuya/_TZ3000_TS011F_smart_plug.json and change
"manufacturername": "_TZ3000_4ux0ondb",
"modelid": "TS011F",
You can use the name you want. This file need to be in a "devices" folder, can use subfolder. And need to restart Deconz, DDF are scanned at start.
Thanks this works, seems it should be / 24. Is there a way to reset the total consumed power. I see the value in Deconz, but that is readonly.
Yes If I remember, on the GUI on the cluster 0x0000 the "Basic", you have a "reset" command.
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.
As there has not been any response in 28 days, this issue will be closed. @ OP: If this issue is solved post what fixed it for you. If it is not solved, request to get this opened again.