[ { "id": "13ade5e2f1ac789a", "type": "tab", "label": "Flow 1", "disabled": false, "info": "", "env": [] }, { "id": "victron-client-id", "type": "victron-client", "showValues": true, "contextStore": true, "enablePolling": false }, { "id": "44583238a9a70fa2", "type": "mqtt-broker", "name": "Lokal", "broker": "localhost", "port": "1883", "clientid": "", "autoConnect": true, "usetls": false, "protocolVersion": "4", "keepalive": "60", "cleansession": true, "autoUnsubscribe": true, "birthTopic": "", "birthQos": "0", "birthRetain": "false", "birthPayload": "", "birthMsg": {}, "closeTopic": "", "closeQos": "0", "closeRetain": "false", "closePayload": "", "closeMsg": {}, "willTopic": "", "willQos": "0", "willRetain": "false", "willPayload": "", "willMsg": {}, "userProps": "", "sessionExpiry": "" }, { "id": "4b83bc69600e688d", "type": "config-vrm-api", "name": "VRM" }, { "id": "inject-11", "type": "inject", "z": "13ade5e2f1ac789a", "name": "Täglich ab 11 - 14 Uhr ", "props": [], "repeat": "", "crontab": "*/30 11-13 * * *", "once": false, "onceDelay": 0.1, "topic": "", "x": 190, "y": 200, "wires": [ [ "e29fc20da00df2e0" ] ] }, { "id": "inject-22", "type": "inject", "z": "13ade5e2f1ac789a", "name": "Täglich um 8 Uhr", "props": [], "repeat": "", "crontab": "00 08 * * *", "once": false, "onceDelay": 0.1, "topic": "", "x": 170, "y": 140, "wires": [ [ "set-5a" ] ] }, { "id": "set-5a", "type": "function", "z": "13ade5e2f1ac789a", "name": "Setze max. Ladestrom 10A", "func": "msg.payload = 10;\nreturn msg;", "outputs": 2, "timeout": "", "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 460, "y": 140, "wires": [ [ "d852cf3c02a6fa35" ], [ "ddb97802dda24439" ] ] }, { "id": "d852cf3c02a6fa35", "type": "victron-output-ess", "z": "13ade5e2f1ac789a", "service": "com.victronenergy.settings", "path": "/Settings/SystemSetup/MaxChargeCurrent", "serviceObj": { "service": "com.victronenergy.settings", "name": "Venus settings" }, "pathObj": { "path": "/Settings/SystemSetup/MaxChargeCurrent", "type": "float", "name": "DVCC Charge current limit (A)", "mode": "both" }, "initial": 0, "name": "DVCC Charge Current Limit", "onlyChanges": false, "x": 900, "y": 160, "wires": [] }, { "id": "772f08408d510a48", "type": "inject", "z": "13ade5e2f1ac789a", "name": "Täglich um 0 Uhr", "props": [], "repeat": "", "crontab": "00 00 * * *", "once": false, "onceDelay": 0.1, "topic": "", "x": 170, "y": 80, "wires": [ [ "720a9ea0025e8a99" ] ] }, { "id": "720a9ea0025e8a99", "type": "function", "z": "13ade5e2f1ac789a", "name": "Setze max. Ladestrom 0A", "func": "msg.payload = 0;\nreturn msg;", "outputs": 2, "timeout": "", "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 450, "y": 80, "wires": [ [ "d852cf3c02a6fa35" ], [ "ddb97802dda24439" ] ] }, { "id": "ddb97802dda24439", "type": "debug", "z": "13ade5e2f1ac789a", "name": "Debug ?A", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 840, "y": 340, "wires": [] }, { "id": "e29fc20da00df2e0", "type": "vrm-api", "z": "13ade5e2f1ac789a", "vrm": "4b83bc69600e688d", "name": "", "api_type": "installations", "idUser": "", "users": "", "idSite": "HIER DIE EIGENE SITE ID", "installations": "stats", "attribute": "vrm_pv_inverter_yield_fc", "stats_interval": "hours", "show_instance": false, "stats_start": "bod", "stats_end": "eod", "use_utc": false, "gps_start": "", "gps_end": "", "widgets": "GlobalLinkSummary", "instance": "", "vrm_id": "", "country": "", "b_max": "", "tb_max": "", "fb_max": "", "tg_max": "", "fg_max": "", "b_cycle_cost": "", "buy_price_formula": "", "sell_price_formula": "", "green_mode_on": "", "feed_in_possible": "", "feed_in_control_on": "", "b_goal_hour": "", "b_goal_SOC": "", "store_in_global_context": false, "verbose": false, "x": 290, "y": 240, "wires": [ [ "b1b53d5438364978" ] ] }, { "id": "b1b53d5438364978", "type": "function", "z": "13ade5e2f1ac789a", "name": "Extract Solar Data", "func": "msg.payload = { \n TotalSolarPowerToday: msg.payload.totals.vrm_pv_inverter_yield_fc, \n};\nreturn msg;\n\n", "outputs": 1, "timeout": "", "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 210, "y": 320, "wires": [ [ "9c291a58fa6badee" ] ] }, { "id": "9c291a58fa6badee", "type": "function", "z": "13ade5e2f1ac789a", "name": "Leistung nach Tagesproduktion setzen", "func": "let TotalSolarPowerToday = msg.payload.TotalSolarPowerToday;\n\nif (TotalSolarPowerToday > 35000) {\n msg.payload = 50\n}\nelse {\n msg.payload = 75\n}\n\nreturn msg;\n ", "outputs": 1, "timeout": 0, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 270, "y": 360, "wires": [ [ "d852cf3c02a6fa35", "ddb97802dda24439" ] ] }, { "id": "523c65a68a9674ca", "type": "inject", "z": "13ade5e2f1ac789a", "name": "Täglich ab 14 - 17 Uhr ", "props": [], "repeat": "", "crontab": "*/30 14-16 * * *", "once": false, "onceDelay": 0.1, "topic": "", "x": 190, "y": 400, "wires": [ [ "33739ee9611876a7" ] ] }, { "id": "33739ee9611876a7", "type": "vrm-api", "z": "13ade5e2f1ac789a", "vrm": "4b83bc69600e688d", "name": "", "api_type": "installations", "idUser": "", "users": "", "idSite": "HIER DIE EIGENE SITE ID", "installations": "stats", "attribute": "vrm_pv_inverter_yield_fc", "stats_interval": "hours", "show_instance": false, "stats_start": "bod", "stats_end": "eod", "use_utc": false, "gps_start": "", "gps_end": "", "widgets": "GlobalLinkSummary", "instance": "", "vrm_id": "", "country": "", "b_max": "", "tb_max": "", "fb_max": "", "tg_max": "", "fg_max": "", "b_cycle_cost": "", "buy_price_formula": "", "sell_price_formula": "", "green_mode_on": "", "feed_in_possible": "", "feed_in_control_on": "", "b_goal_hour": "", "b_goal_SOC": "", "store_in_global_context": false, "verbose": false, "x": 290, "y": 440, "wires": [ [ "58eafeb95f7f8112" ] ] }, { "id": "58eafeb95f7f8112", "type": "function", "z": "13ade5e2f1ac789a", "name": "Extract Solar Data", "func": "msg.payload = { \n TotalSolarPowerToday: msg.payload.totals.vrm_pv_inverter_yield_fc, \n};\nreturn msg;\n\n", "outputs": 1, "timeout": "", "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 210, "y": 520, "wires": [ [ "a89d601376d2138a" ] ] }, { "id": "a89d601376d2138a", "type": "function", "z": "13ade5e2f1ac789a", "name": "Leistung nach Tagesproduktion setzen", "func": "let TotalSolarPowerToday = msg.payload.TotalSolarPowerToday;\n\nif (TotalSolarPowerToday > 35000) {\n msg.payload = 75\n}\nelse {\n msg.payload = 100\n}\n\nreturn msg;\n ", "outputs": 1, "timeout": 0, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 270, "y": 560, "wires": [ [ "d852cf3c02a6fa35", "ddb97802dda24439" ] ] } ]