Skip to content

Commit

Permalink
Fix in output-dcdc
Browse files Browse the repository at this point in the history
- Register the control node output-dcdc correctly
- Rename the Smart BuckBoost to Orion XS
- Update the node palette
- Update documentation
  • Loading branch information
dirkjanfaber committed Dec 13, 2023
1 parent 0af5e85 commit 7ea9a80
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 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.
4 changes: 2 additions & 2 deletions src/nodes/config-client.html
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ <h3>Details</h3>
<p>The <strong>input nodes</strong> have two selectable inputs: the devices select and measurement select. The available options are dynamically updated based on the data that is actually available on the Venus device.</p> <ul> <li><em>Device select</em> - lists all available devices</li> <li><em>Measurement select</em> - lists all available device-specific measurements</li> <li><em>Node label input field</em> - sets a custom label for the node</li> </ul> <p>The measurement unit type is shown in the measurement label in brackets, e.g. Battery voltage (V). In case the data type is enumerated, an approppriate enum legend is shown below the selected option.</p>
<p>If the data type is <em>float</em>, a dropdown for rounding the output appears.</p>
<p>By default the node outputs its value every five seconds. If the <em>only changes</em> is checked, the node will only output on value changes.</p>
<p>This node allows for monitoring the state of a Smart BuckBoost DC-DC charger.</p>
<p>This node allows for monitoring the state of an Orion XS.</p>
<h3>Dcdc</h3>
<dl class="message-properties">
<dt class="optional">/Dc/0/Current (A DC)<span class="property-type">float</dt>
Expand Down Expand Up @@ -4348,7 +4348,7 @@ <h3>Charger</h3>
<script type="text/x-red" data-help-name="victron-output-dcdc">
<h3>Details</h3>
<p><strong>Output nodes</strong> have the same options available as input nodes, but the selectable measurement only lists writable services. Additionally, the user can set an initial value to the service, which is sent whenever the flow is deployed.</p> <ul> <li><em>Device select</em> - lists all available devices</li> <li><em>Measurement select</em> - lists all available device-specific measurements</li> <li><em>Initial value input field</em> - lists all available device-specific measurements</li> <li><em>Node label input field</em> - sets a custom label for the node</li> </ul> <p>All output nodes should have the control value set in its incoming messages <code>msg.payload</code> property.</p>
<p>This node allows for controlling the Smart BuckBoost DC-DC chargers.</p>
<p>This node allows for controlling an Orion XS.</p>
<h3>Dcdc</h3>
<dl class="message-properties">
<dt class="optional">/Mode<span class="property-type">enum</dt>
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 @@ -417,6 +417,7 @@
registerOutputNode('victron-output-accharger', 'AC Charger', 'output-accharger');
registerOutputNode('victron-output-battery', 'Battery Monitor', 'output-battery');
registerOutputNode('victron-output-charger', 'Charger', 'output-charger');
registerOutputNode('victron-output-dcdc', 'DC-DC', 'output-dcdc');
registerOutputNode('victron-output-ess', 'ESS', 'output-ess');
registerOutputNode('victron-output-evcharger', 'EV Charger', 'output-evcharger');
registerOutputNode('victron-output-generator', 'GX Generator', 'output-generator');
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 @@ -183,6 +183,7 @@ module.exports = function (RED) {
RED.nodes.registerType('victron-output-battery', BaseOutputNode)
RED.nodes.registerType('victron-output-charger', BaseOutputNode)
RED.nodes.registerType('victron-output-custom', BaseOutputNode)
RED.nodes.registerType('victron-output-dcdc', BaseOutputNode)
RED.nodes.registerType('victron-output-ess', BaseOutputNode)
RED.nodes.registerType('victron-output-evcharger', BaseOutputNode)
RED.nodes.registerType('victron-output-generator', BaseOutputNode)
Expand Down
4 changes: 2 additions & 2 deletions src/services/services.json
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@
]
},
"input-dcdc": {
"help": "<p>This node allows for monitoring the state of a Smart BuckBoost DC-DC charger.</p>",
"help": "<p>This node allows for monitoring the state of an Orion XS.</p>",
"dcdc": [
{
"path": "/Dc/0/Current",
Expand Down Expand Up @@ -5513,7 +5513,7 @@
]
},
"output-dcdc": {
"help": "<p>This node allows for controlling the Smart BuckBoost DC-DC chargers.</p>",
"help": "<p>This node allows for controlling an Orion XS.</p>",
"dcdc": [
{
"path": "/Mode",
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-accharger': this.getNodeServices('output-accharger'),
'output-battery': this.getNodeServices('output-battery'),
'output-charger': this.getNodeServices('output-charger'),
'output-dcdc': this.getNodeServices('output-dcdc'),
'output-ess': this.getNodeServices('output-ess'),
'output-evcharger': this.getNodeServices('output-evcharger'),
'output-generator': this.getNodeServices('output-generator'),
Expand Down

0 comments on commit 7ea9a80

Please sign in to comment.