No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.cfignore
.gitignore
README.md
app.js
package.json
settings.js

README.md

mqtt_pub_ibmiot

Overview

MQTT Publisher for IBM Watson IoT Platform service.

Settings

  • Edit settings.js with your own information:

    • exports.interval: milli sec value of interval between publishing messages.

    • exports.topic: MQTT topic for IBM IoT Platform

    • exports.serverURL: MQTT server URL for IBM IoT Platform

    • exports.deviceId: Device Id of MQTT. Generate it when blank.

    • exports.deviceType: Device Type of MQTT.

  • Install dependencies

    • $ npm install

Run

  • Run application

    • $ node app

Reference

https://www.npmjs.com/package/mqtt

Licensing

This code is licensed under MIT.

Copyright

2018 K.Kimura @ Juge.Me all rights reserved.