Need official mapping for VE.Bus D-Bus

Oh, that’s great info. I whipped up a quick shell script to dump those logs in readable form:

#!/bin/sh
# dbus path of the multis
device=com.victronenergy.vebus.ttyUSB0
# max device number
maxdev=2

for dev in $(seq 0 $maxdev); do
    echo "### Device $dev ###"
    for log in $(seq 0 4); do
	flags=$(dbus-send --system --print-reply --dest=$device \
			  /Devices/$dev/InterfaceProtectionLog/$log/ErrorFlags \
			  com.victronenergy.BusItem.GetValue \
		    | grep byte | awk '{print $3}')
	time=$(dbus-send --system --print-reply --dest=$device \
			 /Devices/$dev/InterfaceProtectionLog/$log/Time \
			 com.victronenergy.BusItem.GetValue \
		   | grep uint32 | awk '{print $3}')
	[ -z "$flags" ] && break;
	tt=$(date -d @$time)
	fs=""
	if [ $(($flags & 1)) -eq 1 ]; then fs="$fs RoCoF"; fi
	if [ $(($flags & 4)) -eq 4 ]; then fs="$fs FreqLow"; fi
	if [ $(($flags & 8)) -eq 8 ]; then fs="$fs VoltageLow"; fi
	if [ $(($flags & 16)) -eq 16 ]; then fs="$fs VoltageHigh"; fi
	if [ $(($flags & 64)) -eq 64 ]; then fs="$fs PhaseIssue"; fi

	echo "$tt $fs"
    done
    echo
done