Skip to main content
1-Visitor
September 2, 2016
Question

MQTT extension issues

  • September 2, 2016
  • 1 reply
  • 1851 views

     Can anyone please help me on the MQTT extension in Thingworx.

     I imported the MQTT extension on the marketplace and configured my thing accordingly.

  

     property name = temperature

     topic to subscribe = temp/random

Capture1.JPG

These are the setting I did in the configuration section.

Capture2.JPG

My broker is connected as IsConnected = true.

But the property I created (temperature) doesn't reflect the message received on the topic(temp/random).

Please help me out with this at the earliest......

1 reply

12-Amethyst
September 4, 2016

Hi looks ok, but the info you provided is very limited. Please check youtube . Search "mqtt thingworx" and watch my two great videos how to start and configure MQTT with Thingworx. Works for me perfectly with MOSQUITTO. Also please check the mosquitto.log to see, that TWX subscribed and get updates of the messages. Additionally please be aware of TWX caching. Sometimes you need to hit the "refresh value" button to see changes in the developer part of ThingWorx.

https://www.youtube.com/watch?v=NAsRMNBY77g

ThingWorx: MQTT Part2 Java Scripting - YouTube