CmdID

CmdID / Commands

mosquitto_sub

A simple MQTT version 3.1.1 client that will subscribe to topics and print the messages that it receives. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Subscribe to the topic sensors/temperature information with Quality of Service (QoS) set to 1. (The default hostname is localhost and port 1883)

mosquitto_sub --topic sensors/temperature --qos 1Identify

Subscribe to all broker status messages publishing on iot.eclipse.org port 1885 and print published messages verbosely

mosquitto_sub --verbose --host "iot.eclipse.org" --port 1885 --topic \$SYS/#Identify

Subscribe to multiple topics matching a given pattern. (+ takes any metric name)

mosquitto_sub --topic sensors/machines/+/temperature/+Identify