output.mqtt

Mqtt output

type

object

properties

  • templateId

The id of the template to use for this file

type

string

  • templateVariables

The variables and their values to be replaced from the template

type

object

additionalProperties

  • variablesFiles

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

  • isTemplateGeneratedByOspComposer

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

  • brokerId

List of the broker to link with this value

type

string

  • topic

The topic to use when publishing the value

type

string

  • qos

The qos to use when publishing

type

string

enum

AT_MOST_ONCE, AT_LEAST_ONCE, EXACTLY_ONCE

default

AT_LEAST_ONCE

  • retain

The retain to use when publishing

type

boolean

default

False

  • generator

The generator used to create the payload

default

type

STANDARD

publishError

False

MqttGeneratorConfigurationEntity

additionalProperties

False

MqttGeneratorConfigurationEntity

type

object

properties

  • type

The parser to use

type

string

enum

STANDARD, JSON, STANDARD_WITH_TOPIC

  • publishError

Flag to enable the publish of the error of the value

type

boolean

default

False

  • template

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