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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Values not saved when using MQTT

BSUN_RO
7-Bedrock

Values not saved when using MQTT

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!

1 ACCEPTED SOLUTION

Accepted Solutions
7 REPLIES 7
PaiChung
22-Sapphire I
(To:BSUN_RO)

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.

PaiChung
22-Sapphire I
(To:BSUN_RO)

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.

PaiChung
22-Sapphire I
(To:BSUN_RO)

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.

BSUN_RO
7-Bedrock
(To:BSUN_RO)

Top Tags