V2G-liberty / addon-v2g-liberty

A HomeAssistant-based app to optimize and automate charging of your EV. Optimisation is based on FlexMeasures schedules.
Apache License 2.0
1 stars 2 forks source link

V2G Liberty

Full automatic and optimised control over bidirectional charging of your electric vehicle, saving the average user over € 1000 on charging cost in 2023.

Use your electric vehicle (EV) as you would normally do, drive where you want go.
In addition, the EV's battery is used to:

Liberty in the name refers to:

V2G Liberty is a practical local app that works in the browser and on your phone.

The V2G Liberty Dashboard

The schedules are optimised to maximise revenues ór minimising emissions. The optimised schedules are produced by FlexMeasures, our smart backend by Seita. While the price optimisation already decreases emissions significantly, you can also choose to take sustainability a step further and optimise for minimising emissions (and still do quite well on savings on charge costs).

Most Dutch energy suppliers are listed and all European energy prices (EPEX) are available for optimisation. For none European markets (e.g. Australia) there is an option to (automatically) upload price data to FlexMeasures.

Read more about V2G Liberty on v2g-liberty.eu or github.com.

Read more about FlexMeasures on flexMeasures.io, seita.nl or github.com.

Prerequisites

As said, at the time of writing, 2024-04, only the Wallbox Quasar 1 charger is supported. This is a CHAdeMO compatible charger.

Compatible cars that can do V2G with this protocol are the Nissan Leaf (also earlier models) and Nissan Evalia.

When the Wallbox Quasar 2 is available we expect V2G Liberty to be compatible with this hardware "out of the box". Then also CCS V2G capable cars can be managed with V2G Liberty.

We expect to add new chargers to V2G Liberty soon

Preparation

Quasar charger

Before installing or activation of V2G Liberty, please make sure that charging and discharging with the EV and Quasar charger works properly. Test this with the app supplied with the charger.

FlexMeasures

You can run your own instance of FlexMeasures, but you can also make use of an instance run by V2G Liberty. If you prefer this option, please contact us.

An electricity contract with dynamic prices

As said, the software optimizes dynamic prices, so a contract of this type is the best option. There is no rush, though. You can try out V2G Liberty first and later on get the dynamic contract. In the Netherlands there are several suppliers, o.a. Eneco, Vattenfall, ANWB, Tibber, Zonneplan, Energy Zero, etc.

A dynamic contract changes the way your electricity is priced and billed, so it is wise to find information and make sure you really understand what this means for your situation before making this change.

Get an online calendar

For the situations where you would like the car to be fully charged, e.g. for a longer trip, V2G Liberty optimizes on a dedicated online calendar.This is mandatory, without it V2G Liberty cannot work.

It is of course most useful if the calendar is integrated with your normal calendar and if you can easily edit the calendar items on your smartphone (outside HA / V2G Liberty). Options are, for example:

We recommend a separate calendar for your car reservations. The result must be that in Home Assistant only the events meant for the car are present. Preferably name the calendar (car_reservation). If you name(d) it otherwise, update the calendar name in the configuration of V2G Liberty secrets.yaml and in the v2g_liberty_dashboard.yaml

Installation

The installation of this add-on is pretty straightforward.

  1. Copy this URL: https://github.com/V2G-liberty/addon-v2g-liberty.git
  2. In home assistant got to settings > add-ons.
  3. Hit the big blue button in the bottom right add-on shop.
  4. Open the menu in the top right with the ⋮-icon and select the option repostitories.
  5. Paste the URL of step 1 and click ADD, wait a little and click Close.
  6. Scroll down to the bottom of the page, the V2G Liberty add-on should be visible there. If not, refresh the page. Click the add-on.
  7. The add-on page opens, click the Install button to install the add-on. This might take quite a while as several some files.
  8. Consider activating Watch dog and Automatic update.

Further steps in the proces of installation and configuration are explained in the installed add-on itself.

Configuration

Charging is fully automatic an optimised, so you can just connect your EV and forget about it. You can tweak the charging process by setting min- and max-limits, min- and max-charge power etc.

Happy 🚘 ← ⚡ → 🏡 charging!

Changelog & Releases

This repository keeps a change log using GitHub's releases functionality. In Home Assistant a notification is shown when a new version is available. We advise you to keep the software up to date.

Releases are based on Semantic Versioning, and use the format of MAJOR.MINOR.PATCH. In a nutshell, the version will be incremented based on the following:

Got questions?

You have several options to get them answered:

You could also open an issue on GitHub.

Authors & contributors

The original setup of this repository is by Ard Jonker, Seita B.V. and Ronald Pijnacker.

License

Apache 2.0

Copyright (c) 2021 - 2024 Ard Jonker

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.