-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathNodeRED-Passthrough_switch_flow.json
More file actions
110 lines (110 loc) · 2.28 KB
/
NodeRED-Passthrough_switch_flow.json
File metadata and controls
110 lines (110 loc) · 2.28 KB
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
[
{
"id": "bb36989e2aba46d8",
"type": "tab",
"label": "Passthrough switch flow",
"disabled": false,
"info": "Flow that disables the Multiplus charger, even in \"Charger only\", to provide a passthrough switch. ",
"env": []
},
{
"id": "1775b6d192a03c39",
"type": "victron-output-settings",
"z": "bb36989e2aba46d8",
"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 system max charge current (A DC)",
"writable": true
},
"name": "",
"onlyChanges": false,
"x": 730,
"y": 60,
"wires": []
},
{
"id": "3e89c7f5841613fb",
"type": "victron-input-digitalinput",
"z": "bb36989e2aba46d8",
"service": "com.victronenergy.digitalinput/3",
"path": "/State",
"serviceObj": {
"service": "com.victronenergy.digitalinput/3",
"name": "Passthrough_switch"
},
"pathObj": {
"path": "/State",
"type": "enum",
"name": "Digital input state",
"enum": {
"0": "low",
"1": "high",
"2": "off",
"3": "on",
"4": "no",
"5": "yes",
"6": "open",
"7": "closed",
"8": "ok",
"9": "alarm",
"10": "running",
"11": "stopped"
}
},
"initial": "",
"name": "Passthrough switch",
"onlyChanges": true,
"x": 130,
"y": 60,
"wires": [
[
"d2a9fc7a8db2949f"
]
]
},
{
"id": "d2a9fc7a8db2949f",
"type": "change",
"z": "bb36989e2aba46d8",
"name": "Translate",
"rules": [
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "7",
"fromt": "num",
"to": "0",
"tot": "num"
},
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "6",
"fromt": "num",
"to": "-1",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 340,
"y": 60,
"wires": [
[
"1775b6d192a03c39"
]
]
}
]