Space Works hardware
A signed Device Adapter API for makerspace hardware
The Space Works Device Adapter API is a vendor-neutral, Ed25519-signed contract that lets a small bridge program next to your hardware report status and receive commands, while Space Works stays the system of record.
An adapter sits next to a printer, door, shelf pointer or kiosk, calls out to Space Works over signed requests and manages many targets through explicit bindings. Space Works ships the contract, the JSON Schemas, a conformance kit and the staff console. Vendor adapters live in their own repositories and you or others write them. Space Works stores, shows and notifies; automation rules run in the adapter.
The signed Device Adapter API, its JSON Schemas, conformance kit and staff console ship; no vendor adapters, firmware or devices ship.
Works in: Space Works platform
01 · Capabilities
What Device Adapter API does
Each adapter generates its own Ed25519 key, enrols once with a one-time token and signs every request with a timestamp, single-use nonce and body hash; there is no bearer token.
Bindings join an adapter to a machine, machine type, storage location, item, box, door or the whole space, with only the capabilities it declared.
Capabilities cover status and telemetry, events, job dispatch and file fetch, pause, resume, cancel and power controls, access decisions, sessions, usage, consumables and maintenance reports.
Access decisions for card QR, NFC tag or PIN are made by the server with the existing permission, induction and session rules; the adapter must fail closed when offline.
With the offline cache on, a door adapter gets a signed list of allowed members that holds only hashed NFC identifiers and lasts 15 minutes by default.
Camera watch runs only while someone watches, with listen-only audio by default, plus timelapses, detections and telemetry charts.
Everything is off until the space switches on device adapters, and each capability has its own child switch.
A conformance kit with a signed client and mock adapter checks replay protection, idempotency and command leases against a dev server.
02 · Step by step
How Device Adapter API works
Switch on device adapters for the space, then enrol a bridge and copy its one-time token.
Your adapter generates its key, completes enrolment and calls hello with the capabilities it implements.
Bind the adapter to machines, shelves, doors or the space on its Bindings tab.
The adapter polls, reports status and executes leased commands; staff watch and control it from the console.
03 · Roles
Who uses it
| Role | What they can do |
|---|---|
| Staff who manage devices | Enrol, bind, revoke and control adapters, with controls audited under their name. |
| Adapter developer | Build a bridge in any language against the published schemas and prove it with the conformance kit. |
FAQ
Device Adapter API: questions and answers
Does Space Works ship adapters for printers or door locks?
No. Space Works ships the Device Adapter API, schemas, conformance kit and staff console; vendor adapters for printers, doors or shelf pointers are separate programs you build.
Does Space Works have built-in NFC, RFID, door lock or MQTT support?
No. Space Works has no built-in NFC reader, RFID, door lock or MQTT integration; an adapter you build can forward scans and request access decisions, and the offline access cache stores NFC identifiers only as hashes.
How does a Space Works adapter authenticate?
A Space Works adapter signs every request with its own Ed25519 key, a fresh nonce and a timestamp within 300 seconds of the server clock; replays are refused.
Free and open source
Run it on your own server
Space Works is free under AGPL-3.0-or-later. One command installs it on a 64-bit Linux server, and every area can be switched on later.