Victron Energy Venus OS GX (MultiPlus-II / Quattro)
Status: Vendor Confirmed · Register points: 75 · Transports: Modbus TCP
A curated ModDef profile for the Victron Energy Venus OS GX (MultiPlus-II / Quattro). Import it as
victron.venus-os or load the .moddef.yaml directly.
Usage
Load the profile, bind a transport, and read a point by name. The runtime applies the offset, scaling, byte order, and sentinels from the definition.
- Go
- TypeScript
- Rust
- Python
- C
- C++
doc, _ := moddef.Load("victron-venus-os.moddef.yaml")
dev, _ := client.New(doc, "victron-venus-os", transport) // your modbus.Transport
v, _ := dev.ReadPoint(ctx, "pv_ac_output_l1_power")
fmt.Println(v)
import {Device} from '@moddef/core';
import {loadDocument} from '@moddef/core/node';
const doc = await loadDocument('victron-venus-os.moddef.yaml');
const dev = Device.create(doc, 'victron-venus-os', transport);
console.log(await dev.readPoint('pv_ac_output_l1_power'));
let doc = moddef_core::load("victron-venus-os.moddef.yaml")?;
let mut dev = Device::new(&doc, Some("victron-venus-os"), transport)?;
let v = dev.read_point("pv_ac_output_l1_power").await?;
from moddef import Device, load
from moddef.pymodbus import Options, PymodbusTransport
doc = load("victron-venus-os.moddef.yaml")
transport = await PymodbusTransport.tcp("192.168.1.50", options=Options())
dev = Device.create(doc, "victron-venus-os", transport)
print(await dev.read_point("pv_ac_output_l1_power"))
md_doc_t doc;
md_doc_init(&doc, flash_ptr, flash_len); /* zero-copy view */
md_dev_t dev;
md_dev_init(&dev, &doc, MD_STR("victron-venus-os"), &transport);
md_value_t v;
md_dev_read(&dev, MD_STR("pv_ac_output_l1_power"), &v);
auto doc = moddef::Document::view(flash_bytes).value(); // zero-copy over flash
auto dev = moddef::Device::open(doc, "victron-venus-os", transport).value();
if (auto v = dev->read("pv_ac_output_l1_power"); v)
std::cout << v->to_string() << '\n';
Measurands
The 9 semantic quantities this device reports, each linked to the measurand catalog. Query a device by measurand instead of a raw point when you want portable code.
| Base quantity | Name | Unit | Description |
|---|---|---|---|
active_power | Active Power | W | Instantaneous real power |
battery_power | Battery Power | W | Battery power (sign per direction) |
battery_voltage | Battery Voltage | V | Battery terminal voltage |
battery_current | Battery Current | A | Battery current (sign per direction) |
state_of_charge | State of Charge | % | Battery charge level |
pv_power | PV Power | W | PV array / string power |
pv_current | PV Current | A | PV array / string current |
device_status | Device Status | undefined | Overall device operating status (enum) |
fault_code | Fault Code | undefined | Vendor fault code (enum or integer) |
Source
- Profile:
battery-storage/victron-venus-os/victron-venus-os.moddef.yaml - Register map: vendor documentation