Next: Concepts, Previous: STARTER Configurable Adapter, Up: STARTER Configurable Adapter [Contents]
When I built starter-configurable-service (STCS), the
idea was to stop writing a new C binary for every device or cloud
API. An XML pipeline of transports, readers, writers,
and transforms covers a large share of house I/O: files, HTTP polls,
local processes, and similar.
Of course it will never cover every use case. Some sources are too
complex for that shape: cloud sessions with tokens and discovery, quirky
field protocols, or logic that needs fine-grained, dedicated handling.
For those paths I still needed a place to put real code—without
dropping the rest of STARTER’s model (numeric I/O, peer
D-Bus, rules in starter-core).
That is how starter-configurable-adapter (STCA) was
born. It is a small, independent process that sits in front of
STCS: it loads exactly one plugin that talks to the hard
source, keeps a numeric snapshot in memory, and exposes that snapshot
over a peer D-Bus TCP interface
(org.starter.Adapter). An optional HTTP/JSON
API remains available for debugging. STCS then uses
adapter-transport and json-reader / writers against that
API—without embedding the source protocol inside the service.
STARTER (Simple distribuTed smART conTrollER) itself
remains the automation brain: rules live in starter-core.
STCA is only the specialised front end when STCS
alone is not enough.
This manual is organised in two layers:
The program, plugins, and examples are under the GPL version 3
or later (see GNU General Public License);
libstarter-configurable-adapter is under the LGPL
version 3 or later (see GNU Lesser General Public License). This
manual is under the FDL
(see GNU Free Documentation License).
Next: Concepts, Previous: STARTER Configurable Adapter, Up: STARTER Configurable Adapter [Contents]