Перейти к содержанию

Навигация

Движок правил wb-rules/en: различия между версиями

Новая страница: «To begin with, we will analyze a simple rule - when the temperature is exceeded, turn off the heater. The temperature is obtained from the 1-Wire s…»
(Новая страница: «=== The first rule ===»)
(Новая страница: «To begin with, we will analyze a simple rule - when the temperature is exceeded, turn off the heater. The temperature is obtained from the 1-Wire s…»)
Строка 31: Строка 31:
=== The first rule ===
=== The first rule ===


Для начала разберём простое правило - при превышении температуры выключи обогреватель. Температуру получаем с датчика [[Special:MyLanguage/1-Wire|1-Wire]], обогреватель подключён к Реле 1 внешнего релейного модуля [[Special:MyLanguage/WB-MRM2|WB-MRM2]].
To begin with, we will analyze a simple rule - when the temperature is exceeded, turn off the heater. The temperature is obtained from the  [[1-Wire/en|1-Wire]] sensor, the heater is connected to the Relay 1 of external  [[WB-MRM2/en|WB-MRM2]] relay module.
<syntaxhighlight lang="ecmascript">
<syntaxhighlight lang="ecmascript">


12 063

правки