cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

MQTT Connection to Thingworx

Highlighted
Visitor

MQTT Connection to Thingworx

Can I communicate directly from my edge device/gateway to ThingWorx via MQTT? If so, is there any documentation on configuring this connection?

Tags (1)
6 REPLIES 6

Re: MQTT Connection to Thingworx

Christian Acosta​: Yes, you can check out our MQTT extension for details available on ThingWorx Marketplace.

-Durgesh

Re: MQTT Connection to Thingworx

Durgesh Patel Are there any examples of this extension being utilized? There aren't many details on that page or in the help center.

Re: MQTT Connection to Thingworx

Christian Acosta​: You can refer the URL which demonstrate usage of MQTT if that helps build understanding. There is subtitle you might have to follow as video is not in English. ThingWorx: MQTT Part1 Getting started - YouTube

You can also check existing community thread for more details :

Using MQTT protocol in ThingWorx

-Durgesh

Re: MQTT Connection to Thingworx

I followed the material, but where do I point the MQTT broker on my device/laptop/Linux box to publish data to?

the documents say something like this:

mosquitto_pub -h mythingbox -t /topic_branch/Value -m 20

mythingbox should be a real URL or IP Address right? 

Re: MQTT Connection to Thingworx

I also have the same question. Did you solve it?

Re: MQTT Connection to Thingworx

-h is defining the hostname. It defaults to localhost.

-p is defining the port. It defaults to 1883 for non-TLS connections and 8883 for TLS connections.

 

https://mosquitto.org/man/mosquitto_pub-1.html

 

Cheers,

Michael

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________