Next: , Previous: , Up: STARTER Configurable Service   [Contents]


4 Configuration Overview

Root element:

<?xml version="1.0" encoding="UTF-8"?>
<stcs version="1">
  <global>...</global>
  <transports>...</transports>
  <datapoints>...</datapoints>
  <readers>...</readers>
  <writers>...</writers>
  <inputs>...</inputs>
  <outputs>...</outputs>
  <bindings>...</bindings>
</stcs>

Top-level sections are conventional; include only what the service needs. Next, Configuration Examples walks through ready-made XML samples (examples/space-track/, examples/shelly-ht/, examples/current-time/, examples/tuya-direct/). Element names and attributes for every shipped plugin are listed in Configuration Reference. Plugin source sketches are in Writing Plugins.

4.1 Shipped Plugins

file-transport

Read or write a local file.

http-transport

HTTP client (GET poll, POST/PUT body write, or URL write).

process-transport

Oneshot external command (stdout read or stdin write).

adapter-transport

Long-lived GDBus peer client for starter-configurable-adapter (org.starter.Adapter).

tuya-direct

Tuya local device over TCP (direct IP).

tuya-gateway

Tuya sub-device via a LAN hub/gateway.

json-reader / stream-reader

Parse JSON or opaque byte streams into datapoints.

json-writer / stream-writer

Build JSON or text/binary templates from datapoints.

formula-transform

Evaluate a TinyExpr formula on each push.

sampling-transform

Reduce a sliding or held window of samples.