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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Translate the entire conversation x

Values not saved when using MQTT

BSUN_RO
12-Amethyst

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!

ACCEPTED SOLUTION

Accepted Solutions
BSUN_RO
12-Amethyst
(To:BSUN_RO)
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)

 

BSUN_RO
12-Amethyst
(To:PaiChung)

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?

BSUN_RO
12-Amethyst
(To:PaiChung)

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

BSUN_RO
12-Amethyst
(To:PaiChung)

Yes, it's a subscription. I will check. Thank you.

BSUN_RO
12-Amethyst
(To:BSUN_RO)

Announcements


Top Tags