question

mihair avatar image
mihair asked

How to set negative values for AcPowerSetPoint using d-bus script?

Hi,

In order to export energy to grid I am trying to set negative AcPowerSetPoint for an ESS system using d-bus script. Positive values always works, like in the example below:

#dbus -y com.victronenergy.settings /Settings/CGwacs/AcPowerSetPoint SetValue 50

but

#dbus -y com.victronenergy.settings /Settings/CGwacs/AcPowerSetPoint SetValue -50

return: dbus: error: no such option: -50


Thanks,

Mihai

ESS
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.

ralfz avatar image ralfz commented ·

Hi Mihai. I am trying to use my MultiPlus-II in Mode 3 as well. I am trying to use a Python script (see here) but it seems I am missing some small thing to make it work.

Now, I tried also your command from above:

dbus -y com.victronenergy.settings /Settings/CGwacs/AcPowerSetPoint SetValue %-200

With dbus-spy, I see that value under

com.victronenergy.settings/Settings/CGwacs/AcPowerSetPoint

and

com.victronenergy.hub4/AcPowerSetPoint

But, my MultiPlus-II stays in "Passthru" and no power is taken from the battery.

What else do I need to actually feed power from the battery to the grid?
I already have the following set:

  • Remote Console Settings/ESS: Mode = "External control"
  • com.victronenergy.settings/Settings/CGwacs/Hub4Mode=3
  • com.victronenergy.settings/Settings/CGwacs/MaxDischargePercentage=50
  • com.victronenergy.settings/Settings/CGwacs/MaxDischargePower=300
0 Likes 0 ·
2 Answers
mvader (Victron Energy) avatar image
mvader (Victron Energy) answered ·

Hi, Try %-50

2 |3000

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

mihair avatar image
mihair answered ·

Thank you so much!

2 |3000

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