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

Новая страница: «defineRule("_rs485_switch_on", { asSoonAs: function () { return dev.rs485_cmd.enabled; }, then: function() { runShellCommand("/usr/bin/printf '\\xff\\xff\\x0a\\x01\\xff\\x00\\x00\\x0a' > /dev/ttyNSC0"); } });»
(Новая страница: «2. Sending a command»)
(Новая страница: «defineRule("_rs485_switch_on", { asSoonAs: function () { return dev.rs485_cmd.enabled; }, then: function() { runShellCommand("/usr/bin/printf '\\xff\\xff\\x0a\\x01\\xff\\x00\\x00\\x0a' > /dev/ttyNSC0"); } });»)
Строка 844: Строка 844:
</syntaxhighlight>
</syntaxhighlight>


<div lang="ru" dir="ltr" class="mw-content-ltr">
== Custom fields in web interface ==
== Пользовательские поля в веб-интерфейсе ==
</div>




<div lang="ru" dir="ltr" class="mw-content-ltr">
[[File:Sample-custom-config-1.png|300px|thumb|right|Example configuration]]
[[File:Sample-custom-config-1.png|300px|thumb|right|Пример конфигурации]]
[[File:Sample-custom-config-2.png|300px|thumb|right|Example script]]
[[File:Sample-custom-config-2.png|300px|thumb|right|Пример скрипта]]
If you need to manually enter temperature and humidity settings in the interface of the Wiren Board controller.  
Задача - надо в веб-интерфейсе контроллера Wiren Board вводить уставки  температуры и влажности.
</div>


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

правок