
Control Infrastructure for Physical Devices
Dectrl
DCP, the Dectrl Control Protocol, is one protocol between your hardware and anything that wants to drive it. Wire your machine up once, describe what it can do, and every control surface already speaks it.



Control real hardware from software.
Dectrl is the control layer between software and physical devices. Wire a machine to a Translator once, and anything that speaks DCP can drive it: the iPad app today, your own product tomorrow. Swap the hardware and everything upstream keeps working.
01 · Software
You press a control
On the Dectrl iPad app, or in a client you write yourself, in any language.
02 · DCP
One vocabulary
The command crosses your local network as a function call or a value read. No account, no cloud.
03 · Translator
Wired to the machine
It turns the call into whatever the hardware speaks: GPIO, I2C, SPI, or UART.
04 · Hardware
The machine moves
A relay, a sensor, a display, a robot arm. It confirms the call, so the control only shows success when it really happened.
Device control has rails. It has never had a platform.
The buses already work. What nobody built is the layer above them: one way to drive a machine that stays the same no matter what the machine speaks. Without it, every project starts over.
Every bus is its own integration
I2C is not SPI is not UART. None of the work transfers.
Every device grows an app
A second product, with a second release cycle and a second set of bugs.
Every app waits in a queue
A build, a submission, and a review, for a device three feet away.
Describe the device once. The controls are a consequence.
You write handlers. The Translator wires into whatever your machine already speaks and turns them into a descriptor: a plain list of functions and variables, with their types and units. Anything that speaks DCP can ask for it and build a control surface. Nobody designs a screen.
GPIO
Relays, buttons, LEDs, limit switches
I2C
The common sensor bus
SPI
ADCs, displays, radio modules
UART
Plain serial, the universal fallback
GPIO and I2C are supported directly. SPI and UART work today with firmware you write in Python or C++.
video_switcher.py
from dectrl import Translator
dectrl = Translator(
device_type="com.you.video-switcher",
display_name="Video Switcher",
)
# one function -> one control
@dectrl.function
def Fade_To_Black(state: bool):
switcher.ftb(state)
# one variable -> one value card
@dectrl.variable(poll=1.0)
def program_input() -> str:
return switcher.program()Build the device. The control surface is already solved.
Prototype against it today, and ship the same protocol in your own product when you are done.
Free
To use with the devices you build
$49.99 once
Optional, for the advanced features
No subscription
To speak DCP, or to run the app
