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

Off-Grid: Home shows as powering solar panels when values are equal #70

Open
eode opened this issue Nov 18, 2020 · 2 comments
Open

Off-Grid: Home shows as powering solar panels when values are equal #70

eode opened this issue Nov 18, 2020 · 2 comments

Comments

@eode
Copy link

eode commented Nov 18, 2020

I have read the wiki about what to try first before creating a bug report.

I am running as an off-grid setup, with 'grid' actually showing battery (although it would be nice to have real battery with SOC).

Which version of HA do you use?
0.116.4

Which version of the card do you use?
Latest (0.1.5)

Describe the bug
Power sometimes shows as flowing from home to solar panels when consumption matches power put out by panels.

Configuration of the card
Copy the complete configuration of the card, even if you think it isn't relevant.

type: 'custom:power-wheel-card'
title: Power Flows
solar_power_entity: sensor.classic_power
grid_power_entity: sensor.classic_whizbangbatpower
grid_icon: 'mdi:car-battery'
invert_grid_colors: true
battery_soc_entity: sensor.classic_soc
debug: false

Dev console debug output
I'll need to wait until it's occurring again. Currently running off of batteries.

Expected behavior
Power flows don't show as going either direction when flows are equal.

Screenshots
n/a -- state changed while filing bug report.

Additional context
My suspicion is that it occurred on page load, and that since the value didn't become negative or positive relative to home consumption, it just showed the way it was on page load. ..but that's just a guess.

@eode
Copy link
Author

eode commented Nov 18, 2020

Screenshot

@eode
Copy link
Author

eode commented Nov 24, 2020

Also, when the generator is running, this shows the house powering the solar (producing zero) and the solar powering the batteries.

I think the arrow logic should be:

  • For each interconnectiion:
    • If the absolute difference is less than 1, show no arrow / just a line.
    • If both are positive, or both are negative, show no arrow / just a line.
    • If one is negative and one is positive (and not zero), show an arrow from positive to negative.

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

1 participant