mqtt-tools

0.0.1 • Public • Published

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

/mqtt-tools/

    Package Sidebar

    Install

    npm i mqtt-tools

    Weekly Downloads

    3

    Version

    0.0.1

    License

    BSD

    Last publish

    Collaborators

    • csquared