Skip to content

Commit

Permalink
Extra paths for Orion XS
Browse files Browse the repository at this point in the history
Add registers for input voltage/power, mode, and charged Ah, for
OrionXS when used as alternator, and possibly for other alternators
too in future.

Update of documentation
  • Loading branch information
dirkjanfaber committed Feb 13, 2024
1 parent 24953fc commit 683e87d
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 12 deletions.
30 changes: 24 additions & 6 deletions src/nodes/config-client.html
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,12 @@ <h3>Alternator</h3>
</dd>
<dt class="optional">Auxiliary voltage (V DC)<span class="property-type">float</dt>
<dd>Dbus path: <b>/Dc/1/Voltage</b>
</dd>
<dt class="optional">Input voltage (before DC/DC converter) (V DC)<span class="property-type">float</dt>
<dd>Dbus path: <b>/Dc/In/V</b>
</dd>
<dt class="optional">Input power (W DC)<span class="property-type">float</dt>
<dd>Dbus path: <b>/Dc/In/P</b>
</dd>
<dt class="optional">Engine speed (RPM)<span class="property-type">float</dt>
<dd>Dbus path: <b>/Engine/Speed</b>
Expand Down Expand Up @@ -403,23 +409,35 @@ <h3>Alternator</h3>
</dd>
<dt class="optional">Alternator Field Drive %<span class="property-type">float</dt>
<dd>Dbus path: <b>/FieldDrive</b>
</dd>
<dt class="optional">Cumulative amp-hours charged (Ah)<span class="property-type">float</dt>
<dd>Dbus path: <b>/History/Cumulative/User/ChargedAh</b>
</dd>
<dt class="optional">Total energy produced (kWh)<span class="property-type">float</dt>
<dd>Dbus path: <b>/History/EnergyOut</b>
</dd>
<dt class="optional">Mode<span class="property-type">enum</dt>
<dd>Dbus path: <b>/Mode</b>
<ul>
<li>1 - On</li>
<li>4 - Off</li>
</ul>
</dd>
<dt class="optional">Alternator speed (RPM)<span class="property-type">float</dt>
<dd>Dbus path: <b>/Speed</b>
</dd>
<dt class="optional">Charger State<span class="property-type">enum</dt>
<dt class="optional">Alternator state<span class="property-type">enum</dt>
<dd>Dbus path: <b>/State</b>
<ul>
<li>0 - Off</li>
<li>1 - Bulk</li>
<li>2 - Absorption</li>
<li>2 - Fault</li>
<li>3 - Bulk</li>
<li>4 - Absorption</li>
<li>5 - Float</li>
<li>7 - Ext. Control</li>
<li>8 - Disabled</li>
<li>9 - Fault</li>
<li>6 - Storage</li>
<li>7 - Equalize</li>
<li>11 - Psu</li>
<li>252 - External control</li>
</ul>
</dd>
</dl>
Expand Down
38 changes: 32 additions & 6 deletions src/services/services.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,16 @@
"type": "float",
"name": "Auxiliary voltage (V DC)"
},
{
"path": "/Dc/In/V",
"type": "float",
"name": "Input voltage (before DC/DC converter) (V DC)"
},
{
"path": "/Dc/In/P",
"type": "float",
"name": "Input power (W DC)"
},
{
"path": "/Engine/Speed",
"type": "float",
Expand Down Expand Up @@ -335,11 +345,25 @@
"type": "float",
"name": "Alternator Field Drive %"
},
{
"path": "/History/Cumulative/User/ChargedAh",
"type": "float",
"name": "Cumulative amp-hours charged (Ah)"
},
{
"path": "/History/EnergyOut",
"type": "float",
"name": "Total energy produced (kWh)"
},
{
"path": "/Mode",
"type": "enum",
"name": "Mode",
"enum": {
"1": "On",
"4": "Off"
}
},
{
"path": "/Speed",
"type": "float",
Expand All @@ -348,15 +372,17 @@
{
"path": "/State",
"type": "enum",
"name": "Charger State",
"name": "Alternator state",
"enum": {
"0": "Off",
"1": "Bulk",
"2": "Absorption",
"2": "Fault",
"3": "Bulk",
"4": "Absorption",
"5": "Float",
"7": "Ext. Control",
"8": "Disabled",
"9": "Fault"
"6": "Storage",
"7": "Equalize",
"11": "Psu",
"252": "External control"
}
}
]
Expand Down

0 comments on commit 683e87d

Please sign in to comment.