Susi Server

Example Source

Node ID: exampleSource · Role: Source · Realtime config: no

Description

Demo source that emits Timestamp data at a configurable interval. Useful as a reference implementation and for testing downstream pipelines without real hardware.

Inputs / Outputs

Config aliases

ExampleSource, exampleSource

Properties

The following fields are exposed in the node’s Properties panel in the UI. Types map to UI widgets (e.g. string → text input, number → numeric, boolean → toggle, select → dropdown, json → JSON editor).

KeyLabelTypeDefaultDescription / Notes
intervalMsInterval (ms)number1000Delay between emitted timestamp samples, in milliseconds.

Example node definition

A full node definition in config.json looks like the block below. Paste it under the sources key of your config, keyed by the node’s instance name (any identifier; it doesn’t have to match the node ID).

{
  "sources": {
    "exampleSource": {
      "outEndpoint": "inproc://exampleSource_data",
      "settings": {
        "intervalMs": 1000
      }
    }
  }
}

Field reference

FieldPurpose
outEndpointZMQ / inproc endpoint this source binds to publish its output. The runtime auto-generates one if omitted.
settingsAll user-configurable fields — see the Properties table above.

Connections can also be declared at the top-level connections array when settings.explicitConnections is true, as an alternative to filling inputEndpoints on each node.

Loading documentation…