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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

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

pjoly
11-Garnet

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

ACCEPTED SOLUTION

Accepted Solutions
pjoly
11-Garnet
(To:mneumann)

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! 

View solution in original post

3 REPLIES 3
mneumann
16-Pearl
(To:pjoly)

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

pjoly
11-Garnet
(To:mneumann)

thanks for answer and advice.

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

it works fine!


pjoly
11-Garnet
(To:mneumann)

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! 

Announcements


Top Tags