Next: Configuration Examples, Previous: Running the Service, Up: STARTER Configurable Service [Contents]
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.
file-transportRead or write a local file.
http-transportHTTP client (GET poll, POST/PUT body write, or URL write).
process-transportOneshot external command (stdout read or stdin write).
adapter-transportLong-lived GDBus peer client for
starter-configurable-adapter (org.starter.Adapter).
tuya-directTuya local device over TCP (direct IP).
tuya-gatewayTuya sub-device via a LAN hub/gateway.
json-reader / stream-readerParse JSON or opaque byte streams into datapoints.
json-writer / stream-writerBuild JSON or text/binary templates from datapoints.
formula-transformEvaluate a TinyExpr formula on each push.
sampling-transformReduce a sliding or held window of samples.