Space Works hardware

Universal device adapters: connect your own machines

Space Works device adapters are small signed bridges, such as a Raspberry Pi or ESP32 program, that connect any machine, door, scanner or sensor to Space Works through one vendor-neutral Device Adapter API.

Instead of a fixed list of supported brands, Space Works publishes one universal contract. An adapter sits next to the hardware, signs every request with its own Ed25519 key, declares the capabilities it really implements and manages many machines, shelves or doors through explicit bindings. Space Works stays the system of record: access decisions, sessions, jobs, usage and faults all run through the same workflows and audit trail as the rest of the platform, so a 3D printer, a laser cutter, a CNC router or a door controller you wire up yourself behaves like a first-class part of your space.

Universal device adapters connect any machine, including 3D printers, laser cutters and CNC routers, plus doors, scanners and sensors. The Device Adapter API, its schemas, the staff console and the conformance kit ship in Space Works; brand adapters such as Bambu Lab, Prusa, OctoPrint and Klipper are separate bridges, and none is bundled yet. Space Works Machines ships manual and simulated printer connections today, with OctoPrint, Moonraker, Bambu Lab and PrusaLink coming soon.

Works in: Space Works platform, Machines

01 · Capabilities

What Universal device adapters does

  • One contract for every vendor: Bambu, Prusa, OctoPrint, Klipper, laser and CNC controllers, shelf pointers and door controllers all speak the same Device Adapter API v1.

  • 3D printers are machines like any other: an adapter can lease approved print jobs, fetch the file, report progress and send back measured filament use, and the same works for lasers and CNC routers.

  • Status and telemetry use one normalised set of states (idle, preparing, running, paused, finished, failed, error, offline, maintenance) with progress, ETA and typed error codes.

  • Job dispatch and file fetch let an adapter lease approved machine jobs, report progress and send a terminal report with measured consumption back to the machine-service workflow.

  • Staff controls (pause, resume, cancel, power) travel as audited commands with a lease, an acknowledgement and a result.

  • Access for machines and doors: a member's card QR, NFC tag or PIN is sent to Space Works, which decides with the real permission, induction and session rules and answers allow or deny with a reason and a time limit.

  • Metered sessions and usage logs, consumable levels and runout, sensor readings and alarms, scans and maintenance faults all arrive as typed, append-only events.

  • Shelf pointers, label printing, camera watch over WebRTC with no recording by default, kiosk self-checkout, an offline access cache, remote config and time sync are capabilities an adapter can choose to implement.

  • Every command, event and payload has a published JSON Schema, generated from the same registry the server validates with, and a conformance kit proves an adapter before it goes live.

  • The standalone Space Works Machines app has its own printer connections: manual and a simulated printer ship today, and OctoPrint, Moonraker/Klipper, Bambu Lab and PrusaLink are listed as coming soon.

02 · Step by step

How Universal device adapters works

  1. Turn on Device adapters for the space (machines.integrations, off by default) and enrol a bridge from Machines, then Device adapters; the bridge keeps its private Ed25519 key.

  2. Bind the bridge to the machines, machine types, shelves, boxes or doors it serves, and choose which declared capabilities each binding uses.

  3. On start the adapter says hello with its kind and capabilities, then polls: it posts status, leases commands, executes them and acknowledges, and sends events as they happen.

  4. Run the conformance kit from the Space Works repository against a development server; it checks signing, replay refusal, idempotent events, command leases and typed refusals.

  5. Staff then see status, controls, sessions, camera and faults in the console, and every effect is recorded through the workflow that owns it.

03 · Roles

Who uses it

RoleWhat they can do
Space or machine managerSwitch device adapters on, enrol and revoke bridges, bind them to machines and doors, and use the staff console.
Adapter builderWrites a bridge in any language against the published schemas and proves it with the conformance kit; vendor credentials stay on the bridge.
MemberUses the machine or door as usual: scans a card QR, taps an NFC tag or enters a PIN, and Space Works decides access.

FAQ

Universal device adapters: questions and answers

Can I connect my own 3D printer, laser cutter or CNC machine to Space Works?

Yes, through a device adapter: a small bridge program you run next to the machine that speaks the Space Works Device Adapter API. Space Works ships the API, the schemas, the staff console and a conformance kit; the bridge for your specific machine is a separate program you or the community write.

Does Space Works include ready-made adapters for Bambu Lab, Prusa or OctoPrint?

Not yet. Vendor adapters live in their own repositories and speak only the published contract; none is bundled with Space Works today. The standalone Space Works Machines app lists OctoPrint, Moonraker/Klipper, Bambu Lab and PrusaLink connections as coming soon.

Does Space Works automate machines on its own?

No. Space Works stores, shows and notifies, and applies only the per-machine safety settings such as idle auto-off and maximum session length. Rules like pausing a print after a detected failure belong in the adapter.

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.