Skip to main content
Nov 14, 2018 7:24 PM UTC
Solved

Connexion to The Things Network : MQTT support for + wildcard in Thingworx ? any progress ?

Hello

 

I would like to connect to "The Things Network" using MQTT

The topics to subscribe  are like "+/devices/+/up" to get the uplink messages

It seems that these "+" are not supported by the MQTT extension

 

https://www.ptc.com/en/support/article?n=CS271034

 

Any progress on this issue ? new release of extension planned ?

 

Thanks

pjolyAnswer
Nov 16, 2018 6:26 AM UTC

thanks for answer and advice.

 

A little bit too complex for me, I was thinking a simple script in python between TTN & Thingworx to translate the topics.

Anyway , I found another workaround by using The Things Network http integration instead of default MQTT.

The new challenge was to convert base 64 to hexa without atob() function accessible in Thingworx to decode the payload. Fortunately I found a complete source to do that.

 

Regards 



it works fine! 

3 replies

Nov 15, 2018 8:50 AM UTC

Hi @pjoly

It seems like this enhancement has not been intended for implementation in one of the next releases.

 

However, maybe the Protocol Adapter Toolkit could help you here...

There's an example of how to use it with MQTT at https://community.ptc.com/t5/IoT-Tech-Tips/Protocol-Adapter-Toolkit-MQTT-Sample-Project-hands-on-1-1-x/m-p/534701

 

Cheers,
Michael

pjolyAuthor
Nov 13, 2018 3:37 PM UTC
thanks for answer and advice.

I found another workaround by using The Things Network http integration instead of default MQTT.

it works fine!