Skip to content

Commit

Permalink
Add output-acsystem, generator state update
Browse files Browse the repository at this point in the history
- Add Control AC system node
- Add missing states to generator state
- Update documentation
  • Loading branch information
dirkjanfaber committed Sep 18, 2024
1 parent ae9b32a commit 2b9b0b8
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 0 deletions.
Binary file modified documentation/images/node-palette.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/nodes/config-client.html
Original file line number Diff line number Diff line change
Expand Up @@ -2084,6 +2084,9 @@ <h3>Generator</h3>
<ul>
<li>0 - Stopped</li>
<li>1 - Running</li>
<li>2 - Warm-up</li>
<li>3 - Cool-down</li>
<li>4 - Stopping</li>
<li>10 - Error</li>
</ul>
</dd>
Expand Down
1 change: 1 addition & 0 deletions src/nodes/victron-nodes.html
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@
registerInputNode('victron-input-vebus', 'VE.Bus System', 'input-vebus');

registerOutputNode('victron-output-accharger', 'AC Charger', 'output-accharger');
registerOutputNode('victron-output-acsystem', 'AC System', 'output-acsystem');
registerOutputNode('victron-output-battery', 'Battery Monitor', 'output-battery');
registerOutputNode('victron-output-charger', 'Charger', 'output-charger');
registerOutputNode('victron-output-dcdc', 'DC-DC', 'output-dcdc');
Expand Down
1 change: 1 addition & 0 deletions src/nodes/victron-nodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ module.exports = function (RED) {

// Output nodes
RED.nodes.registerType('victron-output-accharger', BaseOutputNode)
RED.nodes.registerType('victron-output-acsystem', BaseOutputNode)
RED.nodes.registerType('victron-output-battery', BaseOutputNode)
RED.nodes.registerType('victron-output-charger', BaseOutputNode)
RED.nodes.registerType('victron-output-custom', BaseOutputNode)
Expand Down
3 changes: 3 additions & 0 deletions src/services/services.json
Original file line number Diff line number Diff line change
Expand Up @@ -2504,6 +2504,9 @@
"enum": {
"0": "Stopped",
"1": "Running",
"2": "Warm-up",
"3": "Cool-down",
"4": "Stopping",
"10": "Error"
}
},
Expand Down
1 change: 1 addition & 0 deletions src/services/victron-system.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ class SystemConfiguration {

// output services
'output-accharger': this.getNodeServices('output-accharger'),
'output-acsystem': this.getNodeServices('output-acsystem'),
'output-battery': this.getNodeServices('output-battery'),
'output-charger': this.getNodeServices('output-charger'),
'output-dcdc': this.getNodeServices('output-dcdc'),
Expand Down

0 comments on commit 2b9b0b8

Please sign in to comment.