feat: added polling of min modulation and max boiler power; added sensor for current boiler power

This commit is contained in:
Yurii
2024-10-14 19:54:26 +03:00
parent 05ff426b28
commit dc62f99b7d
8 changed files with 115 additions and 2 deletions

View File

@@ -9,6 +9,7 @@
"releases": "Releases"
},
"dbm": "dBm",
"kw": "kW",
"button": {
"upgrade": "Upgrade",
@@ -99,6 +100,8 @@
"modulation": "Modulation",
"pressure": "Pressure",
"dhwFlowRate": "DHW flow rate",
"maxPower": "Max power",
"currentPower": "Current power",
"faultCode": "Fault code",
"diagCode": "Diagnostic code",
"indoorTemp": "Indoor temp",

View File

@@ -9,6 +9,7 @@
"releases": "Релизы"
},
"dbm": "дБм",
"kw": "кВт",
"button": {
"upgrade": "Обновить",
@@ -99,6 +100,8 @@
"modulation": "Уровень модуляции",
"pressure": "Давление",
"dhwFlowRate": "Расход ГВС",
"maxPower": "Макс. мощность",
"currentPower": "Текущая мощность",
"faultCode": "Код ошибки",
"diagCode": "Диагностический код",
"indoorTemp": "Внутренняя темп.",

View File

@@ -158,6 +158,14 @@
<th scope="row" data-i18n>dashboard.state.dhwFlowRate</th>
<td><b id="ot-dhw-flow-rate"></b> <span class="volume-unit"></span>/min</td>
</tr>
<tr>
<th scope="row" data-i18n>dashboard.state.maxPower</th>
<td><b id="ot-max-power"></b> <span data-i18n>kw</span></td>
</tr>
<tr>
<th scope="row" data-i18n>dashboard.state.currentPower</th>
<td><b id="ot-current-power"></b> <span data-i18n>kw</span></td>
</tr>
<tr>
<th scope="row" data-i18n>dashboard.state.faultCode</th>
<td><b id="ot-fault-code"></b></td>
@@ -434,6 +442,8 @@
setValue('#ot-modulation', result.sensors.modulation);
setValue('#ot-pressure', result.sensors.pressure);
setValue('#ot-dhw-flow-rate', result.sensors.dhwFlowRate);
setValue('#ot-max-power', result.sensors.maxPower);
setValue('#ot-current-power', result.sensors.currentPower);
setValue(
'#ot-fault-code',
result.sensors.faultCode