Skip to content

Latest commit

 

History

History
122 lines (72 loc) · 6.93 KB

README.md

File metadata and controls

122 lines (72 loc) · 6.93 KB

Please ⭐ this repo if you find it useful

Average Sensor for Home Assistant

GitHub Release GitHub Activity License

Project Maintenance Support me on Patreon

Community Forum

This repository provides a set of blueprints for Home Assistant to generate an Energy Management System (EMS) for your home. The focus today is on Charging electrical vehicles including a Surplus charging capabilities for those who want to leverage their Solar energy at home. The scripts works independently but needs to be set up in a way that helper entities are used.

The Blueprints

Type Change blueprint

This is the default script you will need to use if you start with your automation. This script makes sure to adopt the different settings based on a Charging Type - a helper entity - that contains the following Options (Default, Trip, Surplus, Morning-Min and Stop).

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

EMS-Car-Charging-TypeChanged

Surplus blueprint

If Surplus is activate this script runs every 5 seconds to set the correct current value on the charger based on a potential power mean. To create a mean power sensor use the ha-average Extension Ideally you set a 5 min window on it to smooth peaks for the charger.

Example configuration.yaml entry for the average sensor

sensor:
  - platform: average
    name: "[EMS] - [Car] - Potential Power mean
    unique_id: ems_car_potential_power_mean
    entities:
      - sensor.ems_car_potential_power_now
    duration: 00:05:00

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

EMS-Car-Charging-Surplus

Surplus Morning-Minimum

If you are using Surplus charging by default this script will make sure that you have at least a certain battery level in the morning when you want to leave.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

EMS-Car-Charging-Surplus-MorningMin

Surplus go-e ECO

This is only useful for go-e charger owners that want to use the ECO mode. It publishes the available power over mqtt to the go-e charger. For this the home-assistant-goecharger-mqtt Extension is needed. As the charger is not really taking those values into account it's a nice to have but not necessary.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

EMS-Car-Charging-Surplus-go-e-ECO

Trip Calendar Entry

Based on entries within a selectable calendar in Home assistant this script makes sure that your battery reaches a configurable state before you have to leave. You can leverage any calendar e.g. the Google Calendar Integration.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

EMS-Car-Charging-Trip-Calendar

Additional information and potential further blueprints on this can be found here: https://github.com/gsaurer/ha-ems

Contributions are welcome!

This is an active open-source project. We are always open to people who want to use the code or contribute to it.

We have set up a separate document containing our contribution guidelines.

Thank you for being involved! 😍

Authors & contributors

The original setup of this component is by Gerd Saurer.

For a full list of all authors and contributors, check the contributor's page.

License

creative commons Attribution-NonCommercial-ShareAlike 4.0 International License

See separate license file for full text.