question

rainerb avatar image
rainerb asked

Readout ESS states #1, #2 via dbus command possible?

Hello,

I would like to readout the ESS states #1 and #2 via dbus commands in my bash script, but I can't find it in the "CCGX-Modbus-TCP-register-list-2.51.xls" (or maybe I look over it).

If #1 is active, my periodical running script shall performe some commands.

Any idea how the exact syntax for a dbus command would be? e.g.

Variable=$(dbus -y com.victronenergy.system ??????????????? GetValue)


Best regards

Rainer


ESSVenus GX - VGX
1583397851999.png (50.0 KiB)
2 |3000

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

3 Answers
Greg avatar image
Greg answered ·

What about SystemState ?


Tip: ssh into CCGX and use dbus-spy tool to easily navigate the dbus tree and peruse whats there.


Greg


1 comment
2 |3000

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

rainerb avatar image rainerb commented ·

Hi Greg,

thank you for the information, very nice tool...


Rainer

0 Likes 0 ·
Kevin Windrem avatar image
Kevin Windrem answered ·

I had just come across the dBus paths for the ESS "reason codes".

They are in com.victronenergy.system

/SystemState/LowSoc

/SystemState/BatteryLife

/SystemState/ChargeDisabled

/SystemState/DischargeDisabled

/SystemState/SlowCharge

/SystemState/UserChargeLimited

/SystemState/UserDischargeLimited


for reason codes #1 - #7, respectively



1 comment
2 |3000

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

rainerb avatar image rainerb commented ·

Hi Kevin,

thank you for the information. It works as it should.


Regards

Rainer


0 Likes 0 ·
schollex avatar image
schollex answered ·

Hi,

the Multis consume quiet a lot of standby power (11 W the MP3000, 18 W the MP5000).

Thus, I want to write an node-red-flow for automatically shutting down the Multis in case of low-state.
(In my situation shutdown the Multis is possible because my Multis only serve ESS, ACOUTs aren't used.)

The problem I'm facing...

When Multis are on, /SystemState/LowSoc is correctly signalig whether or not the batteries still have enough power to serve ESS. So in case on lowsoc = 1, I'm shutting down the Multis. But then, lowsoc always switches to 0.

So I have to calculate my own mylowsoc which is represented by this expression:

soc <= max(soclimit, minimumsoc)

Is there really no value within dbus representing whether the battery can still serve ESS or not?

Regards

Alex


2 |3000

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