OTDeck

Docs · Safety and teams

OTDeck for teams

Team ($149 per seat per year) is Pro plus a shared device list that every engineer’s OTDeck reads, a team policy that nobody can weaken on their own computer, one licence key per person, and managed deployment. The overview page: OTDeck for teams.

Seats and keys

Whoever buys Team on otdeck.com chooses the number of seats and becomes the billing manager. In the Polar customer portal (Settings → Licence → Devices, seats and invoices) they assign each seat to a teammate’s email; the teammate claims it and gets their own OTDECK-… key for up to 3 computers, activated like any key (Licence and activation). A seat taken back stops working at the next weekly check of that key; the computer keeps Free.

Shared projects

Settings → Team → the source, one of:

  • a file on a shared drive (/Volumes/Shared/otdeck-team.json, \\server\share\otdeck-team.json);
  • a folder, e.g. a git checkout: every *.json file directly in it is read (hidden files and subfolders are not), ids must be unique across the files and the strictest policy of all files applies;
  • an https URL (fetched without credentials; plain http is refused).

OTDeck re-reads it every 15 minutes (Reload at once) and keeps the last good copy while the source is offline. Team connections show a Team badge and are read-only in the connection dialog.

Passwords and key passphrases are never in the file (a file with one is refused). The first time you connect to a team connection that has a user name, OTDeck opens its dialog for your own password; it is kept in your keychain and withheld again if the file later points the connection at another host or weaker security.

Team policy

The policy block of a version 2 file:

Key Values Effect on every member’s computer
productionReadOnly true / false every production team connection is read-only, whatever its own readOnly
agents all (default), non-production, none what AI agents (otdeck-mcp) may read; hidden connections are not listed, are refused by name, and their trend and recorded series are left out
noAgentWrites true / false AI agents may read but never ask to write to the team’s devices (team connections and personal ones pointing at them); needs OTDeck 0.2 on every member’s computer, since 0.1 refuses a team file with keys it does not know
noPersonalCopies true / false no personal connection may point at a team device (no Duplicate as personal)

Always on, without a key: a personal connection to the same device or broker as a team connection (same protocol and host and port, the same serial port, or the same OPC UA server host and port) gets at least the team connection’s role and read-only switch, and the connection dialog shows why those fields are fixed. Your own values stay in profiles.json, so a connection is yours again when it no longer matches the shared project. A BACnet connection matches by its device or router address, by its device instance when it discovers by broadcast, and a BACnet/SC connection by its hub (every device behind that hub). Limits: a host name and an IP address of the same device are not matched (different spellings of one IP address or serial port are); a broadcast BACnet connection without a device instance names no device and is not covered by the policy, so pin team BACnet connections to an address or an instance; the policy guards against mistakes, not against someone who edits OTDeck’s files or removes the source (an administrator can pin it, below). A shared project file never carries a BACnet/SC device UUID: each member’s node takes the UUID its own certificate names.

Settings → Team shows the team’s name, who maintains the file and the policy in force.

Making the file

Settings → Team → Export for team…:

  • the team’s name and who maintains the file (shown to members);
  • the policy (production read-only, no personal copies, agent access);
  • your connections (some, or all), and optionally the connections of the shared project in use, with their ids, to extend it without editing JSON.

The file is version 2 and has no secret. A fixed MQTT client id is left out (members sharing one would push each other off the broker; each gets its own otdeck-… id), as is a BACnet/SC device UUID. Format details and an example: https://otdeck.com/teams

Managed deployment

On each machine, without anyone pasting anything:

  • the key: OTDECK_LICENSE_KEY, or the first line of license.key in /Library/Application Support/OTDeck/ (macOS), %ProgramData%\OTDeck\ (Windows), /etc/otdeck/ (Linux);
  • the shared project: OTDECK_TEAM_SOURCE, or the first line of a team-source file in the same folder. Settings → Team then shows the source as set by the administrator and it cannot be changed there.

Write log

Every MQTT publish, Modbus write and OPC UA write OTDeck sends, and every one its guard refuses, is appended to audit/writes.jsonl in the app directory: time, OS user, OTDeck version, connection, role, team flag, action, target, value (up to 256 characters), whether the name was typed, result and error. Each line carries the SHA-256 of the line before (prev), so an edited, inserted or removed line is reported in Settings → Write log; at 16 MB the file is renamed and a new one continues the chain. Export… writes all of it, oldest first. The log is on every plan and stays on the computer.