Skip to content

Commit

Permalink
Settings: switch statues LEDs
Browse files Browse the repository at this point in the history
Read and write to the settings the status LEDs on a Cerbo GX
  • Loading branch information
dirkjanfaber committed Feb 16, 2024
1 parent c867685 commit a85fd80
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/nodes/config-client.html
Original file line number Diff line number Diff line change
Expand Up @@ -3187,6 +3187,13 @@ <h3>Settings</h3>
</dd>
<dt class="optional">ESS BatteryLife SoC limit (read only) (%)<span class="property-type">float</dt>
<dd>Dbus path: <b>/Settings/CGwacs/BatteryLife/SocLimit</b>
</dd>
<dt class="optional">Enable status LEDs<span class="property-type">enum</dt>
<dd>Dbus path: <b>/Settings/LEDs/Enable</b>
<ul>
<li>0 - Disabled</li>
<li>1 - Enabled</li>
</ul>
</dd>
<dt class="optional">AC input 1 source (for VE.Bus inverter/chargers)<span class="property-type">enum</dt>
<dd>Dbus path: <b>/Settings/SystemSetup/AcInput1</b>
Expand Down Expand Up @@ -5133,6 +5140,13 @@ <h3>Settings</h3>
<li>0 - Feed excess AC-tied PV into grid</li>
<li>1 - Don’t feed excess AC-tied PV into the grid</li>
</ul>
</dd>
<dt class="optional">Enable status LEDs<span class="property-type">enum</dt>
<dd>Dbus path: <b>/Settings/LEDs/Enable</b>
<ul>
<li>0 - Disabled</li>
<li>1 - Enabled</li>
</ul>
</dd>
<dt class="optional">AC input 1 source (for VE.Bus inverter/chargers)<span class="property-type">enum</dt>
<dd>Dbus path: <b>/Settings/SystemSetup/AcInput1</b>
Expand Down
19 changes: 19 additions & 0 deletions src/services/services.json
Original file line number Diff line number Diff line change
Expand Up @@ -3970,6 +3970,15 @@
"type": "float",
"name": "ESS BatteryLife SoC limit (read only) (%)"
},
{
"path": "/Settings/LEDs/Enable",
"type": "enum",
"name": "Enable status LEDs",
"enum": {
"0": "Disabled",
"1": "Enabled"
}
},
{
"path": "/Settings/SystemSetup/AcInput1",
"type": "enum",
Expand Down Expand Up @@ -6591,6 +6600,16 @@
},
"writable": true
},
{
"path": "/Settings/LEDs/Enable",
"type": "enum",
"name": "Enable status LEDs",
"enum": {
"0": "Disabled",
"1": "Enabled"
},
"writable": true
},
{
"path": "/Settings/SystemSetup/AcInput1",
"type": "enum",
Expand Down

0 comments on commit a85fd80

Please sign in to comment.