12 063
правки
(Новая страница: «For example, if we now click on the relay button in the web interface (switch its state), we will receive new messages: <pre> /devices/wb-mrm2_130/controls/Relay…») |
(Новая страница: «==Working with message queue== The program (daemon) responsible for sending messages from one client to another is called a message broker. Wiren Board uses [ht…») |
||
Строка 94: | Строка 94: | ||
- the web interface first "instructs" to turn on the relay, then the driver turns it on and records the current state in the "channel"("control"). | - the web interface first "instructs" to turn on the relay, then the driver turns it on and records the current state in the "channel"("control"). | ||
== | ==Working with message queue== | ||
The program (daemon) responsible for sending messages from one client to another is called a message broker. Wiren Board uses [http://mosquitto.org/ Mosquitto] message broker. In fact, all drivers and the web interface transmit their messages to this daemon broker | |||
=== | ===Working via the command line=== | ||
==== Управление устройствами из командной строки ==== | ==== Управление устройствами из командной строки ==== |
правки