Oxygen-MQTT Configuration

Type: object

The configuration for Oxygen MQTT plugin.

Type: enum (of string)

The version of the config-file-schema. Must be supported by the plugin-release.

Must be one of:

  • "0.1"

Type: array of object

Servers the plugin will try to connect to in given order.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object

Type: string

The Server-URL

Type: object

All property whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^/
Type: object

Type: object

The following properties are required:

  • publish
Type: object

The following properties are required:

  • subscribe

Type: object

Type: object

Type: enum (of string)

The sampling mode of the Oxygen-Channel to publish

Must be one of:

  • "sync"
  • "async"

Type: integer

Downsample Oxygen-Sync channels by given factor.

Type: object

Type: enum (of string)

The datatype of the Oxygen-Channel.

Must be one of:

  • "number"
  • "integer"
  • "string"

Type: integer

The number of samples within every MQTT payload packet. Only used for sampling-mode sync.

Type: object

Type: object

Type: object

Type: enum (of string)

Must be one of:

  • "async"
Type: object

The following properties are required:

  • sample-rate

Type: enum (of string)

Must be one of:

  • "sync"

Type: enum (of string)

The sampling mode of the subscription - corresponds to the underlying payload protocol

Must be one of:

  • "async"
  • "sync"

Type: number

Sampling rate for sync-channels - corresponds to the underlying payload protocol.

Type: string

Synced channels can share a common clock domain (depending on the procol). This domains are identified by their clock name

Type: object

Type: object

The following properties are required:

  • text/json
Type: object

The following properties are required:

  • text/plain
Type: object

The following properties are required:

  • cbor/json/sync

Type: object

Interpreting payload as JSON-Data. Every property in schema becomes a channel in Oxygen grouped by the Topic.

Type: object

All property whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^[A-Za-z][A-Za-z0-9_-]*$
Type: object

Type: object

The following properties are required:

  • properties

Type: enum (of string)

Must be one of:

  • "object"
Type: object

Type: enum (of string)

Must be one of:

  • "integer"
  • "number"
  • "string"

Type: enum (of string)

If type is object, then JSON-Payload is nested, else this will become a channel in Oxygen.

Must be one of:

  • "object"
  • "integer"
  • "number"

Type: object

Type: number

Minimum value of range

Type: number

Maximum value of range

Type: object

All property whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^[A-Za-z][A-Za-z0-9_-]*$
Type: object
Same definition as topics_pattern1_subscribe_payload_text_json_schema_pattern1

Type: object

Interpreting payload as plain text. E.g.: my/mqtt/topic/1.25

Type: object

The schema of the payload

Type: enum (of string)

The datatype of the payload: how payload as ASCII should be interpreted by the plugin.

Must be one of:

  • "number"
  • "integer"
  • "string"

Type: object

Interpreting payload as CBOR JSON complying to sync-protocol. TODO: Write specification.

Type: object

Type: enum (of string)

Datatype used within the cbor-sync protocol.

Must be one of:

  • "number"
  • "integer"

Type: integer

The MQTT Quality of Service for operations done on this topic