Skip to content

2. Battery Statistics

JensenNick edited this page Mar 23, 2024 · 20 revisions

Battery Capacity

Name Description
Energy Battery Discharge Capacity (ts)
sensor.energy_battery_Discharge_capacity_ts
Available capacity for discharging.
Energy Battery Charge Grid Capacity (ts)
sensor.energy_battery_charge_grid_capacity_ts
Available capacity for charging over AC.
Energy Battery Charge Yield Capacity (ts)
sensor.energy_battery_charge_yield_capacity_ts
Available capacity for charging solar PV production.

Battery Efficiency

Name Description
Battery Efficiency Total (tt)
sensor.battery_efficiency_total_tt
The cumulated efficiency of your battery over the period of time from your "start values" until last time the SOC crossed the SOC trigger value.
Battery Efficiency State Charge (tt)
sensor.battery_efficiency_state_charge_tt
The total kWh used to charge the battery in the period of measuring the battery efficiency.
Battery Efficiency State Discharge (tt)
sensor.battery_efficiency_state_discharge_tt
The total kWh discharged from the battery in the period of measuring the battery efficiency.

💡 Note: Battery Efficiency Total includes attributes which calculate the battery efficiency based on daily, weekly, monthly, quarterly and yearly cycles.

Dashboard, Views and Cards

Battery State

square: false
type: grid
cards:
  - type: entities
    entities:
      - entity: sensor.daily_battery_charge_energy
        type: custom:multiple-entity-row
        icon: mdi:home-battery-outline
        name: Battery usage
        state_header: Charge
        secondary_info: false
        format: precision2
        entities:
          - entity: sensor.daily_battery_discharge_energy
            name: Discharge
            format: precision2
          - entity: sensor.daily_battery_charge_yield_energy
            name: Yield
            format: precision2
          - entity: sensor.daily_battery_charge_grid_energy
            name: Import
            format: precision2
      - entity: sensor.energy_battery_discharge_capacity_ts
        type: custom:multiple-entity-row
        icon: mdi:battery-charging-medium
        name: Battery state
        state_header: Available
        secondary_info: false
        format: precision2
        entities:
          - entity: number.battery_grid_charge_cutoff_soc
            name: Max AC
            format: precision1
          - entity: sensor.battery_state_of_capacity
            name: SOC
            format: precision1
          - entity: number.battery_end_of_discharge_soc
            name: Min
            format: precision1
    state_color: true
columns: 1

Battery Efficiency

square: false
type: grid
cards:
  - type: entities
    entities:
      - entity: sensor.energy_battery_charge
        type: custom:multiple-entity-row
        icon: mdi:home-battery-outline
        name: Battery usage
        state_header: Charge
        secondary_info: false
        format: precision1
        entities:
          - entity: sensor.energy_battery_discharge
            name: Discharge
            format: precision1
          - entity: sensor.energy_battery_charge_yield
            name: Yield
            format: precision1
          - entity: sensor.energy_battery_charge_grid
            name: Import
            format: precision1
      - entity: sensor.battery_efficiency_total_ts
        type: custom:multiple-entity-row
        icon: mdi:battery-charging-medium
        name: Battery efficiency
        state_header: Total
        secondary_info: false
        format: precision2
        entities:
          - entity: sensor.battery_efficiency_state_discharge_tt
            name: Discharge
            format: precision1
          - entity: sensor.battery_efficiency_state_charge_tt
            name: Charge
            format: precision1
    state_color: true
columns: 1