Translations:MQTT/13/en

Материал из Wiren Board

You can also subscribe to messages from the Linux console using the mosquitto_sub utility (for a full description of the utility, see The article):

root@wirenboard:~# mosquitto_sub -t '/devices/wb-w1/controls/28-0115a48fcfff' -v //receive messages from a topic of the  1-Wire device with ID: 28-0115a48fcfff
/devices/wb-w1/controls/28-0115a48fcfff 22.75 //in this line and below is the output of the utility received messages
/devices/wb-w1/controls/28-0115a48fcfff 22.75
/devices/wb-w1/controls/28-0115a48fcfff 22.75

Metacharacters