Source
Associated with: MQTT JSON Schema A database items
The Source attribute is common to many Status displays. The attribute indicates the location at which the item resides. The information shown varies, depending on the item.
The Source attribute displays the value Undefined if the item’s configuration is incomplete, in so far as the device with which the item is associated has not yet been specified.
Likewise, the status attribute displays the value Undefined Topic if the Broker Host Address or Port are undefined on the parent MQTT Broker item (see Configure the Broker Connection Properties). This value only appears if the Device item's Topic Filter property is populated (see Configure the Properties on the MQTT Tab), while the MQTT Broker item's configuration is incomplete.
With MQTT JSON Schema A Device items, the Source attribute displays information is displayed in this format:
Broker:'<Broker Host Address>:<Port>' Topic:'<Topic Filter>'
Broker:'127.0.0.1:1883' Topic:'Sensor 3'
(For a Device item that Geo SCADA Expert uses to subscribe to the topic 'Sensor 3'. The Device item references the MQTT Broker item that connects using the IP address 127.0.0.1. The broker listens on port 1883.)
With MQTT JSON Schema A Points, information is displayed in this format:
Broker:'<Broker Host Address>:<Port>' Topic:'<Topic Filter>' <Point Type>:'<Tag Name>'
Broker:'127.0.0.1:1883' Topic:'Sensor 3' AI:'Static Pressure'
(For an analog point that is used to retrieve static pressure data using the Device item mentioned above.)
The Source value displays the type of MQTT JSON Schema A point using these abbreviations:
Abbreviation | Point Type |
---|---|
AI | Analog Input |
Counter | Counter |
DI | Digital Input |