Change ESS grid setpoint from remote

I am running ESS on a Multi RS Solar. Is it possible to change the grid setpoint from custom software on another computer. With the Multiplus II I used Modbus TCP which worked great. But I cannot find a way to do it with the Multi RS,

Thanks in advance.

Try register 4610 or 4922 on Modbus for Multi RS ID (usually 100, the same as the system).
Be careful that they are 32 bit registers.

1 Like

These registers return 0 while I have entered another value in VictronConnect (ESS → Grid setpoint).

When I change the setpoint via Node Red, it succeeds. But after a short time, within a minute it changes back to the original value. It looks like the ESS grid setpoint cannot be controlled like it used to be.

The mode of the Multi shows “External Control”, while I selected “Optimized without battery life” in VictronConnect. This could explain why the setpoint changes back.

I wrote to both registers via ModbusTCP. They act similar. The setpoint is changed, but falls back after exactly an minute. The setpoint is not visible in VictronConnect.

If the setpoint is resent within a minute, the the period is extended. So I think about creating a Node Red flow that rewrites the current value of the register every 45s or so. Then the behaviour is as expected.

Yes, that worked. I created a small flow that keeps the setpoint in the register.

[
    {
        "id": "527263dc8bfd7e65",
        "type": "tab",
        "label": "Hold ESS grid setpoint",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "d2c4e8396a2cb086",
        "type": "trigger",
        "z": "527263dc8bfd7e65",
        "name": "",
        "op1": "",
        "op2": "0",
        "op1type": "pay",
        "op2type": "str",
        "duration": "-45",
        "extend": false,
        "overrideDelay": false,
        "units": "s",
        "reset": "",
        "bytopic": "topic",
        "topic": "topic",
        "outputs": 1,
        "x": 350,
        "y": 180,
        "wires": [
            [
                "b83e125bb85b25ca"
            ]
        ]
    },
    {
        "id": "fd5b445c07108d8d",
        "type": "victron-input-multi",
        "z": "527263dc8bfd7e65",
        "service": "com.victronenergy.multi/0",
        "path": "/Ess/AcPowerSetpoint",
        "serviceObj": {
            "service": "com.victronenergy.multi/0",
            "name": "RS Solar"
        },
        "pathObj": {
            "path": "/Ess/AcPowerSetpoint",
            "type": "float",
            "name": "ESS power setpoint (W)"
        },
        "name": "Setpoint",
        "onlyChanges": true,
        "x": 100,
        "y": 180,
        "wires": [
            [
                "d2c4e8396a2cb086"
            ]
        ]
    },
    {
        "id": "b83e125bb85b25ca",
        "type": "victron-output-multi",
        "z": "527263dc8bfd7e65",
        "service": "com.victronenergy.multi/0",
        "path": "/Ess/AcPowerSetpoint",
        "serviceObj": {
            "service": "com.victronenergy.multi/0",
            "name": "RS Solar"
        },
        "pathObj": {
            "path": "/Ess/AcPowerSetpoint",
            "type": "float",
            "name": "ESS power setpoint (W)",
            "writable": true
        },
        "name": "",
        "onlyChanges": false,
        "x": 680,
        "y": 180,
        "wires": []
    }
]