translator, wb_editors
4544
правки
Matveevrj (обсуждение | вклад) (Новая страница: «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.») |
Matveevrj (обсуждение | вклад) (Новая страница: «== 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]. | ||
<syntaxhighlight lang="js"> | <syntaxhighlight lang="js"> | ||
defineVirtualDevice("Termostat", { | defineVirtualDevice("Termostat", { | ||
title: "Termostat", | title: "Termostat", | ||
cells: { | cells: { | ||
// =============== | // =============== hallway underfloor heating | ||
"R01-TS16-1-mode": {// | "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": {// | "R01-TS16-1-lock": {//blockage in visualization 0-unlocked 1-blocked | ||
type: "switch", | type: "switch", | ||
value: false, | value: false, | ||
},....... | },....... | ||
<div lang="ru" dir="ltr" class="mw-content-ltr"> | <div lang="ru" dir="ltr" class="mw-content-ltr"> |