I purchased a 4-pack of the THIRDREALITY zigbee smart plugs with power monitoring. I connected one to ZHA and one to Z2M and the ZHA device has a lot more entities than the Z2M.
ZHA: switch, AC frequency, power (W), current (A), voltage (V), and total power used (kWh)
Z2M: switch, energy (kWh), and power (W)
Is this expected? Any way to get the sensors working on Z2M?
tbh, its usually the other way around, but its also very much expected.
Because most manufacturers aren’t following the zigbee protocol strictly, you are a situation where you need to convert the devices output.
In Z2M I think they are called converters, and iirc, the Z2M devs have to write these.
in ZHA, the device can also be supported by whats called a quirk, and you can download and install these yourself if the device requires it (some just dont work at all without a quirk).
Interesting. Thank you for the info. In all honestly, it’s not that huge of a deal. What I’ll be measuring is real-time wattage and I get that with both. Was just curious why the discrepancy.
You might try removing and re-pairing. Not sure if I have same model as you have. However, this is what my unit displays in Zigbee2mqtt v1.32.1. Note the voltage needs a decimal place. For my unit at this version, no frequency, no power factor, no energy. However do get current and voltage. So other than frequency other values should be calculatible. However, as stated by other responder, you can have a look at the Zigbee2MQTT forum and see if someone has a better converter. I think this is a ‘Tuya’ type device and they can be difficult to ‘decode’.