[mqtt]

Settings for the MQTT driver.

[mqtt] certPath

Type
string
Default
cert
Relative path of the certificate store under <project>/data/mqtt/.

[mqtt] delta

Type
ushort
Default
5
Unit
milliseconds
Time delta to suppress duplicates from redundant connection.

[mqtt] jsonProfileStatus

Type
ushort
Default
0 (not used)
Range
0..1
Defines whether the driver subscribes to all 32 user bits. Required if the JSON profile incl. status is used. By default, no user bits are subscribed to.

[mqtt] jsonTimeFormat

Type
ushort
Default
0
Range
0..1
Format of timestamp from JSON profile. 0 = ISO 8601, 1 = milliseconds since 1970

[mqtt] onlyActiveSubscribes

Type
bool
Default
0
Range
0|1
Only the active driver in a redundant system subscribes to topics.

[mqtt] pollCount

Type
unsigned integer
Default
32
Range
>0

Defines the number of data points that can be polled at once. If several polling requests are queued they will be processed in the next driver cycle.

[mqtt] reduClientIdPostfix

Type
string
Default
_2
If the MQTT client id for a broker connection is explicitely defined, this posfix is appended on the second host in a redundant system. This is required because typically two client cannot connect to a broker with the same client id.

[mqtt] statisticsRefreshTime

Type
ushort
Default
60
Unit
seconds
Refresh interval (in seconds) for the statistics on the internal data points.

[mqtt] userBitQoS1

Type
ushort
Default
0 (not used)
Range
1..16
User bit for the first QoS bit. No user bit is used by default.

[mqtt] userBitQoS2

Type
ushort
Default
0 (not used)
Range
1..16
User bit for the second QoS bit. No user bit is used by default.

[mqtt] userBitRetain

Type
ushort
Default
0 (not used)
Range
1..16
User bit for the retain flag. No user bit is used by default.