d-bus Image

d-bus

Shortest distance, CAN to D-Bus

Hi!

We are currently working on an electrical boat with Victron Energy systems installed.

The boat has a 15kw generator with a bunch of sensors which we have connected to the supported CAN-Bus system on Cerbo GX.

The generator is not a supported one in Venus OS, so for now we decided on installing Venus OS Large because of the simplicity of Node-RED.


We are receiving the CAN-frames as expected in both Node-RED and the bash-terminal through SSH and we now want to pass the translated information to D-Bus.


At this point we are going to attempt adding settings to the D-bus, using the Fischer Panda settings as a base-template.

What we do not know is how to pass this information from Node-RED to the D-bus.


Any help or ideas on the matter would be greatly appreciated.

haakastadir asked
haakastadir edited ·

0 Answers

Writing DVCC parameters from Node-Red

Hi there...

I'm trying to communicate a BMS (from a HydraRedox flow battery) with a CCGX, in order to allow the BMS manage battery charge an discharge using DVCC.
The system is off-grid, so I've discarded using ESS.

The BMS includes a PLC which can communicate through Modbus TCP, and optionally using CAN bus (CANOpen).

One of the most interesting options for me is to communicate them through Node-Red, using the "node-red-contrib-modbus" and "node-red-contrib-victron" nodes. I'd install Node-Red in a computer in the same local network, as CCGX doesn't seem to support Node-Red.

I have no problem with the Modbus part, as I've used it in other projects, but have some questions about communication with the CCGX:

Is it possible to write the DVCC parameters needed (CVL, CCL and DCL) from Node-Red?

As it seems "node-red-contrib-victron" nodes use internally D-Bus, this question could also be asked like this:

Is it possible to write the DVCC parameters needed (CVL, CCL and DCL) using D-Bus?

And, if it's possible, where can I find the D-Bus paths to these parameters?

Just in case somebody suggest using Modbus to write these parameters, I cannot find some of them in the Modbus register list cor CCGX, and some other are just not writable.

My other preferred option is to communicate both systems using CAN Bus (Ve.Can/NMEA2000/CANOpen), but I also have some questions about that and will ask them in another thread.

I've posted this same question in the Spanish forum (in spanish), please tell me if you consider this a misuse of the forums (I'm a newbie here...).

Thanks in advance,

Raúl


rbecerra asked
rbecerra commented ·

1 Answer

Followers

Followers

2 Posts
5 Users
1 Follower

Topic Experts

There are currently no experts identified for this topic. Can you answer questions in this topic area? Community members who provide answers that are marked as correct earn reputation and may become recognized as topic experts.