How to use MultiPlus 2 as pure inverter, setpoint remotely controlled? (2nd try)

I intend to use my MP2 as pure inverter with remotely controlled setpoint.

By now I don’t care anymore if setpoint control via Modbus TCP or MQTT or if necessary even dbus (most dbus paths are avaiable with MQTT anyway).

How to accomplish, what needs to be configured?

I disabled the charger function in VEConfigure. But when I load an ESS Assistant to make certain ‘objects’ available, the bloody thing starts to charge the battery from grid nevertheless and switches off my solar chargers at bright sunshine…

I tried /vebus/296/Hub4/L1/AcPowerSetpoint and yesterday it worked, today it does not work to control the output power.

Sometimes I can read Modbus register 37, sometimes I can’t. When trying to write it I always get “GatewayPathUnavailable” or in the console
grafik
(unit id 234 is 296 with MQTT)

I’m despairing… - PLEASE HELP!!

thank you very much!!

To protect the battery the MultiPlus will always use grid power.

What battery do you have?
How is the ESS assistant configured?
Can you make a screenshot when the Multi is charging? Maybe there is an error code that explains why it is charging.

Why do you want to write 100 (one hundred) registers from 37 to 136 ?
Something is malformed in your request…

LE:
Sorry, now I’ve seen you are using data type set to “Single Holding Register (R03/W06)”, and then the quantity translates to value.
Try to use “Holding register (R03/W16)” and see if it’s the same.

@M_Lange thank you!

>> To protect the battery the MultiPlus will always use grid power.
ok, I set this to 45V in the Assistant. When the MP2 started to charge from Grid and the ESS switched off the PV, the accu had 52V…

>> How is the ESS assistant configured?
more or less standard (default values) except the above and the ‘battery protect’ not to take action above 50V.

>> Can you make a screenshot when the Multi is charging? Maybe there is an error code that explains why it is charging.

What screenshot? in the console you see the MP2 “Charging” and ‘pearls’ sliding from MP2 to battery/DC.

Where to see this kind of notifications (error code)?

Why does it disable the PV chargers at bright sun while charging from grid at the same time??

@alexpescaru ok, I will try with fct 16. one moment… (but I’m afraid the result will be the same)

currently I ‘deleted’ the ESS Assistant in VEConfigure to keep my chargers running - Is ESS Assi mandatory to use (write) Reg. 37?

grafik

reading reg. 37 works

the /Hub4 tree is not present in MQTT while ESS Assi ‘deleted’…

https://www.victronenergy.com/media/pg/Energy_Storage_System/en/controlling-depth-of-discharge.html#UUID-898081fc-12c0-210f-e2d4-db3e3c8c28fb

Please add screenshots from the settings.
Can you also confirm that the ESS assistant is correctly installed? Go to the remote console → settings → ESS

Also add some more details about your system.

I will do in a moment (few moments…)

ok, here it comes…

System:


plus 280Ah ‘48V’ LiFePO accu with JK BMS (on CAN bus) as dc-link, plus another Raspi in the basement for Viessmann + dom hot water by PV comm&control.

MP2 connected on AC-in only, charge (externally) controlled to 80…82%

without the ESS Assi:
grafik

assi selection:

assi settings:
grafik

after applying assi :frowning:
grafik

console:
grafik

what to set here?
grafik

and what here?
grafik

and in the other menues?

control is done by mainly 4 Py scripts on 2 Raspis plus one Raspi for Venus (‘small edition’). MQTT broker on Venus used. Home Assistant, influxDB, grafana-server on the ‘main’ Raspi.

Priorized (1) accu charging (80% SoC controlled during summer) / (2) dom. hot water loading (3 stages, battery voltage level) / (3) surplus feedin / zero feedin in case of no surplus.

Grid power info gained from eBZ smart meter. Lumentree setpoint control via RS232 (very simple, took 10 minutes to get it running and a 5€ RS232 adapter; no 50€ VE.BusToMk3toUSB, no days of not getting power from the inverter…).

Serial communication with Lumentree, grid meter and Viessmann device. 1-wire for additional temperatures info.

different reaction on small/huge increase/decrease of load or on pulsing loads.

the system is running fine, except that I need more power for coffee machine or washing machine etc. (the system is officially a ‘Balkonkraftwerk’, this is the reason for the Lumentree)

what would I have to set the setpoint for feed-in to? negative or positive?

for what reason do I need an ‘assistant’ for the most basic and origin functionality of an inverter - setting the power output??

All these Victron ‘hyper-functionalities’ might be nice toys, but if it’s not possible to simply gain power from an inverter, then it is all rubbish!

Which ESS mode are you using?

Did you also tried with Modbus registers 96, 98, 100 ?

Also with 4922 ?

where to see/set the ESS mode?

haven’t tried the other registers, I will, thank you.

Will they work without ESS (since that ‘destroys’ my system funcionality / switches off/down my chargers…)? They all start with “ESS…”

funny - they all seem to end up in /Hub4/Lx/AcPowerSetpoint even if the 96… are 4 byte since 37 is 2 bytes.

So I’m afraid this will end up the same as writing /Hub4/L1/AcPowerSetpoint directly (dbus via MQTT…) :-/

ah, looking at 4922 I found the/some interesting stuff

I will also check these, perhaps that helps

Worth a read…

https://www.victronenergy.com/live/ess:ess_mode_2_and_3

I just tried to read 4921 - not available :-/ is there another way to access ESS Mode?

so it seems as if I require mode 3. but how can I set it since 4921 is not available??

I set this in the console:

grafik

now it looks as if I can command a power output by

grafik

in MQTT. Modbus code does currently not work (I think because of negative value)

The same state I had yesterday evening, don’t ask me how it disappeared over night…

now I would like to set to feedin only but that’s hopefully not too important…