gurbyz / power-wheel-card

An intuitive way to represent the power and energy that your home is consuming or producing. (A custom card for the Lovelace UI of Home Assistant.)
Apache License 2.0
164 stars 22 forks source link

Power should no flow from Battery to Grid #43

Open gurbyz opened 4 years ago

gurbyz commented 4 years ago

Originally posted by @MimbaMonkeyHouse in https://github.com/gurbyz/power-wheel-card/issues/23#issuecomment-586541914 (Only copied issue related content. Not the UX related content. UX related things can be added to the Collection topic about the battery layout.)

On version 0.1.0c-dev.

(...) I'm not sure we need to over complicate things with manufacturer specific implementations and algorithm. Generally power flows from PV to Battery, Grid to Battery and Battery to House. It should not flow from Battery to Grid, really.

I've been using the dev branch for a couple of days and it generally works well. Thanks @gurbyz! One issue I've noticed is battery feeding the grid. (...)

Originally posted by @MimbaMonkeyHouse in https://github.com/gurbyz/power-wheel-card/issues/23#issuecomment-586541914

gurbyz commented 4 years ago

Originally posted by @MimbaMonkeyHouse in https://github.com/gurbyz/power-wheel-card/issues/23#issuecomment-586552822

Had not noticed it yesterday, but here is the problem when charging the battery: power-wheel-current-batt-charging Battery is charged by PV, not grid. Grid is being used by the house to complement PV... Battery on the left should only be displayed when battery is charging and there is no PV production.

Originally posted by @MimbaMonkeyHouse in https://github.com/gurbyz/power-wheel-card/issues/23#issuecomment-586552822

gurbyz commented 4 years ago

Originally posted by @ezraholm50 in https://github.com/gurbyz/power-wheel-card/issues/23#issuecomment-599470397

Same here, i have the following sensor: sensor.victron_battery_power | positive number upon charging, negative upon delivering

Originally posted by @ezraholm50 in https://github.com/gurbyz/power-wheel-card/issues/23#issuecomment-599470397

MimbaMonkeyHouse commented 4 years ago

Hey @gurbyz, I honestly think the easiest way to implement this is to keep the same layout, have the battery on the right corner always displayed and only have the battery on the left displayed when battery is charging and there is no (or not enough) PV production. Would that be more readily feasible? I really enjoy using your card and that would just make it that little more readable. Thanks again for your time and efforts!

eode commented 3 years ago

@MimbaMonkeyHouse The case in the poster's example is that.

PV - House - Battery == amount pulled from grid. Technically, the grid IS helping to charge his batteries, although possibly indirectly, depending on how his setup works.

Probably this should be a configured option - "bat_grid_charge" or something enables/disables that arrow.