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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

MQTT Connection to Thingworx

cacosta
3-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?

6 REPLIES 6
dupatel
19-Tanzanite
(To:cacosta)

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

-Durgesh

cacosta
3-Visitor
(To:dupatel)

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

dupatel
19-Tanzanite
(To:cacosta)

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

plea
1-Newbie
(To:cacosta)

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? 

YJ
1-Newbie
1-Newbie
(To:plea)

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

mneumann
16-Pearl
(To:YJ)

-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

Top Tags