question

cesar avatar image
cesar asked

d-bus command problems

Hi,

I'm new on d-bus operation, and I would like to get the configuration file .rvsc from Cerbo GX using ssh in order to automate some functions. I tried the command:

/opt/color-control/mk2vsc -r -s dbus://com.victronenergy.vebus.ttyO1/Interfaces/Mk2/Tunnel

from this document:

https://www.victronenergy.com/live/open_source:ccgx:commandline#changing_settings

but I got the following error message:

-sh: /opt/color-control/mk2vsc/: Is a directory

Could some provide a clue about what is the missing part?

Thanks in advance for your kind support,


César


cerbo gxVenus OSmodificationsd-bus
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

2 Answers
johanndo avatar image
johanndo answered ·

R u sure you have this interface?

.ttyO1/


Use dbus-spy to find out what the current ve.bus interface is in your system

And what do you want to tunnel where?

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

ivanjh avatar image
ivanjh answered ·

I noticed something similar in the docs (now at https://github.com/victronenergy/venus/wiki/commandline---operational#step-1-reading-the-settings )

Docs specific:

/opt/victronenergy/mk2vsc

Whereas the required command on my cerbo gx venus 3.0.0 is:

/opt/victronenergy/mk2vsc/mk2vsc


2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Related Resources

Cerbo GX product page

GX family product range

Cerbo GX & GX Touch datasheet

Cerbo GX Manual

Venus root access document

Victron Venus OS Open Source intro page

Venus OS GitHub (please do not post to this)

Additional resources still need to be added for this topic

Experiments, Modifications and Adaptions. Mods (Modifications) can be made to Victron Software by the Community. Please use the modifications space for enthusiasts who want to push what is possible, without official Victron Support.