hif2k1 / battery_sim

Home assistant home battery simulator - allows you to model how much energy you would save with a home battery
125 stars 14 forks source link

ate energy dashboard? #92

Closed mathieu20152 closed 1 year ago

mathieu20152 commented 1 year ago

Is it normal that the energy dashboard now shows inacurate home usage and solar usage/export? The last screenshot shows the readings from my P1 meter app in the energy usage you can see it uses at night 0.7kwh of the battery and import from the grid image image image image

hif2k1 commented 1 year ago

First thing to say is I would not necessarily recommend using a simulated battery with the energy dashboard as it will change your long term data about how much energy you are actually using which you might want to look back on later.

However, if you are going to use it then you need to use the simulated import and simulated export sensors provided by the relevant battery instead of your actual import and export sensors. These work out what your import and export would be if you had the battery. Otherwise the energy dashboard sees the energy actually coming from the grid and the energy released from the simulated battery and adds them together.

I can see you have two import and export meters for different tariffs. At present only a single simulated export and import sensor are provided for each battery. which will cover both tariff periods. There is already a request for separate simulated meters which we may look at in due course.

Hope that makes sense.

On Mon, 4 Sept 2023 at 16:20, Mathieu.wuytack @.***> wrote:

Is it normal that the energy dashboard now shows inacurate home usage and solar usage/export? The last screenshot shows the readings from my P1 meter app in the energy usage you can see it uses at night 0.7kwh of the battery and import from the grid [image: image] https://user-images.githubusercontent.com/66798081/265497379-87f3f99e-d12d-4c7e-bec1-9db6d2f2e983.png [image: image] https://user-images.githubusercontent.com/66798081/265497319-26b73e24-d2f9-42a2-9c49-7bccc82269f6.png [image: image] https://user-images.githubusercontent.com/66798081/265497459-47a480e9-ca24-4929-a992-462932865f9e.png [image: image] https://user-images.githubusercontent.com/66798081/265497855-c1318a71-0f82-4d15-9c58-3efdc3e48f51.png

— Reply to this email directly, view it on GitHub https://github.com/hif2k1/battery_sim/issues/92, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAIZGNQZ6B4FXONRJEVZCDXYXWT5ANCNFSM6AAAAAA4KSP7OI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

mathieu20152 commented 1 year ago

I use the total import/export sensors instead of the tarrifs because I dont let HA calculate the costs because my tarif /KWh changes constantly. Maybe what I could do aswell is spin up another vm/docker container with just the energie parameters.

Something like this then? image

hif2k1 commented 1 year ago

Yes that is the intended use of the simulated import and export sensors.