Skip to content

Commit

Permalink
Add peak shaving to the setting nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkjanfaber committed Sep 13, 2024
1 parent 89fc649 commit e4f4fc4
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 4 deletions.
27 changes: 25 additions & 2 deletions src/nodes/config-client.html
Original file line number Diff line number Diff line change
Expand Up @@ -3489,6 +3489,19 @@ <h3>Details</h3>
<p>With this node several settings can be read. Currently the focus is mainly on the Carlo Gavazzi Wired AC Sensors (cgwacs).</p>
<h3>Settings</h3>
<dl class="message-properties">
<dt class="optional">AC export current limit (A)<span class="property-type">float</dt>
<dd>Dbus path: <b>/Settings/CGwacs/AcExportLimit</b>
</dd>
<dt class="optional">AC import current limit (A)<span class="property-type">float</dt>
<dd>Dbus path: <b>/Settings/CGwacs/AcImportLimit</b>
</dd>
<dt class="optional">Mode for peakshaving<span class="property-type">enum</dt>
<dd>Dbus path: <b>/Settings/CGwacs/AlwaysPeakShave</b>
<ul>
<li>0 - Above minimum SOC only</li>
<li>1 - Always</li>
</ul>
</dd>
<dt class="optional">ESS max charge current (fractional) (%)<span class="property-type">float</dt>
<dd>Dbus path: <b>/Settings/CGwacs/MaxChargePercentage</b>
</dd>
Expand Down Expand Up @@ -5403,8 +5416,18 @@ <h3>Details</h3>
<p>With this node several settings can be adjusted. Currently the focus is mainly on the Carlo Gavazzi Wired AC Sensors (cgwacs).</p>
<h3>Settings</h3>
<dl class="message-properties">
<dt class="optional">ESS control loop setpoint (W)<span class="property-type">float</dt>
<dd>Dbus path: <b>/Settings/CGwacs/AcPowerSetPoint</b>
<dt class="optional">AC export current limit (A)<span class="property-type">float</dt>
<dd>Dbus path: <b>/Settings/CGwacs/AcExportLimit</b>
</dd>
<dt class="optional">AC import current limit (A)<span class="property-type">float</dt>
<dd>Dbus path: <b>/Settings/CGwacs/AcImportLimit</b>
</dd>
<dt class="optional">Mode for peakshaving<span class="property-type">enum</dt>
<dd>Dbus path: <b>/Settings/CGwacs/AlwaysPeakShave</b>
<ul>
<li>0 - Above minimum SOC only</li>
<li>1 - Always</li>
</ul>
</dd>
<dt class="optional">ESS Minimum SoC (unless grid fails) (%)<span class="property-type">float</dt>
<dd>Dbus path: <b>/Settings/CGwacs/BatteryLife/MinimumSocLimit</b>
Expand Down
39 changes: 37 additions & 2 deletions src/services/services.json
Original file line number Diff line number Diff line change
Expand Up @@ -4380,6 +4380,25 @@
"input-settings": {
"help": "<p>With this node several settings can be read. Currently the focus is mainly on the Carlo Gavazzi Wired AC Sensors (cgwacs).</p>",
"settings": [
{
"path": "/Settings/CGwacs/AcExportLimit",
"type": "float",
"name": "AC export current limit (A)"
},
{
"path": "/Settings/CGwacs/AcImportLimit",
"type": "float",
"name": "AC import current limit (A)"
},
{
"path": "/Settings/CGwacs/AlwaysPeakShave",
"type": "enum",
"name": "Mode for peakshaving",
"enum": {
"0": "Above minimum SOC only",
"1": "Always"
}
},
{
"path": "/Settings/CGwacs/MaxChargePercentage",
"type": "float",
Expand Down Expand Up @@ -6938,9 +6957,25 @@
"help": "<p>With this node several settings can be adjusted. Currently the focus is mainly on the Carlo Gavazzi Wired AC Sensors (cgwacs).</p>",
"settings": [
{
"path": "/Settings/CGwacs/AcPowerSetPoint",
"path": "/Settings/CGwacs/AcExportLimit",
"type": "float",
"name": "AC export current limit (A)",
"writable": true
},
{
"path": "/Settings/CGwacs/AcImportLimit",
"type": "float",
"name": "ESS control loop setpoint (W)",
"name": "AC import current limit (A)",
"writable": true
},
{
"path": "/Settings/CGwacs/AlwaysPeakShave",
"type": "enum",
"name": "Mode for peakshaving",
"enum": {
"0": "Above minimum SOC only",
"1": "Always"
},
"writable": true
},
{
Expand Down

0 comments on commit e4f4fc4

Please sign in to comment.