bwp91 / homebridge-ewelink

Homebridge plugin to integrate eWeLink devices into HomeKit.
MIT License
384 stars 126 forks source link

Sonoff POW R320 displaying incorrect consumption values #441

Closed catanil closed 1 year ago

catanil commented 1 year ago

What issue do you have? Please be as thorough and explicit as possible.

The consumption values are displayed with no decimals, eg 22522 Watts instead of 225,22 Watts.

Details of your setup.

-Homebridge UI-X

-Raspberry Pi 4, with Raspbian 10 (Buster), Node v18.12.1.

-homebridge-ewelink v10.3.0

-Sonoff Power Elite POWR320D

Please paste any relevant logs below.

[08/12/2022, 12:11:34] [eWeLink] [Contor] current power [22398W] current voltage [23867V] current current [148A]

bwp91 commented 1 year ago

Hi @catanil

Can you install the beta version of the plugin to see if this fixes these readings? I have only applied a 'fix' to the outlet device type so if you have used the config to show this device as another accessory type this may not work.

Let me know!

catanil commented 1 year ago

Hi @bwp91, I can confirm it's fixed with the beta version, with the accessory type set as outlet. Below is a line from the logs.

Thank you!

[09/12/2022, 09:17:39] [eWeLink] [Contor] current power [218W] current voltage [236V] current current [1A]

bwp91 commented 1 year ago

Hi, Closing this just as been a little overwhelmed with issues recently. If this is still an issue or a feature you would like implemented then please do re-open this ticket! Thanks for your understanding!