Modbus TCP Service "com.victronenergy.settings"

Hi Ladies and Gentlemen,
to go further with the controls of the charging of our 2 electric cars I am asking if you have the Modbus Service “com.victronenergy.settings” which it seems is needed to control a few things I would like to try.
My aim is for the winter period to charge the electric cars in the night plus maybe also to charge the battery if it is really a low spot price at night.

Does anyone have an idea ? Or is there somewhere a thread how somebody has done that via Modbus.
FYI: I am doing it with Modbus because I am complete helpless with NodeRed. SO my Energymanagement is done by Loxone which controls via Modbus my 2 wallboxes of Keba and a Nibe heat pump. This works fantastic for me with surplus control charging incl 1ph/3ph switching.

For charging the cars in the long winter nights I have the daily SPOT price data in the Loxone and can easily start charging the cars at the lowest price, but while charging, I need to stop discharging from the battery if the SOC is for example lower than 50 or 60% in order to save this energy for the household and heatpump .Same applie for the heat pump that I would like to heat up the water when the Spot price are the lowest.

thanks in advance for any reply
:wink:

https://www.victronenergy.com/upload/documents/CCGX-Modbus-TCP-register-list-3.60.xlsx

This should give you what you need.

Hi Mike, thanks, I know this listings. And I am working with it.
Unfortunately it seems that I dont have that Modbus Service “com.victronenergy.settings” which I think should be part of every Victron Cerbo System…

Do you have the “com.victronenergy.settings” in your system ?

OK,
To check this you need to connect to your GX device via SSH. Then you can use dbus-spy to look at all of the dbus services.
Mine come up as:


Nothing connected to the Cerbo, but .settings is there.
To access those parameters via Modbus, you will probably need to use UID=100. even though it’s not shown in this list:

Hi Nick,

thanks for your support, but I am missing the service “com.victronenergy.settings” in my Cerbo. you have it in your list. Did you installed it extra or did it came with the system from the beginning ?

No, the .settings service is there, but may be hidden. Did you try connecting to the Cerbo via ssh and using dbus-spy?

1 Like

Hi Mike…I tried 2707 (stop dc feeding into grid )
And it works perfect I can switch on and off theeding into the grid…
And I am an absolute beginner and I have no idea how to do it with SSH or dbus-spy… :frowning:

In the manuals of victron somewhere it is written to look at the services and write down the I D numbers…and I didnt know that “settings” has ID 100…

It is a learning by doing…step by step :wink:

All of the core Cerbo services IF they have Modbus table entries use UID of 100. Plug in devices, like Inverter, MPPT, thermistors have different UID’s and these are shown in the Cerbo modbus services list. Some (incorrect) values for these services are given in the GX-modbus chart. Use the values that the Cerbo gives you.
Root access via SSH is useful if you are developing, and allows you to do and check on a lot of background stuff that the average user never gets to see. For this, you need a pc or laptop on the same LAN (network), and if it’s windows you need to download open ssh for windows.
From there, as described in the root access document, you need the ip address of the Cerbo to open communications. dbus-spy is a utility program (built into and running on the Cerbo) to monitor all of the DBus service values, and in some instances to modify them. ssh is a secure remote access terminal - this gives you a peek hole into the remote processor that is the Cerbo.

Interesting…if it is so easy as you describe…I will figure it out the next days…what I have tried yesterday evening too is the get values from the “meteo” service as described in the excel Modbus list…because the next step will be to get the solar forecast as shown on the dashboard of VRM…those forecast are not the best but more than good enough to decide how much to charge at night…I know it is from solcast and I have registered with solcast…but this seemsto be another “science” :wink: