12 063
правки
(Новая страница: «In the example, the motion sensor is connected to the input "dry contact", control type "switch". The siren is connected to the built-in relay Wiren Board, and th…») |
(Новая страница: «The rule is triggered every time the control value "D1_IN" of the device "wb-gpio" is changed. The new value of this control is passed to the rule code as a newVa…») |
||
Строка 102: | Строка 102: | ||
The rule is triggered every time the control value "D1_IN" of the device "wb-gpio" is changed. The new value of this control is passed to the rule code as a newValue variable. | |||
<syntaxhighlight lang="ecmascript"> | <syntaxhighlight lang="ecmascript"> |
правки