While it is possible to use the dbus script, its performance is beyond good and evil.
root@ccgx:~# time dbus -y com.victronenergy.system /Ac/ConsumptionOnOutput/L1/Power GetValue 506 real 0m1.619s user 0m1.099s sys 0m0.161s
I mean ... almost 1.7 seconds for something that should have been a simple IPC query. What's going on there?
Would have expected something at least an order of magnitude faster, especially as things like querying /sys/bus go two orders of magnitude faster:
root@ccgx:~# time cat /sys/bus/gpio/devices/gpiochip0/power/control auto real 0m0.018s user 0m0.001s sys 0m0.013s
Something really smells in that dbus script.