feat: added opentherm option for filtering numeric values

This commit is contained in:
Yurii
2024-10-10 21:08:13 +03:00
parent 282a02ecdb
commit 3c69f1295e
6 changed files with 78 additions and 10 deletions

View File

@@ -271,7 +271,8 @@
"dhwBlocking": "DHW blocking",
"modulationSyncWithHeating": "Sync modulation with heating",
"getMinMaxTemp": "Get min/max temp from boiler",
"immergasFix": "Fix for Immergas boilers"
"immergasFix": "Fix for Immergas boilers",
"filteringNumValues": "Use filtering for numeric values"
},
"faultState": {

View File

@@ -271,7 +271,8 @@
"dhwBlocking": "DHW blocking",
"modulationSyncWithHeating": "Синхронизировать модуляцию с отоплением",
"getMinMaxTemp": "Получать мин. и макс. температуру от котла",
"immergasFix": "Фикс для котлов Immergas"
"immergasFix": "Фикс для котлов Immergas",
"filteringNumValues": "Использовать фильтрацию для числовых значений"
},
"faultState": {

View File

@@ -443,11 +443,16 @@
<span data-i18n>settings.ot.options.getMinMaxTemp</span>
</label>
<label for="opentherm-immergas-fix"></label>
<label for="opentherm-immergas-fix">
<input type="checkbox" id="opentherm-immergas-fix" name="opentherm[immergasFix]" value="true">
<span data-i18n>settings.ot.options.immergasFix</span>
</label>
<label for="opentherm-filtering-num-values">
<input type="checkbox" id="opentherm-filtering-num-values" name="opentherm[filteringNumValues]" value="true">
<span data-i18n>settings.ot.options.filteringNumValues</span>
</label>
<hr />
<fieldset>
<label for="opentherm-fault-state-gpio">
@@ -742,6 +747,7 @@
setCheckboxValue('#opentherm-get-min-max-temp', data.opentherm.getMinMaxTemp);
setCheckboxValue('#opentherm-native-heating-control', data.opentherm.nativeHeatingControl);
setCheckboxValue('#opentherm-immergas-fix', data.opentherm.immergasFix);
setCheckboxValue('#opentherm-filtering-num-values', data.opentherm.filteringNumValues);
setBusy('#opentherm-settings-busy', '#opentherm-settings', false);
// MQTT