Repository navigation
Design: Devices and Rights
Status: design (2026-11-27), decided by the owner; not built yet. It replaces the separate Access area of Door Access and widens machine groups in Multi-Tenant Hub.
The hub knows two kinds of things, and one set of rights over them.
- Machines are what you make something on: 3D printers, lasers, label printers. They take jobs; they are on Now, Machines, Queue and farm, Jobs and Prepare.
- Devices are what the space itself runs on: door controllers, Stream Decks, cameras, smart plugs. Owner, 2026-11-27: "door controller is niet echt een maker machine, zelfde voor een stream deck. We zijn onderdeel van de maker space maar geen machines waar je wat op maakt". They take no jobs and are not on Now or Machines.
| Machines | Devices | |
|---|---|---|
| Examples | Prusa MINI, Ortur laser, DYMO LabelWriter | Door controller, Stream Deck, camera, smart plug |
| Where | Machines, each its own page | Space → Devices, each its own page |
| Added with | Add device, choosing "a machine" | Add device, choosing "a device for the space" |
| Protocol | Prusa Connect's, through the agent or the machine's own firmware | The same, where the device dials the hub (door controller); a camera stays RTSP or USB as now |
Add device replaces Add machine. Its first step asks which of the two it is; pairing with a code stays as it is.
Space → Devices lists the devices by type. A device's page holds what belongs to that device:
- door controller: its locks (name, in use or not), the switch per door, firmware and its update, Open per lock;
- camera: as the Cameras page has it now;
- smart plug: what hangs behind each channel (Devices in a Tree, "Powered by");
- Stream Deck: its keys (Stream Deck).
The Space tabs Access and Cameras go; their content moves to Devices. Watch → Cameras (looking at the streams) stays for members (proposal, not yet confirmed by the owner).
Owner, 2026-11-27: Instance is "waar alle hubs en door controller … verschijnen … daar kennen we ze ook aan de juiste space toe".
- Instance (instance admins only) lists every device that has dialled the hub: machines, door controllers and cameras devices, whether through an agent or on their own.
- They are grouped per space ("Organisation · Space"). A card Waiting for a space comes first: devices that have registered and are in no space yet, each with the pairing code it shows, so the admin can check it is the one in front of them.
- Per device: its name, type, how it connects (the agent's computer, or "direct"), connected or not, last seen, and one select with the spaces and a button: Add to space for a waiting device, Move for one in a space.
- Add to space does what pairing with the code does in that space (the same one statement); the code stays the way a space admin adds a device in their own space.
- Move is the move a machine's page has (decision), with its confirm, refused while a job is open.
- The Agents card stays below: per agent its release, computer, connection and its own page.
- An agent is placed as a whole. Owner, 2026-11-27: "een agent in een space plaatsen moet al zijn devices ook in die space zetten, want die hangen er onder en hebben geen keuze". The select is on the agent's row; its devices show which agent they hang under and have no select of their own. Place in space takes every device of the agent: a waiting one is added, one in another space is moved; one with a job open stays where it is, and the page says which. A device on its own (a Prusa printer, a door controller) keeps its own select.
- A device's own management is on Instance, not in the space. Owner, 2026-11-27, of the door controller's card (connection, firmware, locks, its page, update): "hoort niet in space/access maar in instance". Firmware and its update, the link to the device's page and its connection are the instance admin's; the space keeps what its people use (the locks, Open).
The old rule kept door access apart from machine permissions. Owner, 2026-11-27: that "is niet logisch toch?". Rights are now one model in Space → Permissions.
- Groups replace machine groups. A group holds machines and single locks (by their name, "Locker 1"), not whole door controllers. Who may use a group is ticked per person, as now.
- Machines in Permissions is listed per type: 3D printers, lasers, label printers, doors (each lock in use, with open to every member / needs permission). Owner: "kunnen we aanpassen zodat het per type staat incl deuren".
- A lock has no use or operate and no training: having the right means you may open it.
There are two kinds of time, and both must allow it:
- When the space is open (Space → General, Opening hours): weekly hours, and closed days (holidays, vacations) from the start. Owner: "Gesloten dagen: feestdagen en vakanties nu meteen meenemen".
- When a group gives the right (Permissions, per group): several time windows per group ("ma–vr 09:00–12:00 and 19:00–22:00"). Owner: "Meerdere tijdvakken per groep -> ja". A group without windows gives its right at all times.
All in the space's time zone. Owners and admins always have access, also outside both. Owner: "altijd toegang".
- A door: Open outside the times is refused, with the reason.
- A machine: a new job does not start outside the times. A running job is never stopped when a window ends.
- The hub checks at the moment of Open or Start. The devices know nothing of rights: a door controller only gets
OPEN_LOCKwith its 5 sexpires_at(Door Controller, part 7).
- Badges (RFID) belong to a person: under Members. Not designed further.
- The door log: as events per lock, shown on the door controller's page and in the Audit log.
- Whether a member may open a door from their phone (Open on the device page is for staff now).
Home · maker-connect.xyz · for makerspaces
Guides
- Getting Started
- Proxmox
- The Agent
- Updates
- Klipper
- Lasers
- Label Printers
- Cameras
- Materials
- Machine Profiles
- Supported Machines
- Hardware
- Similar Projects
Design
- House Style
- Hub Core v2
- Devices in a Tree
- Multi-Tenant Hub
- Consumables and Stock
- Print Farm
- Devices and Rights
- Door Access
- Door Controller
- The Website
- Guides
- Stream Deck (idea, WIP)
- Roadmap
Code