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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

MQTT extension and DataChange Event not triggering

AF_10328563
6-Contributor

MQTT extension and DataChange Event not triggering

Hello,

 

I am retrieving data from a MQTT Broker. The broker is well connected, the data is in the property.
However, the DataChange event does not trigger when i am receiving new data.
I followed multiple links:

https://community.ptc.com/t5/ThingWorx-Developers/Datachange-event-not-firing-with-MQTT/td-p/741511

https://community.ptc.com/t5/ThingWorx-Developers/ThingWorx-MQTT-Extension-and-DataChanged-Events/td-p/522407

https://community.ptc.com/t5/ThingWorx-Developers/DataChange-Problem-with-Subscription/td-p/709944

 

However, none of them solved anything, my subscriptions does not even start (I verify It using logger.debug())

Does anyone have an idea on how to fix this ?

1 ACCEPTED SOLUTION

Accepted Solutions

This is generally due to permission - the MQTT Thing is running as a special system user.

Maybe try https://www.ptc.com/en/support/article/cs275831

 

View solution in original post

1 REPLY 1

This is generally due to permission - the MQTT Thing is running as a special system user.

Maybe try https://www.ptc.com/en/support/article/cs275831

 

Top Tags