mqttui

MQTT terminal UI client for subscribing and publishing messages

brewmacoslinux
Try with needOr install directly
Source

About

Subscribe to a MQTT Topic or publish something quickly from the terminal

Commands

mqttui

Examples

Subscribe to all messages on a broker$ mqttui -H localhost
Publish a message to a specific topic$ mqttui -H broker.example.com -t 'home/temperature' -m '22.5'
Subscribe to a specific topic with custom broker and port$ mqttui -H mqtt.example.com -p 8883 -t 'sensors/+/data'