Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Useful MQTT Tools for the IBM Watson IoT Platform

DZone's Guide to

Useful MQTT Tools for the IBM Watson IoT Platform

So many IoT devices, so much communication. Interacting with the IBM Watson platform is, well... elementary!

· IoT Zone
Free Resource

Cisco IoT makes digital transformation a reality in factories, transportation, and utilities. Learn how to start integrating with Cisco DevNet.

For the development of Internet of Things applications it’s often useful to simulate devices. Below are two options which are easy to use.

The instructions describe how to connect to the IBM Watson IoT Platform on Bluemix. In all cases you need to create your own Internet of Things Platform service and create your own device type and device.

MQTT Helper

With the MQTT Helper application on Bluemix you can connect to a MQTT broker and subscribe and publish to MQTT topics. The trick is to know the right information for the form.

  • Server: 1o56n8.messaging.internetofthings.ibmcloud.com (replace “1o56n8” with your IoT organization name)
  • Port: 1883
  • Client ID: d:1o56n8:TestDeviceType:TestDevice (replace the org, device type and device id)
  • Username: “use-token-auth”
  • Password: your device’s authentication token

Here is an example how to publish messages as JSON:

  • Topic: iot-2/evt/messageId122/fmt/json
  • Payload: {hello:”world”}

mqtttool1

In the dashboard of the IoT service you can see the connection status and received messages.

mqtttool4

MQTTLens

MQTTLens is a Google Chrome application which is similar to the MQTT Helper application. The same instructions as above apply.


mqtttool2

mqtttool3

Cisco is a software company. Surprised? Don’t be. Join DevNet to explore APIs, tools, and techniques that developers are using to add collaboration, IoT, security, network priority, and more!

Topics:
iot ,mqtt ,watson ,ibm ,cloud ,bluemix

Published at DZone with permission of Niklas Heidloff, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}