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

First configuration issue #103

Closed SyBeer closed 12 months ago

SyBeer commented 12 months ago

Hi,

  1. I have installed integration and restarted HA.
  2. Then on "Settings" -> "Devices&Services" I added "Battery Simulation"
  3. In "Battery Simulation" configuration (I have english language settings) I added entry "Tesla Powerwall" and info from: a) "Energy Tab" -> "Electricity grid" -> "Grid consumption" as "Import sensor/meter - energy coming into house" b) "Energy Tab" -> "Electricity grid" -> "Return to grid" as "Export sensor/meter - energy sent to grid"
  4. Then I tried to add battery system to "Home battery storage" in "Energy" tab, but I didn't see: a) "battery_sim: Tesla Powerwall - battery_energy_in" b) "battery_sim: Tesla Powerwall - battery_energy_out"

What's wrong, where I made mistake?

image

image

SyBeer commented 12 months ago

In HA manual there is info: https://www.home-assistant.io/docs/energy/faq/#troubleshooting-missing-entities

And I found solution.

In Developer Tools >Statistics on specific sensor was an issue "This entity is excluded from being recorded."

It happens because I exclude collect "battery" entities to my DB. I want keep my DB smallest as possible. After add to my configuration.yaml a) "battery_sim: Tesla Powerwall - battery_energy_in" b) "battery_sim: Tesla Powerwall - battery_energy_out"

everything work OK.