heidloff.net - Building is my Passion
Post
Cancel

Useful MQTT Tools for the IBM Watson IoT Platform

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

image

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

image

MQTTLens

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

image

image

Featured Blog Posts
Disclaimer
The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions.
Trending Tags