Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage power #15

Open
gvandick opened this issue Sep 22, 2024 · 2 comments
Open

Usage power #15

gvandick opened this issue Sep 22, 2024 · 2 comments

Comments

@gvandick
Copy link

Usage power shows not right value multyple by 10

I change in plugin

self.active_power_w = (Data['active_power_w'] / 10)

Now is shows right value

@Villantiqua
Copy link

Yeah, this happens after the latest Homewizard firmware update.
Thanks for this work-around.
You could also use the fixed plugin of: https://github.com/gettevan/HomeWizard-Wifi-p1-plugin/tree/main

@garfiel1
Copy link

garfiel1 commented Feb 18, 2025

changed
self.active_power_w = Data['active_power_w']

        if ( 'active_power_l1_w' in Data ): self.active_power_l1_w = Data['active_power_l1_w']
        if ( 'active_power_l2_w' in Data ): self.active_power_l2_w = Data['active_power_l2_w']
        if ( 'active_power_l3_w' in Data ): self.active_power_l3_w = Data['active_power_l3_w']

in to
self.active_power_w = int(Data['active_power_w'])

if ( 'active_power_l1_w' in Data ): self.active_power_l1_w = int(Data['active_power_l1_w'])
if ( 'active_power_l2_w' in Data ): self.active_power_l2_w = int(Data['active_power_l2_w'])
if ( 'active_power_l3_w' in Data ): self.active_power_l3_w = int(Data['active_power_l3_w'])

Now it shows the right value, equal to the data shown in the api
http://"IP-adres van de P1 meter"/api/v1/data
from the meter "Sagemcom | T211 E0062"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants