Git Product home page Git Product logo

esp32ess's Introduction

Victron Multiplus 2 ESS using ESP32 controlling VE.Bus

Implements an ESS system with Victron Multiplus II and Pylontech batteries. Instead by a Cerbo GX, the Multiplus is directly controlled by the ESP32 via the VE.Bus.

ESP32ESS hardware photo

Description

This ESS control code works for two famous Multiplus II wiring configurations: For systems where the Multiplus is only connected with ACin, as well as for systems with emergency power where the Multiplus is connected to ACin and ACout2.

In ACout2 configuration, input from an elecric meter might not even be required, as the ESS assistant inside the Multiplus will automatically compensate energy on ACout2 from/into the battery to always maintain 0W power at ACin if possible. Assuming it gets periodic 0W commands from this code via the VE.Bus.

Input from an electric meter is needed if power is also sourced (or feed-in) in front of the Multiplus device, meaning in parallel to ACin or connected to other electrical phases, if one whishes to also compensate this energy to let a totalizing power meter show zero.

In a conventional ESS system an additional electric meter is required to be installed. This code can use the optical 1/10000kWh impulse output that most official digital meters already have.

Note that currently this code only supports a single Multiplus device (single- phase). In the future it might be extended to also control a three-phase Multiplus system. If interested in this, read here.

Video

Here you can see the system in action:

Short explanation and view of the power meter while cancelling out 600W: https://www.youtube.com/watch?v=5YttD_S421Q

View of the control circuit display: https://www.youtube.com/watch?v=WXgG3uDJ3_o

VE.Bus

For hardware details read my documentation here.

For software details read my documentation here.

Getting Started

Dependencies

Currently there are no additional dependencies. All used libraries are included in the Arduino IDE. The author was using Arduino IDE version 2.2.1 on Windows 10 to compile this code.

Installing

  • Build your hardware according to the Hardware documentation.
  • Update your Victron Multiplus II to latest firmare using an MK3 interface. (I am using v502 on my Multiplus II 48/5000).
  • Configure your Multiplus with ESS assistant and correct voltage thresholds etc. matching your battery.
  • Create Arduino project with esp32ess.ino from /src folder.
  • Add file my_wifi_pw.h into your Arduino project directory and edit this file with your WiFi credentials.
  • Compile and upload this code onto your ESP32 hardware

Authors

Contributors names and contact info

Baxi ([email protected])

Version History

  • 0.1
    • Initial Release

License

This project is licensed under the GNU General Public License v3.0 or later - see the LICENSE.md file for details

Acknowledgments

esp32ess's People

Contributors

pv-baxi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.