Settings for the MQTT Publisher.
[mqttpub] certPath
- Type
- string
- Default
- cert
Relative path of the certificate store under <project>/data/mqtt/.
[mqttpub] connDp
- Type
- string
- Default
- MqttPublisher
Specifies the name for the internal datapoint (without leading "_") of the MQTT
Publisher.
[mqttpub] mqttPubGroup
- Type
- string
- Default
- MQTTPub
Defines the data point group that is used for the MQTT Publisher published data. The
group alias must be used. Every MQTT Publisher can use a separate data point group. Note: If
a data point group is generated for the MQTT Publisher, it is necessary to specify an alias
for the generated group!
[mqttpub] statisticsRefreshTime
- Type
- ushort
- Default
- 60
- Unit
- seconds
Refresh interval (in seconds) for the statistics on the internal data points.
[mqttpub] useAlias
- Type
- bool
- Default
- 0
- Range
- 0|1
Specifies whether the MQTT Publisher uses the datapoint name or the alias as MQTT topic:
- 0 -> DP name
- 1 -> DP alias
[mqttpub] useCnsDisplayPath
- Type
- bool
- Default
- 0
- Range
- 0|1
Specifies whether the MQTT Publisher uses the CNS identifier or the CNS display name path
(active language) as MQTT topic:
- 0 -> CNS identifier
- 1 -> Display name path
[mqttpub] userBitQoS1
- Type
- ushort
- Default
- 0 (not used)
- Range
- 1..16
With this entry the QoS can be specified by setting a user bit of the corresponding DPE.
User bit for the first QoS bit. No user bit is used by default.
[mqttpub] userBitQoS2
- Type
- ushort
- Default
- 0 (not used)
- Range
- 1..16
With this entry the QoS can be specified by setting a user bit of the corresponding DPE.
User bit for the second QoS bit. No user bit is used by default.
[mqttpub] userBitRetain
- Type
- ushort
- Default
- 0 (not used)
- Range
- 1..16
User bit for the retain flag. No user bit is used by default. If this entry is set != 0
and the userbit is set that the value is published with retain flag.