Batrium WatchMon CAN Bus 0x356 / 0x355 Frame Decoder (Intel LE)
Decode Batrium WatchMon Victron/SMA/Pylontech CAN telemetry (0x356 voltage, signed current, temp & 0x355 SOC) with live bit map, C99 & Python 3 export.
# Pure Python 3 CAN decoder for a 8-byte payload.
FRAME_LEN = 8
def dbc_1_battery_voltage_physical(data: bytes) -> float:
if len(data) < 8:
raise ValueError("Expected at least 8 payload bytes")
raw = (int.from_bytes(data[:8], "little") >> 0) & 0xFFFF
return raw * (0.01) + (0.0)
def dbc_2_battery_current_physical(data: bytes) -> float:
if len(data) < 8:
raise ValueError("Expected at least 8 payload bytes")
raw = (int.from_bytes(data[:8], "little") >> 16) & 0xFFFF
if raw & (1 << 15):
raw -= 1 << 16
return raw * (0.1) + (0.0)
def dbc_3_battery_temperature_physical(data: bytes) -> float:
if len(data) < 8:
raise ValueError("Expected at least 8 payload bytes")
raw = (int.from_bytes(data[:8], "little") >> 32) & 0xFFFF
if raw & (1 << 15):
raw -= 1 << 16
return raw * (0.1) + (0.0)
def dbc_4_soc_mirror_physical(data: bytes) -> float:
if len(data) < 8:
raise ValueError("Expected at least 8 payload bytes")
raw = (int.from_bytes(data[:8], "little") >> 48) & 0xFFFF
return raw * (1.0) + (0.0)
def decode_frame(data: bytes) -> dict[str, float]:
return {
"dbc_1_battery_voltage": dbc_1_battery_voltage_physical(data),
"dbc_2_battery_current": dbc_2_battery_current_physical(data),
"dbc_3_battery_temperature": dbc_3_battery_temperature_physical(data),
"dbc_4_soc_mirror": dbc_4_soc_mirror_physical(data),
}
Inspect Batrium WatchMon closed-loop inverter CAN telemetry bytes
Batrium WatchMon Core integrates with Victron Venus OS, SMA Sunny Island, Deye and Sol-Ark inverters using 500 kbps Intel little-endian CAN frames modeled on the SMA/Victron 0x351–0x356 protocol.
In payload C8 14 A9 01 F5 00 58 00, Intel LE bytes C8 14 decode to 0x14C8 (5,320 → 53.20 V), A9 01 decodes to +425 (+42.5 A charge; two’s-complement 57 FE = −42.5 A discharge), F5 00 decodes to 245 (24.5 °C), and 58 00 reports 88% SOC.
Formulas
Battery Voltage = 0x14C8 × 0.01 = 5,320 × 0.01 = 53.20 V
Signed Current = 0x01A9 (+42.5 A) vs. 0xFE57 (−42.5 A)
Temperature = 0x00F5 × 0.1 = 24.5 °C
Worked example
Payload C8 14 A9 01 F5 00 58 00 decodes to 53.2 V, +42.5 A, 24.5 °C and 88% SOC; flipping bytes 2–3 to 57 FE reverses current cleanly to −42.5 A while generating both C99 and Python 3 parsers.
Frequently asked questions
What CAN bus baud rate does Batrium WatchMon use with Victron Cerbo GX?
Use 500 kbps on the Cerbo GX BMS-Can port (250 kbps only on legacy VE.Can setups) with 120 Ω termination at both ends of the twisted pair.
Why does Batrium report temperature in 0.1 °C signed 16-bit integers on 0x356?
Signed 0.1 °C resolution preserves sub-zero winter cell measurements (e.g., −5.0 °C = 0xFFCE) so hybrid inverters can trigger low-temperature charge lockouts accurately.
Can I generate a Python script to log Batrium CAN frames on a Raspberry Pi?
Yes—open the Generated Python 3 decoder panel under Results to copy pure-Python 3 int.from_bytes unpackers ready for python-can or SocketCAN scripts.