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

Phase 1, 2 and 3 do not show delivery (negative numbers). #10

Open
MisterBennie opened this issue Feb 21, 2024 · 2 comments
Open

Phase 1, 2 and 3 do not show delivery (negative numbers). #10

MisterBennie opened this issue Feb 21, 2024 · 2 comments

Comments

@MisterBennie
Copy link

Is seems Phase 1, 2 and 3 are not showing negative values when solar panels generate more power than needed on this phase.
They are not updated at al when negative (time of update can be hours in the past).
The total Power Usage works just fine, showing delivery and usage and updated every 10 seconds.
The data is shown correctly when interfacing the homewizard via Home Assistant.

Before the homewizard P1 I used another board and the "P1 Smart Meter with LAN interface" plugin.
It shows the delivery and usage in individual cards which I like very much (pic 2)
Any chance to implement this too?

Pic 1
image

Pic2
image

@MisterBennie MisterBennie changed the title Phase 2 and 3 doe not show delivery (negative numbers). Phase 2 and 3 do not show delivery (negative numbers). Feb 23, 2024
@MisterBennie MisterBennie changed the title Phase 2 and 3 do not show delivery (negative numbers). Phase 1, 2 and 3 do not show delivery (negative numbers). Feb 23, 2024
@buxol
Copy link

buxol commented Feb 27, 2024

The value of -1 is used to check if the variable is used at all. This needs to change to allow negative wattage on the phase. Quick fix:
Change (apply to all relevant phases)
if ( self.active_power_l1_w > -1 ):
to
if ( self.active_power_l1_w > -10000 ): (a number lower than your PV can generate)

Edit: This also applies to the 'Amperage per fase' section.

@MisterBennie
Copy link
Author

Thanks

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

2 participants