Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
Hi, I am using the MQTT template to subscribe to MQTT values, but when I query for property history I only get the values which I set manually. I think it's a permission problem. Any help is appreciated. Thank you!
Solved! Go to Solution.
I found the answer in this articles.
https://community.ptc.com/t5/ThingWorx-Developers/DataChange-Problem-with-
Subscription/td-p/709944
Do you have the 'DataChange' for the MQTT mapped property set to Always?
(Besides that, is it logged)
Yes, it's set to Always. I set also Persist and Log.
Not too sure then what the issue might be, as an alternative you can log it from a subscription to the datachange?
Not sure how to do this, but I will look for it.
Are you using a subscription right now to process the incoming messages?
If so, then at the same time you can do 'AddStreamEntry' (regular stream) or even ... i forget the service name, but an add to the ValueStream
Yes, it's a subscription. I will check. Thank you.
I found the answer in this articles.
https://community.ptc.com/t5/ThingWorx-Developers/DataChange-Problem-with-
Subscription/td-p/709944