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

All energy battery out counted as self consumption. #129

Open
tbrasser opened this issue Jun 3, 2024 · 5 comments
Open

All energy battery out counted as self consumption. #129

tbrasser opened this issue Jun 3, 2024 · 5 comments

Comments

@tbrasser
Copy link

tbrasser commented Jun 3, 2024

I have no solar yet, and all energy leaving the battery is accounted for as self-consumption, instead off showing simulated export to the grid.

Is this because the calculation for this needs solar generation present, any way I can work around this?

@hif2k1
Copy link
Owner

hif2k1 commented Jun 5, 2024 via email

@tbrasser
Copy link
Author

tbrasser commented Jun 5, 2024

Yes.

I think I have circumvented it now by creating 2 template sensors:

fake solar power production: 1W (updating each minite)

fake grid export power: 1W (updating each minute)

Then 2 integral helpers on that to get energy in kWh

Added the fake grid export energy as export sensor on the battery_sim

Added the fake solar energy as solar in energy dashboard, and now it seems better:

Screenshot_2024-06-05-10-49-22-894_io.homeassistant.companion.android.jpg

Hope today to have a full charge/discharge cycle to see if the numbers add up.

@hif2k1
Copy link
Owner

hif2k1 commented Jun 7, 2024 via email

@rrozema
Copy link

rrozema commented Sep 21, 2024

Actually, I think that is a bug in the energy flow card plus, not a problem in the battery simulation. I'm a back-end developer and I can read many sorts of programming languages, but I have no experience at all in building this type of targets and lack a development environment for it, so I can't build and test the change myself. However if I am not mistaking EiNSTeiN already has a fix for this.

@tbrasser
Copy link
Author

tbrasser commented Sep 25, 2024

Screenshot was of native energy dashboard.

In the meantime my real battery arrived. (still waiting on grid connection to get upgraded to 3 phase before connecting it)

This component was really helpful in getting a feel for sizing and cost analysis. Thanks again

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