mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-12 03:04:27 +05:00
refactor: cosmetic changes
This commit is contained in:
@@ -175,7 +175,8 @@
|
|||||||
"enable": "Enable",
|
"enable": "Enable",
|
||||||
"note": {
|
"note": {
|
||||||
"restart": "After changing these settings, the device must be restarted for the changes to take effect.",
|
"restart": "After changing these settings, the device must be restarted for the changes to take effect.",
|
||||||
"blankNotUse": "blank - not use"
|
"blankNotUse": "blank - not use",
|
||||||
|
"bleDevice": "BLE device can be used <u>only</u> with some ESP32 boards with BLE support!"
|
||||||
},
|
},
|
||||||
|
|
||||||
"temp": {
|
"temp": {
|
||||||
@@ -212,7 +213,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"heating": {
|
"heating": {
|
||||||
"hyst": "Hysteresis",
|
"hyst": "Hysteresis <small>(in degrees)</small>",
|
||||||
"maxMod": "Max modulation level"
|
"maxMod": "Max modulation level"
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -299,14 +300,11 @@
|
|||||||
"boiler": "From boiler via OpenTherm",
|
"boiler": "From boiler via OpenTherm",
|
||||||
"manual": "Manual via MQTT/API",
|
"manual": "Manual via MQTT/API",
|
||||||
"ext": "External (DS18B20)",
|
"ext": "External (DS18B20)",
|
||||||
"ble": "BLE device <i>(ONLY for some ESP32 which support BLE)</i>"
|
"ble": "BLE device"
|
||||||
},
|
},
|
||||||
"gpio": "GPIO",
|
"gpio": "GPIO",
|
||||||
"offset": "Temp offset <small>(calibration)</small>",
|
"offset": "Temp offset <small>(calibration)</small>",
|
||||||
"bleAddress": {
|
"bleAddress": "BLE device MAC address"
|
||||||
"title": "BLE address",
|
|
||||||
"note": "ONLY for some ESP32 which support BLE"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"extPump": {
|
"extPump": {
|
||||||
|
|||||||
@@ -175,7 +175,8 @@
|
|||||||
"enable": "Вкл",
|
"enable": "Вкл",
|
||||||
"note": {
|
"note": {
|
||||||
"restart": "После изменения этих настроек устройство необходимо перезагрузить, чтобы изменения вступили в силу.",
|
"restart": "После изменения этих настроек устройство необходимо перезагрузить, чтобы изменения вступили в силу.",
|
||||||
"blankNotUse": "пусто - не использовать"
|
"blankNotUse": "пусто - не использовать",
|
||||||
|
"bleDevice": "BLE устройство можно использовать <u>только</u> с некоторыми платами ESP32, которые поддерживают BLE!"
|
||||||
},
|
},
|
||||||
|
|
||||||
"temp": {
|
"temp": {
|
||||||
@@ -212,7 +213,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"heating": {
|
"heating": {
|
||||||
"hyst": "Гистерезис",
|
"hyst": "Гистерезис <small>(в градусах)</small>",
|
||||||
"maxMod": "Макс. уровень модуляции"
|
"maxMod": "Макс. уровень модуляции"
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -251,7 +252,7 @@
|
|||||||
"p": "Коэффициент P",
|
"p": "Коэффициент P",
|
||||||
"i": "Коэффициент I",
|
"i": "Коэффициент I",
|
||||||
"d": "Коэффициент D",
|
"d": "Коэффициент D",
|
||||||
"dt": "DT <small>в секундах</small>"
|
"dt": "DT <small>(сек)</small>"
|
||||||
},
|
},
|
||||||
|
|
||||||
"ot": {
|
"ot": {
|
||||||
@@ -279,7 +280,7 @@
|
|||||||
|
|
||||||
"nativeHeating": {
|
"nativeHeating": {
|
||||||
"title": "Передать управление отоплением котлу",
|
"title": "Передать управление отоплением котлу",
|
||||||
"note": "Работает <u>ТОЛЬКО</u> если котел требует и принимает целевую температуру в помещении и сам регулирует температуру теплоносителя на основе встроенного режима кривых. Несовместимо с ПИД и ПЗА, а также с гистерезисом встроенного ПО."
|
"note": "Работает <u>ТОЛЬКО</u> если котел требует и принимает целевую температуру в помещении и сам регулирует температуру теплоносителя на основе встроенного режима кривых. Несовместимо с ПИД, ПЗА и гистерезисом."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -290,7 +291,7 @@
|
|||||||
"user": "Имя пользователя",
|
"user": "Имя пользователя",
|
||||||
"password": "Пароль",
|
"password": "Пароль",
|
||||||
"prefix": "Префикс",
|
"prefix": "Префикс",
|
||||||
"interval": "Интервал публикации (в секундах)"
|
"interval": "Интервал публикации <small>(сек)</small>"
|
||||||
},
|
},
|
||||||
|
|
||||||
"tempSensor": {
|
"tempSensor": {
|
||||||
@@ -299,14 +300,11 @@
|
|||||||
"boiler": "От котла через OpenTherm",
|
"boiler": "От котла через OpenTherm",
|
||||||
"manual": "Вручную через MQTT/API",
|
"manual": "Вручную через MQTT/API",
|
||||||
"ext": "Внешний датчик (DS18B20)",
|
"ext": "Внешний датчик (DS18B20)",
|
||||||
"ble": "BLE устройство <i>(ТОЛЬКО для некоторых плат ESP32 с поддержкой BLE)</i>"
|
"ble": "BLE устройство"
|
||||||
},
|
},
|
||||||
"gpio": "GPIO",
|
"gpio": "GPIO",
|
||||||
"offset": "Смещение температуры <small>(калибровка)</small>",
|
"offset": "Смещение температуры <small>(калибровка)</small>",
|
||||||
"bleAddress": {
|
"bleAddress": "MAC адрес BLE устройства"
|
||||||
"title": "BLE адрес",
|
|
||||||
"note": "ТОЛЬКО для некоторых плат ESP32 с поддержкой BLE"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"extPump": {
|
"extPump": {
|
||||||
|
|||||||
@@ -561,23 +561,26 @@
|
|||||||
</label>
|
</label>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
<div class="grid">
|
||||||
<label for="outdoor-sensor-gpio">
|
<label for="outdoor-sensor-gpio">
|
||||||
<span data-i18n>settings.tempSensor.gpio</span>
|
<span data-i18n>settings.tempSensor.gpio</span>
|
||||||
<input type="number" inputmode="numeric" id="outdoor-sensor-gpio" name="sensors[outdoor][gpio]" min="0" max="254" step="1">
|
<input type="number" inputmode="numeric" id="outdoor-sensor-gpio" name="sensors[outdoor][gpio]" min="0" max="254" step="1">
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<div class="grid">
|
<label for="outdoor-sensor-ble-addresss">
|
||||||
|
<span data-i18n>settings.tempSensor.bleAddress</span>
|
||||||
|
<input type="text" id="outdoor-sensor-ble-addresss" name="sensors[outdoor][bleAddress]" pattern="([A-Fa-f0-9]{2}:){5}[A-Fa-f0-9]{2}">
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
<label for="outdoor-sensor-offset">
|
<label for="outdoor-sensor-offset">
|
||||||
<span data-i18n>settings.tempSensor.offset</span>
|
<span data-i18n>settings.tempSensor.offset</span>
|
||||||
<input type="number" inputmode="numeric" id="outdoor-sensor-offset" name="sensors[outdoor][offset]" min="-10" max="10" step="0.01" required>
|
<input type="number" inputmode="numeric" id="outdoor-sensor-offset" name="sensors[outdoor][offset]" min="-10" max="10" step="0.01" required>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<label for="outdoor-sensor-ble-addresss">
|
<fieldset>
|
||||||
<span data-i18n>settings.tempSensor.bleAddress.title</span>
|
<mark data-i18n>settings.note.bleDevice</mark>
|
||||||
<input type="text" id="outdoor-sensor-ble-addresss" name="sensors[outdoor][bleAddress]" pattern="([A-Fa-f0-9]{2}:){5}[A-Fa-f0-9]{2}">
|
</fieldset>
|
||||||
<small data-i18n>settings.tempSensor.bleAddress.note</small>
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<button type="submit" data-i18n>button.save</button>
|
<button type="submit" data-i18n>button.save</button>
|
||||||
</form>
|
</form>
|
||||||
@@ -610,23 +613,26 @@
|
|||||||
</label>
|
</label>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
<div class="grid">
|
||||||
<label for="indoor-sensor-gpio">
|
<label for="indoor-sensor-gpio">
|
||||||
<span data-i18n>settings.tempSensor.gpio</span>
|
<span data-i18n>settings.tempSensor.gpio</span>
|
||||||
<input type="number" inputmode="numeric" id="indoor-sensor-gpio" name="sensors[indoor][gpio]" min="0" max="254" step="1">
|
<input type="number" inputmode="numeric" id="indoor-sensor-gpio" name="sensors[indoor][gpio]" min="0" max="254" step="1">
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<div class="grid">
|
<label for="indoor-sensor-ble-addresss">
|
||||||
|
<span data-i18n>settings.tempSensor.bleAddress</span>
|
||||||
|
<input type="text" id="indoor-sensor-ble-addresss" name="sensors[indoor][bleAddress]" pattern="([A-Fa-f0-9]{2}:){5}[A-Fa-f0-9]{2}">
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
<label for="indoor-sensor-offset">
|
<label for="indoor-sensor-offset">
|
||||||
<span data-i18n>settings.tempSensor.offset</span>
|
<span data-i18n>settings.tempSensor.offset</span>
|
||||||
<input type="number" inputmode="numeric" id="indoor-sensor-offset" name="sensors[indoor][offset]" min="-10" max="10" step="0.01" required>
|
<input type="number" inputmode="numeric" id="indoor-sensor-offset" name="sensors[indoor][offset]" min="-10" max="10" step="0.01" required>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<label for="indoor-sensor-ble-addresss">
|
<fieldset>
|
||||||
<span data-i18n>settings.tempSensor.bleAddress.title</span>
|
<mark data-i18n>settings.note.bleDevice</mark>
|
||||||
<input type="text" id="indoor-sensor-ble-addresss" name="sensors[indoor][bleAddress]" pattern="([A-Fa-f0-9]{2}:){5}[A-Fa-f0-9]{2}">
|
</fieldset>
|
||||||
<small data-i18n>settings.tempSensor.bleAddress.note</small>
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<button type="submit" data-i18n>button.save</button>
|
<button type="submit" data-i18n>button.save</button>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in New Issue
Block a user