Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
Hi,
I've setup a MQTT client sending values from different Tags. Is there a way to add the Tag description as they are setup in the Device, to the MQTT message? I've already tried adding @|TAGDESCRIPTION| to the message but this is not recognized.
thanks
H.
Solved! Go to Solution.
The Tag Description can be added to the MQTT message by adding the variable | DESCRIPTION|. There is no need to add the "@" symbol and "TAG" to the variable. Here is a link to page in the manual that covers the use of | DESCRIPTION|. Please note the | DESCRIPTION| variable can be found in the Advanced Template which is a drop-down selection in the Message Format field.
Thanks,
*Chris
The Tag Description can be added to the MQTT message by adding the variable | DESCRIPTION|. There is no need to add the "@" symbol and "TAG" to the variable. Here is a link to page in the manual that covers the use of | DESCRIPTION|. Please note the | DESCRIPTION| variable can be found in the Advanced Template which is a drop-down selection in the Message Format field.
Thanks,
*Chris
Thanks @cmorehead,
I found out that in v6.10 which I was running, the description can only be added in the Template field not in the Values field. As of v6.13 this should be solved and | DESCRIPTION| can be used both as Template & Expansion of Values.
thanks
H.