VE.Direct: A point-to-point serial interface (4-pin JST-PH connector, 19200 baud, 8N1) used on smaller devices such as SmartShunts, BMV-700/712 monitors, small Phoenix inverters, and most BlueSolar/SmartSolar MPPTs. It supports a simple periodic Text-mode for reading values and a HEX-mode for reading/writing settings. See the official VE.Direct Protocol specification for message formats and data fields.
VE.Bus: A proprietary protocol over RJ45 cables used for MultiPlus and Quattro inverter/chargers and larger Phoenix inverters. It handles inverter synchronization, parallel/split/three-phase operation, and configuration via an MK3-USB interface or GX device.
VE.Can: A CAN-bus based protocol (compatible with NMEA 2000 on supported devices) using daisy-chained cables with bus terminators. Used by larger MPPTs, Lynx BMS/shunts, and compatible third-party lithium battery BMSs.
Modbus-TCP: An open Ethernet-based protocol available on GX devices (such as Cerbo GX) for reading and writing system data from PLCs, SCADA systems, or home automation platforms. Details and register maps are documented in the GX Modbus-TCP Manual. https://www.victronenergy.com/live/ccgx:modbustcp_faq
To parse data from an MPPT, SmartShunt, or BMV in code, use VE.Direct Text-mode, which streams human-readable key-value pairs over serial every second without requiring any polling commands.
Pinout (4-pin JST-PH 2.0mm): Pin 1 = GND, Pin 2 = RX (device input), Pin 3 = TX (device output), Pin 4 = Power+ (do not connect).
Logic Level: 3.3V TTL (some older MPPTs use 5V, though 3.3V UART adapters work safely with nearly all models; use a galvanic isolator or USB-to-VE.Direct cable to prevent ground loops).
UART Settings: 19200 baud, 8 data bits, no parity (N), 1 stop bit (1), no flow control.
Text-Mode Frame Structure Every ~1 second, the device sends a block of \r\n-separated lines ending with a Checksum line:| Label | Description | Unit / Scaling | Hardware |
|---|---|---|---|
| V | Main battery voltage | mV (divide by 1000 for V) | All |
| I | Battery current | mA (divide by 1000 for A) | All |
| P | Instantaneous power | W | SmartShunt / BMV |
| SOC | State of charge | 0.1% (divide by 10 for %) | SmartShunt / BMV |
| TTG | Time to go | minutes (-1 = infinite) | SmartShunt / BMV |
| VPV | Panel voltage | mV (divide by 1000 for V) | MPPT |
| PPV | Panel power | W MPPT | |
| CS | State of operation | (0=Off, 3=Bulk, 4=Absorption, 5=Float) Integer code | MPPT |
| H19 | Yield total | 0.01 kWh | MPPT |
| H20 | Yield today | 0.01 kWh | MPPT |
| ERR | Error code | (0 = No error) Integer code | MPPT |
(Note: Because the checksum byte itself can be 0x0A (\n), reading strictly by readline() can occasionally split the checksum line early; for production code, read byte-by-byte after seeing Checksum\t so you capture the exact single checksum byte.)