V3.70 beta - DESS related

Target SOC goes to 0% when the system is scheduled to self consume.

But you should see this in the ESS state?

I don’t believe the BatteryLife states are related to how Dynamic ESS functions… you can confirm this by disabling DESS, and setting an ESS Scheduled Charge Level of 0%. I doubt the chart to the right would show self consumption, even though the system is technically self consuming.

Correct. SoC target for current timeslot is 0 when DESS strategy for current timeslot is self consumption. Which is unrelated to ESS battery life state.

If you create a custom graph with both the target SoC ánd the strategy (both for current timeslot) you will see that strategy ‘self consumption’ (is 0 IIRC) coincides with target SoC 0

I need to plot /DynamicEss/Stratagy/ correct?
Maybe a stupid question, but how can I add this in a custom widget?

No you need to plot ‘strategy for current timeslot’, same as SoC. I don’t know how exactly, I monitor those d-bus values in Node-RED.

Here is my DESS_D-BUS_SCHEDULE monitoring flow, what you are looking for are the blue nodes: dbsSoCT and dbsStrT. You can enable the debug nodes to output to the debug window. The one lonely node in the right bottom is meant to provide a trigger signal when any of these D-Bus values change, I use that to activate my SoC / Strategy override logic with (like nudging up or down target SoC a little, depending on an active buy/sell state) . Other than that, this flow only reads changes from the D-Bus without any further influence on your system. PS, you can probably safely delete/reconnect the status nodes (but I advice to install the boolean logic ultimate package because they provide visible timestamps)

[
    {
        "id": "8d7863d7053e2d08",
        "type": "group",
        "z": "aca9a41baba8e498",
        "name": "UpCyCle Hybrid DESS Trade : D-Bus Schedule Changes",
        "style": {
            "label": true
        },
        "nodes": [
            "991717d30869b9fe",
            "b3afc8bdd100c89e",
            "12ee43584ad6f65f",
            "5d98dddc0f761d61",
            "355ac2c9631bcdd0",
            "8b6b92638aec3bed",
            "d670c06d68e6c7f0",
            "fb2bd2266962314c",
            "53d1be53e85bd5bf",
            "687a6210f8c1fb16",
            "5edc5a5eec5a35ac",
            "e902f4bc2c128bb4",
            "1ee42ec50f84e6fb",
            "3266ee3d56ad224d",
            "1997a76a5bfc18fc",
            "b5a6d8111343b7a6",
            "14fd21fbf0d2c829",
            "08820ba2f558e0c8",
            "7b0d1dcbe074559c",
            "04e666d078de3c4d",
            "0276db699efc2adc",
            "3885128c090ee495",
            "649f49b80128b48e",
            "66e04f1e50a71c08",
            "bd83d007ef1c9c8b",
            "a18f98a9176d4222",
            "914c0b07908ebe00",
            "0df84f06010bd721",
            "c281faea188554f7",
            "d0c38afdfada96d5",
            "7448b710907d10b9",
            "86452777f7a66b39",
            "4fbea3ac0c1c5f7f",
            "95f8095d0173922f",
            "0171c408733ccc18",
            "2b7cb5720c2e50c7",
            "1f0629cb04ad034c",
            "180470dd6c141d02",
            "8c507e5dcf0f8442",
            "3c77f2e266cea298",
            "f973fedfb0b9424b",
            "1e0b623a0a57c03b",
            "f3b0e116d44d4537",
            "29e7ba0628a2679b",
            "c9f6aa7a2189491b",
            "faf437076014bcf1"
        ],
        "x": 34,
        "y": 39,
        "w": 1172,
        "h": 502
    },
    {
        "id": "991717d30869b9fe",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/0/Soc",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/0/Soc",
            "name": "/Settings/DynamicEss/Schedule/0/Soc",
            "type": "number",
            "value": 64
        },
        "name": "dbsSoC0",
        "onlyChanges": true,
        "x": 120,
        "y": 80,
        "wires": [
            [
                "7b0d1dcbe074559c"
            ]
        ]
    },
    {
        "id": "b3afc8bdd100c89e",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/1/Soc",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/1/Soc",
            "name": "/Settings/DynamicEss/Schedule/1/Soc",
            "type": "number",
            "value": 62
        },
        "name": "dbsSoC1",
        "onlyChanges": true,
        "x": 160,
        "y": 120,
        "wires": [
            [
                "7b0d1dcbe074559c"
            ]
        ]
    },
    {
        "id": "12ee43584ad6f65f",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/2/Soc",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/2/Soc",
            "name": "/Settings/DynamicEss/Schedule/2/Soc",
            "type": "number",
            "value": 62
        },
        "name": "dbsSoC2",
        "onlyChanges": true,
        "x": 200,
        "y": 160,
        "wires": [
            [
                "7b0d1dcbe074559c"
            ]
        ]
    },
    {
        "id": "5d98dddc0f761d61",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/3/Soc",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/3/Soc",
            "name": "/Settings/DynamicEss/Schedule/3/Soc",
            "type": "number",
            "value": 62
        },
        "name": "dbsSoC3",
        "onlyChanges": true,
        "x": 240,
        "y": 200,
        "wires": [
            [
                "7b0d1dcbe074559c"
            ]
        ]
    },
    {
        "id": "355ac2c9631bcdd0",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/4/Restrictions",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/4/Restrictions",
            "name": "/Settings/DynamicEss/Schedule/4/Restrictions",
            "type": "number",
            "value": 0
        },
        "name": "dbsRes4",
        "onlyChanges": true,
        "x": 880,
        "y": 320,
        "wires": [
            [
                "04e666d078de3c4d"
            ]
        ]
    },
    {
        "id": "8b6b92638aec3bed",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/5/Restrictions",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/5/Restrictions",
            "name": "/Settings/DynamicEss/Schedule/5/Restrictions",
            "type": "number",
            "value": 0
        },
        "name": "dbsRes5",
        "onlyChanges": true,
        "x": 920,
        "y": 360,
        "wires": [
            [
                "04e666d078de3c4d"
            ]
        ]
    },
    {
        "id": "d670c06d68e6c7f0",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/6/Restrictions",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/6/Restrictions",
            "name": "/Settings/DynamicEss/Schedule/6/Restrictions",
            "type": "number",
            "value": 0
        },
        "name": "dbsRes6",
        "onlyChanges": true,
        "x": 960,
        "y": 400,
        "wires": [
            [
                "04e666d078de3c4d"
            ]
        ]
    },
    {
        "id": "fb2bd2266962314c",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/7/Restrictions",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/7/Restrictions",
            "name": "/Settings/DynamicEss/Schedule/7/Restrictions",
            "type": "number",
            "value": 0
        },
        "name": "dbsRes7",
        "onlyChanges": true,
        "x": 1000,
        "y": 440,
        "wires": [
            [
                "04e666d078de3c4d"
            ]
        ]
    },
    {
        "id": "53d1be53e85bd5bf",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/4/Soc",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/4/Soc",
            "name": "/Settings/DynamicEss/Schedule/4/Soc",
            "type": "number",
            "value": 61
        },
        "name": "dbsSoC4",
        "onlyChanges": true,
        "x": 120,
        "y": 320,
        "wires": [
            [
                "7b0d1dcbe074559c"
            ]
        ]
    },
    {
        "id": "687a6210f8c1fb16",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/5/Soc",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/5/Soc",
            "name": "/Settings/DynamicEss/Schedule/5/Soc",
            "type": "number",
            "value": 61
        },
        "name": "dbsSoC5",
        "onlyChanges": true,
        "x": 160,
        "y": 360,
        "wires": [
            [
                "7b0d1dcbe074559c"
            ]
        ]
    },
    {
        "id": "5edc5a5eec5a35ac",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/6/Soc",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/6/Soc",
            "name": "/Settings/DynamicEss/Schedule/6/Soc",
            "type": "number",
            "value": 61
        },
        "name": "dbsSoC6",
        "onlyChanges": true,
        "x": 200,
        "y": 400,
        "wires": [
            [
                "7b0d1dcbe074559c"
            ]
        ]
    },
    {
        "id": "e902f4bc2c128bb4",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/7/Soc",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/7/Soc",
            "name": "/Settings/DynamicEss/Schedule/7/Soc",
            "type": "number",
            "value": 61
        },
        "name": "dbsSoC7",
        "onlyChanges": true,
        "x": 240,
        "y": 440,
        "wires": [
            [
                "7b0d1dcbe074559c"
            ]
        ]
    },
    {
        "id": "1ee42ec50f84e6fb",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/0/Restrictions",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/0/Restrictions",
            "name": "/Settings/DynamicEss/Schedule/0/Restrictions",
            "type": "number",
            "value": 0
        },
        "name": "dbsRes0",
        "onlyChanges": true,
        "x": 880,
        "y": 80,
        "wires": [
            [
                "04e666d078de3c4d"
            ]
        ]
    },
    {
        "id": "3266ee3d56ad224d",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/1/Restrictions",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/1/Restrictions",
            "name": "/Settings/DynamicEss/Schedule/1/Restrictions",
            "type": "number",
            "value": 0
        },
        "name": "dbsRes1",
        "onlyChanges": true,
        "x": 920,
        "y": 120,
        "wires": [
            [
                "04e666d078de3c4d"
            ]
        ]
    },
    {
        "id": "1997a76a5bfc18fc",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/2/Restrictions",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/2/Restrictions",
            "name": "/Settings/DynamicEss/Schedule/2/Restrictions",
            "type": "number",
            "value": 0
        },
        "name": "dbsRes2",
        "onlyChanges": true,
        "x": 960,
        "y": 160,
        "wires": [
            [
                "04e666d078de3c4d"
            ]
        ]
    },
    {
        "id": "b5a6d8111343b7a6",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/3/Restrictions",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/3/Restrictions",
            "name": "/Settings/DynamicEss/Schedule/3/Restrictions",
            "type": "number",
            "value": 0
        },
        "name": "dbsRes3",
        "onlyChanges": true,
        "x": 1000,
        "y": 200,
        "wires": [
            [
                "04e666d078de3c4d"
            ]
        ]
    },
    {
        "id": "14fd21fbf0d2c829",
        "type": "link out",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "name": "link out 86",
        "mode": "link",
        "links": [
            "faf437076014bcf1"
        ],
        "x": 385,
        "y": 260,
        "wires": []
    },
    {
        "id": "08820ba2f558e0c8",
        "type": "debug",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "name": "dbsSoCX",
        "active": true,
        "tosidebar": false,
        "console": false,
        "tostatus": true,
        "complete": "true",
        "targetType": "full",
        "statusVal": "payload",
        "statusType": "auto",
        "x": 340,
        "y": 300,
        "wires": []
    },
    {
        "id": "7b0d1dcbe074559c",
        "type": "StatusUltimate",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "name": "Status",
        "property": "payload",
        "x": 150,
        "y": 260,
        "wires": [
            [
                "0df84f06010bd721",
                "08820ba2f558e0c8"
            ]
        ]
    },
    {
        "id": "04e666d078de3c4d",
        "type": "StatusUltimate",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "name": "Status",
        "property": "payload",
        "x": 910,
        "y": 260,
        "wires": [
            [
                "914c0b07908ebe00",
                "0276db699efc2adc"
            ]
        ]
    },
    {
        "id": "0276db699efc2adc",
        "type": "debug",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "name": "dbsResX",
        "active": true,
        "tosidebar": false,
        "console": false,
        "tostatus": true,
        "complete": "true",
        "targetType": "full",
        "statusVal": "payload",
        "statusType": "auto",
        "x": 1100,
        "y": 300,
        "wires": []
    },
    {
        "id": "3885128c090ee495",
        "type": "victron-input-dess",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.system/0",
        "path": "/DynamicEss/TargetSoc",
        "serviceObj": {
            "service": "com.victronenergy.system/0",
            "name": "Venus system"
        },
        "pathObj": {
            "path": "/DynamicEss/TargetSoc",
            "type": "float",
            "name": "The set target SOC for this time slot (%)"
        },
        "name": "dbsSoCT",
        "onlyChanges": true,
        "x": 340,
        "y": 380,
        "wires": [
            [
                "a18f98a9176d4222",
                "c9f6aa7a2189491b"
            ]
        ]
    },
    {
        "id": "649f49b80128b48e",
        "type": "victron-input-dess",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.system/0",
        "path": "/DynamicEss/Restrictions",
        "serviceObj": {
            "service": "com.victronenergy.system/0",
            "name": "Venus system"
        },
        "pathObj": {
            "path": "/DynamicEss/Restrictions",
            "type": "enum",
            "name": "Active restrictions",
            "enum": {
                "0": "No restrictions between battery and the grid",
                "1": "Grid to battery energy flow is restricted",
                "2": "Battery to grid energy flow is restricted",
                "3": "No energy flow between battery and grid"
            }
        },
        "name": "dbsResT",
        "onlyChanges": true,
        "x": 1100,
        "y": 380,
        "wires": [
            [
                "bd83d007ef1c9c8b",
                "f3b0e116d44d4537"
            ]
        ]
    },
    {
        "id": "66e04f1e50a71c08",
        "type": "link out",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "name": "link out 87",
        "mode": "link",
        "links": [
            "faf437076014bcf1"
        ],
        "x": 1145,
        "y": 260,
        "wires": []
    },
    {
        "id": "bd83d007ef1c9c8b",
        "type": "link out",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "name": "link out 88",
        "mode": "link",
        "links": [],
        "x": 1145,
        "y": 440,
        "wires": []
    },
    {
        "id": "a18f98a9176d4222",
        "type": "link out",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "name": "link out 89",
        "mode": "link",
        "links": [],
        "x": 385,
        "y": 440,
        "wires": []
    },
    {
        "id": "914c0b07908ebe00",
        "type": "delay",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "name": "1/1s",
        "pauseType": "rate",
        "timeout": "1",
        "timeoutUnits": "seconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": true,
        "allowrate": false,
        "outputs": 1,
        "x": 1070,
        "y": 260,
        "wires": [
            [
                "66e04f1e50a71c08"
            ]
        ]
    },
    {
        "id": "0df84f06010bd721",
        "type": "delay",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "name": "1/1s",
        "pauseType": "rate",
        "timeout": "1",
        "timeoutUnits": "seconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": true,
        "allowrate": false,
        "outputs": 1,
        "x": 310,
        "y": 260,
        "wires": [
            [
                "14fd21fbf0d2c829"
            ]
        ]
    },
    {
        "id": "c281faea188554f7",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/4/Strategy",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/4/Strategy",
            "name": "/Settings/DynamicEss/Schedule/4/Strategy",
            "type": "number",
            "value": 3
        },
        "name": "dbsStr4",
        "onlyChanges": true,
        "x": 490,
        "y": 320,
        "wires": [
            [
                "1f0629cb04ad034c"
            ]
        ]
    },
    {
        "id": "d0c38afdfada96d5",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/5/Strategy",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/5/Strategy",
            "name": "/Settings/DynamicEss/Schedule/5/Strategy",
            "type": "number",
            "value": 2
        },
        "name": "dbsStr5",
        "onlyChanges": true,
        "x": 530,
        "y": 360,
        "wires": [
            [
                "1f0629cb04ad034c"
            ]
        ]
    },
    {
        "id": "7448b710907d10b9",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/6/Strategy",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/6/Strategy",
            "name": "/Settings/DynamicEss/Schedule/6/Strategy",
            "type": "number",
            "value": 2
        },
        "name": "dbsStr6",
        "onlyChanges": true,
        "x": 570,
        "y": 400,
        "wires": [
            [
                "1f0629cb04ad034c"
            ]
        ]
    },
    {
        "id": "86452777f7a66b39",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/7/Strategy",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/7/Strategy",
            "name": "/Settings/DynamicEss/Schedule/7/Strategy",
            "type": "number",
            "value": 2
        },
        "name": "dbsStr7",
        "onlyChanges": true,
        "x": 610,
        "y": 440,
        "wires": [
            [
                "1f0629cb04ad034c"
            ]
        ]
    },
    {
        "id": "4fbea3ac0c1c5f7f",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/0/Strategy",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/0/Strategy",
            "name": "/Settings/DynamicEss/Schedule/0/Strategy",
            "type": "number",
            "value": 3
        },
        "name": "dbsStr0",
        "onlyChanges": true,
        "x": 490,
        "y": 80,
        "wires": [
            [
                "1f0629cb04ad034c"
            ]
        ]
    },
    {
        "id": "95f8095d0173922f",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/1/Strategy",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/1/Strategy",
            "name": "/Settings/DynamicEss/Schedule/1/Strategy",
            "type": "number",
            "value": 3
        },
        "name": "dbsStr1",
        "onlyChanges": true,
        "x": 530,
        "y": 120,
        "wires": [
            [
                "1f0629cb04ad034c"
            ]
        ]
    },
    {
        "id": "0171c408733ccc18",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/2/Strategy",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/2/Strategy",
            "name": "/Settings/DynamicEss/Schedule/2/Strategy",
            "type": "number",
            "value": 2
        },
        "name": "dbsStr2",
        "onlyChanges": true,
        "x": 570,
        "y": 160,
        "wires": [
            [
                "1f0629cb04ad034c"
            ]
        ]
    },
    {
        "id": "2b7cb5720c2e50c7",
        "type": "victron-input-custom",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.settings",
        "path": "/Settings/DynamicEss/Schedule/3/Strategy",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/DynamicEss/Schedule/3/Strategy",
            "name": "/Settings/DynamicEss/Schedule/3/Strategy",
            "type": "number",
            "value": 2
        },
        "name": "dbsStr3",
        "onlyChanges": true,
        "x": 610,
        "y": 200,
        "wires": [
            [
                "1f0629cb04ad034c"
            ]
        ]
    },
    {
        "id": "1f0629cb04ad034c",
        "type": "StatusUltimate",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "name": "Status",
        "property": "payload",
        "x": 530,
        "y": 260,
        "wires": [
            [
                "180470dd6c141d02",
                "1e0b623a0a57c03b"
            ]
        ]
    },
    {
        "id": "180470dd6c141d02",
        "type": "debug",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "name": "dbsStrX",
        "active": true,
        "tosidebar": false,
        "console": false,
        "tostatus": true,
        "complete": "true",
        "targetType": "full",
        "statusVal": "payload",
        "statusType": "auto",
        "x": 720,
        "y": 300,
        "wires": []
    },
    {
        "id": "8c507e5dcf0f8442",
        "type": "victron-input-dess",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "service": "com.victronenergy.system/0",
        "path": "/DynamicEss/Strategy",
        "serviceObj": {
            "service": "com.victronenergy.system/0",
            "name": "Venus system"
        },
        "pathObj": {
            "path": "/DynamicEss/Strategy",
            "type": "enum",
            "name": "Used strategy for current time slot",
            "enum": {
                "0": "Target SOC",
                "1": "Self-consumption",
                "2": "Pro battery",
                "3": "Pro grid"
            }
        },
        "name": "dbsStrT",
        "onlyChanges": true,
        "x": 730,
        "y": 380,
        "wires": [
            [
                "f973fedfb0b9424b",
                "29e7ba0628a2679b"
            ]
        ]
    },
    {
        "id": "3c77f2e266cea298",
        "type": "link out",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "name": "link out 90",
        "mode": "link",
        "links": [
            "faf437076014bcf1"
        ],
        "x": 765,
        "y": 260,
        "wires": []
    },
    {
        "id": "f973fedfb0b9424b",
        "type": "link out",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "name": "link out 91",
        "mode": "link",
        "links": [],
        "x": 765,
        "y": 440,
        "wires": []
    },
    {
        "id": "1e0b623a0a57c03b",
        "type": "delay",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "name": "1/1s",
        "pauseType": "rate",
        "timeout": "1",
        "timeoutUnits": "seconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": true,
        "allowrate": false,
        "outputs": 1,
        "x": 690,
        "y": 260,
        "wires": [
            [
                "3c77f2e266cea298"
            ]
        ]
    },
    {
        "id": "f3b0e116d44d4537",
        "type": "StatusUltimate",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "name": "Status",
        "property": "payload",
        "x": 1110,
        "y": 340,
        "wires": [
            [
                "0276db699efc2adc"
            ]
        ]
    },
    {
        "id": "29e7ba0628a2679b",
        "type": "StatusUltimate",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "name": "Status",
        "property": "payload",
        "x": 730,
        "y": 340,
        "wires": [
            [
                "180470dd6c141d02"
            ]
        ]
    },
    {
        "id": "c9f6aa7a2189491b",
        "type": "StatusUltimate",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "name": "Status",
        "property": "payload",
        "x": 350,
        "y": 340,
        "wires": [
            [
                "08820ba2f558e0c8"
            ]
        ]
    },
    {
        "id": "faf437076014bcf1",
        "type": "link in",
        "z": "aca9a41baba8e498",
        "g": "8d7863d7053e2d08",
        "name": "link in 102",
        "links": [
            "14fd21fbf0d2c829",
            "66e04f1e50a71c08",
            "efd3cdb77955abe8",
            "3c77f2e266cea298"
        ],
        "x": 1145,
        "y": 500,
        "wires": [
            []
        ]
    },
    {
        "id": "056eb8e52151cc52",
        "type": "global-config",
        "env": [],
        "modules": {
            "@victronenergy/node-red-contrib-victron": "1.6.55",
            "node-red-contrib-boolean-logic-ultimate": "1.2.2"
        }
    }
]

Strange behaviour today on 2 sites. Selling energy 2 hours later is more profitable than using the energy for own consumption but dess does use it for own consumption. It is not the first time I see this behavior. It happened from 14:00 till 15:00.

v3.70~61

Strange behaviour again, energy price is low so grid usage is preferred but dess decided to use battery instead.

Don’t see this in mine system.
By the way we now have a decimal point in Target SOC and the issues in charging and discharging behavior seem to be solved.

Zonneplan + zonnebonus? If so, how are you setting the dusk and dawn times? From what I can monitor last two weeks:

  • Starttime correlates with: Sunrise from buienradar.nl (Amsterdam) minus 30 minutes, then rounded up to nearest 15 minute block.
  • Endtime correlates with: Sundown from buienradar.nl (AMsterdam) plus 30 minutes, then rounded down to nearest 15 minute block.

I asked zonneplan but could not (yet) get through to someone that knew what I was talking about :wink:

image


Yes, zonneplan + zonnebonus. I thought (read before) that it was applied between 8:00 en 19:00 but I now see it is from sunrise to sundown indeed and their AI Bot confirmed this. So I think I have to adapt the formula with node-red, thanks for pointing that out!

Not the formula (see screenhot for verified and tested), just the start and stop times. I tested by observation (and a bit of math) in the Zonneplan app that the Zonnebonus timeframe shifts every so many days in 15 minute blocks. even when the general price formula is hourly. DESS b2g, g2b and SoC% forecasts are getting scrambled without effect on actual execution (v3.70~60), but I suspect another cause altogether, I’m putting off updating until v3.70 nears release, then I’ll look again.

PS Zonneplan had a communication issue with the P1 meters this morning from about 8:30 to 9:30 so if something doesn’t add up in the app today that’s why.

Hmmz I think I’m just going to ignore the solar bonus from zonneplan and use just 1 formula for selling.

Today I saw this again so it is something structural in DESS.

I think DESS expects solar to be enough to feed the loads during the hour but in case of high load the solar power is not enough and dess discharges the battery because grid usage is restricted.

When the tariff is low or is not profitable, DESS should not restrict grid usage.

Today I saw a really strange forecast for the current hour:

Hard to see what you mean here (and way too lazy to read-up the whole thread for context :wink: )
I just posted my updated D-BUS Scheduler Monitoring flow that shows the D-BUS values for eight timeslots ahead (2 hours). Maybe that can help you dig a little deeper: Venus OS v3.70~78 available for public testing - #38 by UpCycleElectric

The hour ‘now’ showed a minor charge and discharge in the same hour, but no electricity usage. It was probably a glitch in the forecast for the current hour.

VenusOS runs the schedule execution process ( github.com/victronenergy/dbus-systemcalc-py) in 15 minute timeslots, no matter the hourly/quarterly pricing schedule. So yes it can plan to buy and sell within the same hour. And it seems there have been a VRM scheduler update lately that pushes updated/corrected schedules every 15 minutes now, not every hour as it was before. (Would be nice if Victron would be so kind to announce such changes instead of us finding out after fact requiring us to reverse engineer what happened)

1 Like