Electrical measurement: Power Factor value #20593
Closed
dduransseau
started this conversation in
General
Replies: 2 comments 6 replies
-
I think the correct fix is to remove the % unit |
Beta Was this translation helpful? Give feedback.
0 replies
-
Agreed that would better match the zigbee definition. However that might imply a regression for tuya device where power_factor is provided as raw value so between -100 and +100, at least for one I have (_TZE200_bkkmqmyo). |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
By discussing issue #19705 I figure out that power factor might be wrongly interpreted by Z2M (front-end).
Following Zigbee Cluster Library p348 the power factor is represented as
So it's divided by 100 by zigbee-herdsman-converter to have a power factor between 0 and 1, which is the correct behavior. However the front-end display it as a percentage which is wrong but a common usage.
I see 3 solution to display the correct value:
I'm not really convinced by last solution since it broke a bit the zigbee interpretation but that would work.
Beta Was this translation helpful? Give feedback.
All reactions