Skip to content

A node command line app to send mqtt messages through a mqtt broker. Can also be used to subscribe and listen to incoming messages on a topic.

License

Notifications You must be signed in to change notification settings

jinmatt/mqtt-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mqtt-cli

Join the chat at https://gitter.im/mindhelix/mqtt-cli

A node command line app to send mqtt messages through a mqtt broker. Can also be used to subscribe and listen to incoming messages on a topic.

Installation

$ [sudo] npm install mqtt-cli -g

Usage:

$ mqtt-cli --help

Usage: mqtt-cli hostname topic payload
     e.g. mqtt-cli test.mosquitto.org Hello "Test hello message"

Options:
   -h : this help option
   -w : pass at the end to watch incoming message on the published topic. Usage: mqtt-cli hostname topic payload -w

License: MIT Author: jinmatt

About

A node command line app to send mqtt messages through a mqtt broker. Can also be used to subscribe and listen to incoming messages on a topic.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%