mqtt-tools
v0.0.1
Published
mqtt command line functions
Downloads
2
Readme
node-mqtt-tools
simple command line interaction w. mqtt servers
use
mqtt_sub [mqtt_url] -t [topic] -p [show payload]
> mqtt_sub -t messages
subscribed to topic: messages
topic=messages message="foo"
topic=messages message="bar"
mqtt_pub [mqtt_url] -t [topic] -m [message]
> mqtt_pub -t messages -m foo
> mqtt_pub mqtt://localhost:1883 -t messages -m bar