Rule Examples/en: различия между версиями

Новая страница: «== Thermostat == An example of a simple thermostat from the [https://support.wirenboard.com/t/novaya-versiya-dvizhka-pravil/4196/158 topic on the support portal].»
(Новая страница: «1. If the input voltage is less than the battery voltage, then the board is powered by the battery. In this case, 0V is also displayed as the input voltage.»)
(Новая страница: «== Thermostat == An example of a simple thermostat from the [https://support.wirenboard.com/t/novaya-versiya-dvizhka-pravil/4196/158 topic on the support portal].»)
Строка 614: Строка 614:
An example of a simple thermostat from the [https://support.wirenboard.com/t/novaya-versiya-dvizhka-pravil/4196/158 topic on the support portal].
An example of a simple thermostat from the [https://support.wirenboard.com/t/novaya-versiya-dvizhka-pravil/4196/158 topic on the support portal].


<div lang="ru" dir="ltr" class="mw-content-ltr">
<syntaxhighlight lang="js">
<syntaxhighlight lang="js">
defineVirtualDevice("Termostat", {
defineVirtualDevice("Termostat", {
     title: "Termostat",
     title: "Termostat",
     cells: {
     cells: {
       // =============== Прихожая теплый пол
       // =============== hallway underfloor heating
       "R01-TS16-1-mode": {//режим 0-ручной 1-по расписанию
       "R01-TS16-1-mode": {//mode 0-manual 1-scheduled
    type: "switch",
    type: "switch",
    value: false,
    value: false,
    },
    },
       "R01-TS16-1-setpoint": {//уставка
       "R01-TS16-1-setpoint": {//setting
    type: "range",
    type: "range",
    value: 25,
    value: 25,
Строка 630: Строка 629:
         readonly: false
         readonly: false
    },
    },
       "R01-TS16-1-lock": {//блокировка в визуализации 0-снята 1-заблокирована
       "R01-TS16-1-lock": {//blockage in visualization 0-unlocked 1-blocked
    type: "switch",
    type: "switch",
    value: false,
    value: false,
    },.......
    },.......
</div>


<div lang="ru" dir="ltr" class="mw-content-ltr">
<div lang="ru" dir="ltr" class="mw-content-ltr">
translator, wb_editors
4293

правки