MQTT tag settings

<< Click to Display Table of Contents >>

Navigation:  Project > Tags > General tab >

MQTT tag settings

Previous pageReturn to chapter overviewNext page

mqtttagsettings

List of properties:

Property

Description

Topic

Topic of the MQTT server.

QoS

Choose QoS of the MQTT tag.

Retained

Check retained if you want to use this property.

JSON path

If MQTT response contains JSON array enter JSON path to parse the value. For example if response is: «{foo: bar, lat: 0.23443, long: 12.3453245}» to get long value enter «long» in the field. If response is not JSON format left field empty. If response contains multi dimension JSON format, separate keys by commas without blank spaces.

After clicking OK you’ll get pointer settings in PV Input tag encoded in String like:

t=temperature;qos=0;r=1;json=

Where:

t - Topic.

qos -  QoS.

r - Retained.

json - JSON path.