@V_ger Hier de nodes gekoppeld met handmatige inject en de cron node, de cron tijden heb ik op 2025 laten staan zodat er in ieder geval niets vanzelf uitgevoerd wordt als je de code importeert.
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
| [
{
"id": "b010db0acb5aa278",
"type": "cronplus",
"z": "10d901f9c3a26388",
"name": "Charge limit Planner",
"outputField": "payload",
"timeZone": "",
"storeName": "",
"commandResponseMsgOutput": "output1",
"defaultLocation": "",
"defaultLocationType": "default",
"outputs": 1,
"options": [
{
"name": "schedule1",
"topic": "topic1",
"payloadType": "num",
"payload": "2",
"expressionType": "cron",
"expression": "0 45 23 2 10 * 2025",
"location": "",
"offset": "0",
"solarType": "all",
"solarEvents": "sunrise,sunset"
},
{
"name": "schedule2",
"topic": "topic2",
"payloadType": "num",
"payload": "4",
"expressionType": "cron",
"expression": "0 59 23 20 9 * 2025",
"location": "",
"offset": "0",
"solarType": "all",
"solarEvents": "sunrise,sunset"
},
{
"name": "schedule3",
"topic": "topic3",
"payloadType": "num",
"payload": "2",
"expressionType": "cron",
"expression": "0 00 00 21 9 * 2025",
"location": "",
"offset": "0",
"solarType": "all",
"solarEvents": "sunrise,sunset"
}
],
"x": 1280,
"y": 540,
"wires": [
[
"b1255cb9029c80dd"
]
]
},
{
"id": "6a48873b4cb97a6b",
"type": "inject",
"z": "10d901f9c3a26388",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "38.4",
"payloadType": "num",
"x": 1330,
"y": 600,
"wires": [
[
"b1255cb9029c80dd"
]
]
},
{
"id": "b1255cb9029c80dd",
"type": "victron-output-dess",
"z": "10d901f9c3a26388",
"service": "com.victronenergy.settings",
"path": "/Settings/DynamicEss/BatteryChargeLimit",
"serviceObj": {
"service": "com.victronenergy.settings",
"name": "Venus settings"
},
"pathObj": {
"path": "/Settings/DynamicEss/BatteryChargeLimit",
"type": "float",
"name": "Battery charge limit (kW)",
"mode": "both"
},
"name": "Set Dynamic ESS Battery Charge limit",
"onlyChanges": false,
"x": 1590,
"y": 600,
"wires": []
},
{
"id": "afd811906fae85fe",
"type": "global-config",
"env": [],
"modules": {
"node-red-contrib-cron-plus": "2.2.1",
"@victronenergy/node-red-contrib-victron": "1.6.55"
}
}
] |
214kWh LFP | 48kVA Victron Multiplus | 24.3kWp O/W | SMA Tripower x 15 | SmartSolar 450/200 | Daikin Multi+ 5MXWM68A9 met 2x Perfera FTXM42A | Fujitsu Atlantic Calypso Split V3 200L | Gasloos | 500m2 bj 1900
/f/image/TdFiomwYFiglp2oUo3ckRRkh.png?f=fotoalbum_large)
/f/image/NG8ltwn19gPleksLo7EB43iA.png?f=fotoalbum_large)