How to configure grid power according to time ranges

In Spain (where I am living) the grid has two powers depending on the time of the day and the week/weekend.)

For example currently on a weekday from 00:00 to 07:59 it is P2 and from 08:00 to 23:59 it is P1. And holidays (with fixed date) and weekend is P2 all day.

P1 is much more expensive than P2 and so far it was 3.3 on both. But as the energy is cheaper for me just when the P2 period is on and I am not using P1, I am going to lower the power to 1KW and keep the 3.3kW on P2.

I have not seen any option in DESS or Cerbo GX to configure this case.

Can anyone help me? Thanks in advance.

You could take a look at scheduled charging
And/or normal ESS

I’m not looking to programme the load. I am looking for my system to know where it has to do the Peak Shaving so that my meter does not cut off the supply.

Hola Francisco,
Tengo el mismo problema que tu, ¿conseguiste solucionarlo?

Set your input current limit to where it needs to be.
Set in ess peak shaving to always on.
The only way to shift these two on a schedule is with node red.
Or just set it to the lower one for both.

Indeed, as @lxonline says. You have to do it with NodeRed.

Hello,
I am not an expert in node red, would you be so kind to share the code with me?

I think you could activate the node red on the cerbo GX, is it so?

What version of software do you need to have?

Thanks

I pass you the export JSON, I remind you that you must have the large version of VenusOS and activated NodeRed so that you can access.

[
    {
        "id": "96fa8c454c4c0502",
        "type": "tab",
        "label": "Cargar Bateria al 100%",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "85e6cd858e70d3a0",
        "type": "bigtimer",
        "z": "96fa8c454c4c0502",
        "outtopic": "",
        "outpayload1": "",
        "outpayload2": "",
        "name": "Big Timer",
        "comment": "",
        "lat": 0,
        "lon": 0,
        "starttime": "0",
        "endtime": "480",
        "starttime2": 0,
        "endtime2": 0,
        "startoff": 0,
        "endoff": 0,
        "startoff2": 0,
        "endoff2": 0,
        "offs": 0,
        "outtext1": "",
        "outtext2": "",
        "timeout": 1440,
        "sun": false,
        "mon": true,
        "tue": true,
        "wed": true,
        "thu": true,
        "fri": true,
        "sat": false,
        "jan": true,
        "feb": true,
        "mar": true,
        "apr": true,
        "may": true,
        "jun": true,
        "jul": true,
        "aug": true,
        "sep": true,
        "oct": true,
        "nov": true,
        "dec": true,
        "day1": 0,
        "month1": 0,
        "day2": 0,
        "month2": 0,
        "day3": 0,
        "month3": 0,
        "day4": 0,
        "month4": 0,
        "day5": 0,
        "month5": 0,
        "day6": 0,
        "month6": 0,
        "day7": 0,
        "month7": 0,
        "day8": 0,
        "month8": 0,
        "day9": 0,
        "month9": 0,
        "day10": 0,
        "month10": 0,
        "day11": 0,
        "month11": 0,
        "day12": 0,
        "month12": 0,
        "d1": 0,
        "w1": 0,
        "d2": 0,
        "w2": 0,
        "d3": 0,
        "w3": 0,
        "d4": 0,
        "w4": 0,
        "d5": 0,
        "w5": 0,
        "d6": 0,
        "w6": 0,
        "xday1": 0,
        "xmonth1": 0,
        "xday2": 0,
        "xmonth2": 0,
        "xday3": 0,
        "xmonth3": 0,
        "xday4": 0,
        "xmonth4": 0,
        "xday5": 0,
        "xmonth5": 0,
        "xday6": 0,
        "xmonth6": 0,
        "xday7": 0,
        "xmonth7": 0,
        "xday8": 0,
        "xmonth8": 0,
        "xday9": 0,
        "xmonth9": 0,
        "xday10": 0,
        "xmonth10": 0,
        "xday11": 0,
        "xmonth11": 0,
        "xday12": 0,
        "xmonth12": 0,
        "xd1": 0,
        "xw1": 0,
        "xd2": 0,
        "xw2": 0,
        "xd3": 0,
        "xw3": 0,
        "xd4": 0,
        "xw4": 0,
        "xd5": 0,
        "xw5": 0,
        "xd6": 0,
        "xw6": 0,
        "suspend": false,
        "random": false,
        "randon1": false,
        "randoff1": false,
        "randon2": false,
        "randoff2": false,
        "repeat": true,
        "atstart": true,
        "odd": false,
        "even": false,
        "x": 340,
        "y": 140,
        "wires": [
            [],
            [
                "7fc591bd6f587f42"
            ],
            []
        ]
    },
    {
        "id": "7fc591bd6f587f42",
        "type": "switch",
        "z": "96fa8c454c4c0502",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "eq",
                "v": "0",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "1",
                "vt": "num"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 570,
        "y": 140,
        "wires": [
            [
                "90fd7a37354dac0f",
                "f3796d57332bccf7"
            ],
            [
                "eda9272986151059",
                "ecedd5149417e04c"
            ]
        ]
    },
    {
        "id": "a4612ae9ccc655d4",
        "type": "bigtimer",
        "z": "96fa8c454c4c0502",
        "outtopic": "",
        "outpayload1": "manual on",
        "outpayload2": "auto",
        "name": "Big Timer",
        "comment": "",
        "lat": 0,
        "lon": 0,
        "starttime": "0",
        "endtime": "1439",
        "starttime2": 0,
        "endtime2": 0,
        "startoff": 0,
        "endoff": 0,
        "startoff2": 0,
        "endoff2": 0,
        "offs": 0,
        "outtext1": "",
        "outtext2": "",
        "timeout": 1440,
        "sun": true,
        "mon": false,
        "tue": false,
        "wed": false,
        "thu": false,
        "fri": false,
        "sat": true,
        "jan": true,
        "feb": true,
        "mar": true,
        "apr": true,
        "may": true,
        "jun": true,
        "jul": true,
        "aug": true,
        "sep": true,
        "oct": true,
        "nov": true,
        "dec": true,
        "day1": "6",
        "month1": "1",
        "day2": "1",
        "month2": "5",
        "day3": "15",
        "month3": "8",
        "day4": "12",
        "month4": "10",
        "day5": "1",
        "month5": "11",
        "day6": "6",
        "month6": "12",
        "day7": "8",
        "month7": "12",
        "day8": "25",
        "month8": "12",
        "day9": 0,
        "month9": 0,
        "day10": 0,
        "month10": 0,
        "day11": 0,
        "month11": 0,
        "day12": 0,
        "month12": 0,
        "d1": 0,
        "w1": 0,
        "d2": 0,
        "w2": 0,
        "d3": 0,
        "w3": 0,
        "d4": 0,
        "w4": 0,
        "d5": 0,
        "w5": 0,
        "d6": 0,
        "w6": 0,
        "xday1": 0,
        "xmonth1": 0,
        "xday2": 0,
        "xmonth2": 0,
        "xday3": 0,
        "xmonth3": 0,
        "xday4": 0,
        "xmonth4": 0,
        "xday5": 0,
        "xmonth5": 0,
        "xday6": 0,
        "xmonth6": 0,
        "xday7": 0,
        "xmonth7": 0,
        "xday8": 0,
        "xmonth8": 0,
        "xday9": 0,
        "xmonth9": 0,
        "xday10": 0,
        "xmonth10": 0,
        "xday11": 0,
        "xmonth11": 0,
        "xday12": 0,
        "xmonth12": 0,
        "xd1": 0,
        "xw1": 0,
        "xd2": 0,
        "xw2": 0,
        "xd3": 0,
        "xw3": 0,
        "xd4": 0,
        "xw4": 0,
        "xd5": 0,
        "xw5": 0,
        "xd6": 0,
        "xw6": 0,
        "suspend": false,
        "random": false,
        "randon1": false,
        "randoff1": false,
        "randon2": false,
        "randoff2": false,
        "repeat": false,
        "atstart": true,
        "odd": false,
        "even": false,
        "x": 180,
        "y": 140,
        "wires": [
            [
                "85e6cd858e70d3a0"
            ],
            [],
            []
        ]
    },
    {
        "id": "0d1360ad6fe25281",
        "type": "victron-output-settings",
        "z": "96fa8c454c4c0502",
        "service": "com.victronenergy.settings",
        "path": "/Settings/CGwacs/BatteryLife/State",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "Venus settings"
        },
        "pathObj": {
            "path": "/Settings/CGwacs/BatteryLife/State",
            "type": "enum",
            "name": "ESS BatteryLife state",
            "enum": {
                "0": "Unused, BL disabled",
                "1": "Restarting",
                "2": "Self-consumption",
                "3": "Self-consumption",
                "4": "Self-consumption",
                "5": "Discharge disabled",
                "6": "Force charge",
                "7": "Sustain",
                "8": "Low Soc Recharge",
                "9": "Keep batteries charged",
                "10": "BL Disabled",
                "11": "BL Disabled (Low SoC)",
                "12": "BL Disabled (Low SOC recharge)"
            },
            "writable": true
        },
        "initial": "",
        "name": "",
        "onlyChanges": false,
        "x": 1230,
        "y": 140,
        "wires": []
    },
    {
        "id": "90fd7a37354dac0f",
        "type": "change",
        "z": "96fa8c454c4c0502",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "10",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 900,
        "y": 120,
        "wires": [
            [
                "0d1360ad6fe25281"
            ]
        ]
    },
    {
        "id": "eda9272986151059",
        "type": "change",
        "z": "96fa8c454c4c0502",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "9",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 900,
        "y": 160,
        "wires": [
            [
                "0d1360ad6fe25281"
            ]
        ]
    },
    {
        "id": "ccf77cb942a8df71",
        "type": "victron-output-custom",
        "z": "96fa8c454c4c0502",
        "service": "com.victronenergy.settings",
        "path": "/Settings/CGwacs/AcInputLimit",
        "serviceObj": {
            "service": "com.victronenergy.settings",
            "name": "com.victronenergy.settings"
        },
        "pathObj": {
            "path": "/Settings/CGwacs/AcInputLimit",
            "name": "/Settings/CGwacs/AcInputLimit",
            "type": "number",
            "value": 5
        },
        "name": "",
        "onlyChanges": false,
        "x": 1300,
        "y": 280,
        "wires": []
    },
    {
        "id": "f3796d57332bccf7",
        "type": "change",
        "z": "96fa8c454c4c0502",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "5",
                "tot": "num"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 900,
        "y": 260,
        "wires": [
            [
                "ccf77cb942a8df71"
            ]
        ]
    },
    {
        "id": "ecedd5149417e04c",
        "type": "change",
        "z": "96fa8c454c4c0502",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "15",
                "tot": "num"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 900,
        "y": 300,
        "wires": [
            [
                "ccf77cb942a8df71"
            ]
        ]
    }
]

The flow charges the battery from the grid from 00:00 to 07:59 and the days established as valley by Red Electrica de España keeps it charged and exports everything to the grid.

If you have any questions, you can contact you by telegram Telegram: Contact @frbuceta . I am also a member of Fronius & Victron (Spain) Telegram: Contact @Fronius_Victron.

Gracias,

No sabia que habia un grupo de telegram en españa, he solicitado la entrada

Gracias!!!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.