Over a million developers have joined DZone.

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

Access the survey results 'State of Industrial Internet Application Development' to learn about latest challenges, trends and opportunities with Industrial IoT, brought to you in partnership with GE Digital.

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”}


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



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



The IoT Zone is brought to you in partnership with GE Digital.  Discover how IoT developers are using Predix to disrupt traditional industrial development models.


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

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

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

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

{{ parent.tldr }}

{{ parent.urlSource.name }}