Skip to content

Home Assistant ~ Battery Integration

k-janssens edited this page Apr 11, 2022 · 1 revision

Prerequisites

  • Smart-EVSE with firmware v1.2.0-serkri-v3 or higher
    • WiFi enabled and working
  • Battery charge and discharge amperage data in HASS
  • Node-RED add-on

Installation

Note: This is an installation that will prioritise a configurable amperage to the home battery Note: The flow and calculation can be altered to change this behaviour (e.g. give full solar to EV first or home battery)

energy_voltage:
    friendly_name: "Energy average voltage"
    value_template: >
    {% set F1_V = state_attr('sensor.sun2000_8ktl_m1', 'phase_A_voltage') %}
    {% set F2_V = state_attr('sensor.sun2000_8ktl_m1', 'phase_B_voltage') %}
    {% set F3_V = state_attr('sensor.sun2000_8ktl_m1', 'phase_C_voltage') %}

    {{ ( (F1_V + F2_V + F3_V ) / 3) | round(0, 'ceil') }}
 - Battery Reserve: A helper sensor can be setup to give the home battery a minimum ampere as priority solar charge

image

Clone this wiki locally