Giter Club home page Giter Club logo

ve-ctrl-tool's Introduction

ve-ctrl-tool (Victron Energy VE.Bus MK2 protocol tool)

this is a library and cli tools to interact with Victron (https://www.victronenergy.com/) devices over the Mk3 adapter.

The author and the project are not affiliated with the Victron Company. The brand name is used only in educational context. Everything here is shared for educational purpose only and for use at your own risk only.

Code structure

  • cmd/ commands/servers/entrypoints
  • pkg/ potentially re-usable packages.

Usage

Interactive mode:

$ go run ./cmd/ve-shell
Mk2> read-ram 1
value=14 value=0b1110 value=0xe
Mk2> (exit with EOF / CTRL-D)

Commandline invocation:

$ go run ./cmd/ve-shell read-ram 1
value=14 value=0b1110 value=0xe

Run the help command to get a list of commands.

Run with Shelly 3em

go run ./cmd/ve-ess-shelly http://10.1....shelly-address

Monitoring:

$ watch -n 0.1 bash -c '"curl -s localhost:18001/metrics | grep -v -E '^#' | sort"'

Screenshot of monitoring of a 12V Multiplus (smallest available model):

NixOS flake

Configure NixOS Module:

{
  services.ve-ess-shelly = {
    enable = true;
    maxInverter = 120;
    maxInverterPeak = 800;
    shellyEM3 = "http://shellyem3-.1.localnet.cc";
  };
}

ve-ctrl-tool's People

Contributors

yvesf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ve-ctrl-tool's Issues

RAM Register for ESS Grid SetPoint

Hi Yves,

And thanks for your work. I am struggling to command the electricity injection with MK2 with the ESS mode activated on the inverter. On your soft, you write a setpoint on RAM ID 129, but on my side, after trying, it seems to be on ID 131. Where did you get the information about RAM ID description ?
FYI RAM ID 136 is the maximum PV Feed IN (in Watt).

Also, without Venus-OS device connected, the Ve.Bus device goes into "Pass-Thru" mode after 4 min. Any idea which register is needed to maintain the Inverter ON ?

Thanks a lot in advance

Best regards

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.