output.mqtt¶
Mqtt output¶
type |
object |
||
properties |
|||
|
The id of the template to use for this file |
||
type |
string |
||
|
The variables and their values to be replaced from the template |
||
type |
object |
||
additionalProperties |
|||
|
The variables files to use to replace the variables. The first file of the list will take precedence over the following one. Template variables take precedence over the contents of the files. |
||
type |
array |
||
items |
type |
string |
|
|
If the value is set to true, manual editing of this file should be avoided, as the composer will override the value in the next generation. |
||
type |
boolean |
||
|
List of the broker to link with this value |
||
type |
string |
||
|
The topic to use when publishing the value |
||
type |
string |
||
|
The qos to use when publishing |
||
type |
string |
||
enum |
AT_MOST_ONCE, AT_LEAST_ONCE, EXACTLY_ONCE |
||
default |
AT_LEAST_ONCE |
||
|
The retain to use when publishing |
||
type |
boolean |
||
default |
False |
||
|
The generator used to create the payload |
||
default |
type |
STANDARD |
|
publishError |
False |
||
additionalProperties |
False |
MqttGeneratorConfigurationEntity¶
type |
object |
|
properties |
||
|
The parser to use |
|
type |
string |
|
enum |
STANDARD, JSON, STANDARD_WITH_TOPIC |
|
|
Flag to enable the publish of the error of the value |
|
type |
boolean |
|
default |
False |
|
|
The json template to fill. “$value” will be replace by the content of the value or null when there is a error and the publication must be done. “$timestamp” will be replaced by the timestamp in nanoseconds. “$error” will be replaced by the error message. |
|
additionalProperties |
False |