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

Навигация

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

Новая страница: «=== The structure of the message device status === Here is an example message from the 1-Wire temperature sensor driver from the example above: <pre> /devices/wb-…»
(Новая страница: «===Message queue clients=== *internal hardware function drivers *external connected device drivers *web interface *rules engine *(if any) user's own programs»)
(Новая страница: «=== The structure of the message device status === Here is an example message from the 1-Wire temperature sensor driver from the example above: <pre> /devices/wb-…»)
Строка 43: Строка 43:
*(if any) user's own programs
*(if any) user's own programs


=== Структура сообщения о состоянии устройства ===
=== The structure of the message device status ===
Вот пример сообщения от драйвера температурного датчика 1-Wire из примера выше:
Here is an example message from the 1-Wire temperature sensor driver from the example above:
<pre>
<pre>
/devices/wb-w1/controls/28-0115a48fcfff 23.25
/devices/wb-w1/controls/28-0115a48fcfff 23.25
</pre>
</pre>
Часть до пробела - название топика, после - само сообщение.
The part before the space is the name of the topic, then the message itself.


Название топика состоит из вложенных друг в друга "подтопиков":
Название топика состоит из вложенных друг в друга "подтопиков":
12 063

правки