hif2k1 / battery_sim

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

Problem during configuration #77

Closed emics closed 1 year ago

emics commented 1 year ago

Hi, I have some problem during configuration. I have AEON Labs ZW095 zwave device with 3 clamp and i have mount them in my house in this way:

each clamp in HA have two sensor:

the first clamp measure Power positive value (when I buy) and negative value (when i sell) and the Energy sensor Increase when i buy and decrese when i sell Energy.

how can i use correctly your integration? i cant' find the right way, I have also created some sensor derivated from the original ones but without success.

thanks in advance. Emiliano

emics commented 1 year ago

I'have created the right sensor now, but why the charging rate have big up and down when my export energy is so fluid ?

image

hif2k1 commented 1 year ago

Hi there,

Thanks for getting in touch. I did wonder if anyone would have this sort of setup - a single meter that goes up and down, but you are the first person I've come across with it. The battery configuration options are already very complicated so I didn't want to add yet more options, but we could look to add this in future. As you say though the work around is to make your own sensors/helpers that separate out the two parts.

As for the variation in the charging rate, that has come up before. It averages out over time to give the correct overall reading, but it does look untidy. It is to do with the battery not necessarily updating on the same frequency as the export sensor so that in one cycle it measures a bit more energy and the next a bit less. It's hard to solve this problem as the battery needs to respond to both import and export readings. One option would be to update less frequently to average out the readings, but then you might lose some of the more granular data and might lose some energy savings so it's a trade off. Any opinions on how to resolve that trade off are welcome.

Many thanks,

Hamish