Docs · Commissioning tools
Commissioning report
At the end of a commissioning visit OTDeck makes the paper you hand over: one HTML file with what was connected, what was written, which alarms were acknowledged, how the values moved and what they read at the end, with a signature block. Open it in any browser and print it, or save it as PDF through the system print dialog. The report is part of OTDeck Pro.
Make one
- Open Commissioning report… from the command palette (⌘K / Ctrl+K, type “report”), or the button in Settings → Write log.
- Fill in Title, Project, Site, Engineer and Company.
OTDeck remembers them for the next report (in
settings.json). - Pick the Period: the last hour, the last 8 hours, today, or a custom start and end (at most 31 days).
- Tick the Connections in the report (the open ones are ticked) and the Trend charts to draw (every series on the trend panel is ticked, up to 16). Optionally pick a Snapshot comparison: a snapshot taken before, and one taken after or “the connection now”.
- Save report… asks where to save the file
(
commissioning-report-<site>-<date>.html).
What is in it
- Connections: name, protocol, address, role (production is marked)
and the state when the report was made. For an open connection also
what the device or server says about itself:
- BACnet: each device’s instance and name, address, vendor (with the ASHRAE vendor number), model, firmware, application software and protocol revision;
- OPC UA: the security policy and mode, the server’s manufacturer,
product, software version, build number and product URI (from
Server/ServerStatus/BuildInfo), the server certificate’s subject and thumbprint; - Modbus: the unit id, the link (TCP or RTU with baud and parity), the number of polled ranges;
- MQTT: the broker, the protocol version, the client id and, when the
broker publishes it,
$SYS/broker/version.
- Writes in this period: every entry of the write log of the chosen connections: time, action, target, old → new value, who (your user name, or “AI agent” with the agent’s own name and the reason it gave), whether the production name was typed, and the result in the write log’s own words (ok, refused, failed with the device’s error, not allowed). Above the table: the result of checking the write log’s hash chain (intact, or the first line that was changed afterwards). The old value is what OTDeck showed just before the write (the watch list or the last poll); writes logged by versions before 0.7 have none and show “—”. A Modbus write into a polled range shows both sides the same way, in engineering units with the range’s unit (“65.0 °C → 70.0 °C”), with the registers underneath (“raw 650 → 700, uint16”).
- Alarms acknowledged: OPC UA Acknowledge/Confirm and BACnet AcknowledgeAlarm sent from OTDeck in the period (from the write log).
- Watch rule events: every state change of the
watch rules of the chosen connections in the period
(time, rule, normal → active → acknowledged → normal, the value and the
condition), from
rule-events.jsonl; the newest 1 000. - Trends: one chart per chosen series over the period (inline SVG, thinned to 600 points with the peaks kept), with the number of values, minimum, maximum and last value. The time axis fits the values present (at least a minute): five minutes of data in a one-hour report fill the chart, and the caption says which part of the period it shows. Points from before a restart of OTDeck are on a grey band marked “before restart”. The chart shows what the trend panel holds: up to one hour per series.
- Values at the time of the report: the OPC UA and BACnet watch lists, the polled Modbus registers and the trended MQTT values of the open connections, with quality and time, grouped by connection. Decimal values are shortened to at most 7 significant digits.
- Snapshot comparison (optional, only when chosen in the dialog): a snapshot taken before the visit compared with one taken after it, or with the connection now; only the values that changed, appeared or disappeared, grouped as the device groups them, and any change of the device identity. See Device snapshots.
- BACnet alarms (only when a BACnet connection is in the report):
the alarms still open or waiting for an acknowledgement when the report
is made (from the alarm monitor), the event notifications OTDeck
received in the period (from
bacnet-events.jsonl, marked received, not authenticated: BACnet does not sign them) and, with Configured alarms (enrollment) ticked in the dialog, the objects of each device (up to 8 per connection) that report events, with their limits and warnings. The acknowledgements themselves are in section 3. See BACnet guide. - Point checkout (optional, Pro, only the sheets ticked in the dialog, up to 16): per sheet the progress (N of M checked, pass, fail, skipped, command tests, alarm tests) and every point with its address, expectation, observed value, result, note, time and user, its command test in words and, on a sheet with BACnet alarm tests, an Alarm test column: the verdict (pass, fail, timeout, stopped, interrupted), the transitions seen with their times, the notification that reached OTDeck with its class and priority (or why it was not checked) and the reason of a fail. At most 2000 rows in all. See Point checkout.
- Signatures: the commissioning engineer and the customer representative, each with name, signature and date lines (numbered after the last optional section that is present).
Safe to open and to send
- The file is self-contained: inline CSS and SVG, no script, no fonts or
images from the web, and a Content Security Policy (
default-src 'none') that forbids the browser to load anything. Opening it makes no request. - Device names, values, agent reasons and your own fields are text, never
markup:
<script>in a BACnet object name prints as<script>. Characters that are invisible or reorder text (bidi controls such as U+202E, zero-width characters, control characters) are written out as\u{202E}, the same rule as the agent write dialog, so a value cannot print as something else. - Limits: 64 connections, the newest 2 000 writes and 500 acknowledgements of the period (the report says when some were left out), 16 charts, 2 000 values (500 per connection), 512 characters per cell. A report over 16 MB is refused with a message to pick a shorter period or fewer series.
Not in it
- No MCP tool makes a report: it is for people. Agents read the same data through their own read tools.
- Values a device sent while OTDeck was closed, and history from the device’s own historian (use OPC UA history read or a BACnet trend log and export it, Pro).