SURNIA — Device Manager & Install Admin surface · fixed cameras and patrol-car (mobile) units · companion to the Install & Configure wizard

ADMIN DEMO
SIMULATION — SYNTHETIC DATA ONLY. Device-management design draft, not in the 1.2.8 code. Nothing on this page is a real device, plate, or reading. Demo clock: 23:05 CT.

Device inventory

Every sensor the system knows: fixed cameras on poles and patrol-car units on the road. A mobile unit is one sensor row carrying its cameras — counted as a vehicle, never as extra cameras. Status below is what the server sees: heartbeat, tunnel, hot-list copy, and the edge buffer that drains-or-deletes — a car is a buffer with a short fuse, never a second plate store.

27
FIXED CAMERAS · CABOT 9 · WARD 8 · SHERIFF 9 · HUMNOK 1
3
MOBILE UNITS · 10 CAMERAS BETWEEN THEM
28 of 30
SENSORS REPORTING · 1 SILENT · 1 OFFLINE
14 days
NON-HIT RETENTION (CABOT) · STATE CEILING 150

Mobile units MOBILE

Fixed cameras — Cabot PD (this server)

CameraSiteStatusNetwork pathHot-listLast readReads today

Partner agencies run their own servers under the Compact: Ward PD — 8 fixed cameras · Lonoke Co. Sheriff — 9 fixed cameras · Humnoke — 1 fixed camera. Their devices are managed there, not here; counts above stay truthful about which is which.

Plug in a patrol-car unit

The same mapping rule as a fixed camera, on wheels: a unit becomes a place in the system when three strings agree — the unit id registered in cameras.json, the edge camera names in the in-car computer, and the agency tag set at provisioning. The wizard does not finish until the verification checks pass against the real surfaces.

IDENTITY — WHO THIS UNIT IS
Pattern MOB-UNIT-NN (sheriff: MOB-SUNIT-N). The office assigns it — the next free number on the fleet list, never invented at the car. Lands in cameras.json; every read this unit sends is stored under it.
Set only via provisioning (provision.py set-camera-agency). In a multi-agency install an untagged unit's reads are refused at ingest.
⚠ One-way door: the agency tag is set once, at provisioning, and the tool refuses to retag. A unit that genuinely changes agency gets a new unit id. Check the tag before you continue.
Plain language for humans. RECORD ONLY — the engine keys on the unit id, not the vehicle.
Fleet asset record. RECORD ONLY
CAMERAS — WHAT THE UNIT SEES WITH
Typical patrol fit is 2–4. The unit still counts as one sensor row in the console.
PositionRegistered camera idEdge camera name (in-car computer)Match

The single most important numbers on this form: each camera's edge name must equal its registered id, character for character — the same rule as a fixed camera's Frigate name. If they differ, the server sees an unregistered camera and refuses the reads. All of the unit's cameras roll up to its one sensor row.

NETWORK — HOW READS GET FROM THE CAR TO THE SERVER
Not generated yet. Each unit holds its own keypair under the hub-and-spoke rules — revoking one unit never touches another. The private key never leaves the in-car computer.
Holds the tunnel up whenever the car is awake. RECORD ONLY
Data plan sizing ASSUMPTION — PLAN FOR IT: 5,000–15,000 reads per car per day ≈ 15–45 GB per car per month. Size the plan per car or pool it; the Stage 0 pilot measures the real rate.
Recognition runs in the car: detection, plate recognition, and hot-list matching happen on the in-car computer. What crosses the tunnel is read events only — metadata plus plate crop, ≈102 KB per read. No video is backhauled or retained. When the tunnel drops, the encrypted edge buffer holds reads and drains-or-deletes: on reconnect it drains in timestamp order; anything older than the 14-day retention cap is deleted at the edge, unsent.
VERIFICATION — THE WIZARD DOES NOT FINISH UNTIL THESE PASS

Each check runs against a real surface — no invented endpoints. A failed check says what to do in plain language and can be re-run.

D1 · Tunnel up

The unit's WireGuard handshake completes and the server sees its first heartbeat.

WAITING
D2 · Registry + agency check

The unit id is in cameras.json AND carries the confirmed agency tag — ingest refuses an untagged unit, so this must pass before any test read.

WAITING
D3 · Hot-list sync

The unit pulls the current ACIC hot list from the server and reports its copy current — version and entry count shown, never hidden.

WAITING
D4 · Test read lands, clock honest

A synthetic test plate sent from the car appears as a read under the new unit id, with clock skew ≤ 5 s — the actual skew is shown, not just a tick.

WAITING
D5 · First real read

A genuine plate read arrives from patrol. May complete minutes later, when traffic passes — the unit may be left as registered, awaiting first read, which is a truthful state, not a failure.

WAITING
DONE — THE UNIT IS A PLACE IN THE SYSTEM

OPERATING SURFACE Everything above was the operating surface: the form fields and pickers the installer actually worked in. Nobody typed, or will ever edit, a config file.

RECORD VIEW — READ-ONLY, NOT AN EDITOR What the engine itself now holds — the whole of it. This fragment is shown so an admin can see the record; it is not a place anyone works:


          

Fields marked RECORD ONLY live in the install record for the humans who maintain the fleet; the engine does not read them yet, and this page will not pretend otherwise. The unit appears in the operator console badged MOBILE from its first read.

Watch it work — the PLT 731 hit, step by step

First, the installer types the unit's connection settings into the settings form below — plain fields and pickers, no config files — and saves them. Then the replay of the night the operator console already records: MOB-UNIT-12 comes online, syncs its hot list, patrols, loses its tunnel, buffers, drains — and reads PLT 731. Every stage below is a stage the real system performs; the audit entries that appear are the console's own #88413 and #88414, hashes and all. Step through it, or press play.

SIMULATION — PROPOSED SETTINGS SURFACE. This settings form is a proposed surface in this demo: the connection design behind it is settled (NETWORK.md §10, INTERFACE.md mobile addendum), but no shipping screen collects these fields yet. Data path on this page: Variant A — CURRENT BUILT DESIGN (NETWORK.md §10): recognition runs in the car; read events travel by LTE + WireGuard, store-and-forward, into the city store. Where the real surface lives: the real mobile settings surface is being built as the SURNIA Mobile app's settings screen (a separate project, build in flight) — this form is the Variant A design sketch it and the reviewers can judge against. Fields marked SPEC GAP — PROPOSED DEFAULT are ones the spec is silent on; the value shown is a proposal for the Commission/Council, not settled design. Synthetic data only.

Connection settings — MOB-UNIT-12 SENSOR CLASS: MOBILE — IN-CAR OPERATING SURFACE — the installer works here

How this unit's data moves — Variant A (current built design):
Travels over LTE + WireGuard: plate-read events only — plate text, time, place, confidence and the plate crop (≈102 KB per read) — plus the hot list coming down from the city server.
Stays in the car: the live camera video (never backhauled, never retained) and, while the tunnel is down, the buffered reads — encrypted on the in-car computer until the tunnel returns (drains-or-deletes).
Not this: a FIXED — POLE camera has no computer of its own; the server-side Frigate pulls its RTSP stream through its tunnel and recognition happens at the server. A car camera is the opposite shape — recognition on board, only reads travel. Never confuse the two paths.

This is the human form an installer or admin fills in — labels, pickers and plain-language defaults. Nobody edits a config file. Unit identity, agency tag, camera names and the keypair itself live in the plug-in wizard (Add a mobile unit); this form is only about how the unit connects.

1 · THE CAMERAS IN THE CAR — HOW THE IN-CAR COMPUTER REACHES THEM
The spec fixes addressing for fixed sites (camera VLAN, address recorded at the site survey — NETWORK.md §4, §9) but is silent on addressing inside a car. SPEC GAP — PROPOSED DEFAULT
Cameras can reach only the in-car computer — never the internet, never each other. NETWORK.md §4 rules, applied in the car. The exact range is SPEC GAP — PROPOSED DEFAULT
Recognition runs in the car, so the pull happens in the car — the §5 pull model, moved to the edge. NETWORK.md §5 + §10.
A GPS antenna is in the reference kit, but no spec says how a mobile read's location is produced or entered. SPEC GAP — PROPOSED DEFAULT, NOT SETTLED Inventory M10; MOBILE-ALPR-SCOPE §3.2.
RTSP ONVIF
The only ports the computer may open on a camera. NETWORK.md §4: RTSP 554/tcp, ONVIF 80/tcp.
2 · THE ROAD BACK — HOW THE CAR REACHES THE CITY STORE
The one address the car ever dials: the server hub at the justice center. Hub-and-spoke, per-unit keypair. NETWORK.md §4 + §10. The street address and port themselves are not named in the spec. SPEC GAP — PROPOSED DEFAULT
Keys are generated at provisioning; the server keeps the public key only and the private key never leaves the car. Revoking one unit touches no other. NETWORK.md §4; INSTALL.md §6 via INSTALL-UI-SPEC.
The in-vehicle router holds a persistent tunnel over LTE/5G; the carrier sees ciphertext to one city endpoint, never plate data. NETWORK.md §3 Option 3 + §10.
Where read events are delivered once the tunnel is up. The spec names the door, not this address. SPEC GAP — PROPOSED DEFAULT
The only ingest path there is — the same door fixed cameras use. INTERFACE.md + mobile addendum.
The spec names no host, IP, or port the car sends to (inventory M7). 8080 is the Janus default on the server side — carried here as a proposal only. SPEC GAP — PROPOSED DEFAULT, NOT SETTLED
Role system, one bridge per unit, is spec'd; how the credential itself is provisioned for a car is not stated anywhere. SPEC GAP — PROPOSED DEFAULT, NOT SETTLED Inventory M8; INTERFACE.md mobile addendum.
Hub-and-spoke means the car must hold the hub's public key; no spec names the field or how the car receives it. SPEC GAP — PROPOSED DEFAULT, NOT SETTLED Inventory M15; NETWORK.md §4.
A spoke may reach only the server — that rule is spec'd. The address itself and the AllowedIPs set are not assigned for mobile units anywhere. SPEC GAP — PROPOSED DEFAULT, NOT SETTLED Inventory M16; NETWORK.md §4.
The spec says only that the router "holds a persistent tunnel". No keepalive, MTU, or reconnect value exists in any document. SPEC GAP — PROPOSED DEFAULT, NOT SETTLED Inventory M17; NETWORK.md §10.
Keys are generated at provisioning (the wizard's Network step) — but no stated procedure carries a mobile unit's public key into the server's config. SPEC GAP — PROPOSED DEFAULT, NOT SETTLED Inventory M18; NETWORK.md §4.
The rule is spec'd; there is no admin screen or procedure for revoking or rotating a key yet — proposed surface. Inventory M19; NETWORK.md §4 + §10.
Carrier economics are scoped ($40–$50/car/month planning norm; Cabot's existing contract unverified) but no APN, SIM, or carrier field is named anywhere. SPEC GAP — PROPOSED DEFAULT, NOT SETTLED Inventory M22; MOBILE-ALPR-SCOPE §4 item 6.
The scope requires this decided on the record before a management field can exist; it is shown here as an owed decision, not a setting. Inventory M21; MOBILE-ALPR-SCOPE §4 item 5.
A read with a wrong clock is a defective record: skew over 5 seconds is flagged, and retention runs from the earlier clock. NETWORK.md §5 + §10.
An optimisation, not a requirement. NETWORK.md §10 [ASSUMPTION — option].
Planning figure only: 5,000–15,000 reads/car/day at ≈102 KB per read. Stage 0 measures the real rate. NETWORK.md §7 + §10 [ASSUMPTION].
3 · HOT LIST — WHAT THE CAR MATCHES AGAINST
Janus is the distribution point for the file the agency receives from ACIC under its MOU. NETWORK.md §10; MOBILE-ALPR-SCOPE §3.3.
ACIC sends the file four times daily; the unit syncs the current list whenever it is connected. NETWORK.md §10. · Variant A (current design).
That a unit "syncs whenever it is connected" is spec'd; the pull endpoint, protocol, and credential are named nowhere. SPEC GAP — PROPOSED DEFAULT, NOT SETTLED Inventory M32–M33; NETWORK.md §10.
POLICY DECISION OWED — not a setting. Whether an officer may act on a hit from an old copy, and what age is too old, is a decision the scope deliberately leaves to the Commission/Council. This demo invents no value for it: the shipped behaviour is that staleness is shown, never hidden. Inventory M35; NETWORK.md §10 [ASSUMPTION]; MOBILE-ALPR-SCOPE §3.3.
4 · RETENTION & STORE-AND-FORWARD — WHAT THE CAR HOLDS, AND FOR HOW LONG
The Cabot proposal: 14 days. Distinct numbers, kept distinct: the current vendor keeps reads 30 days; the Arkansas ceiling is 150 days (§§12-12-1801–1808). INTERFACE.md; INSTALL-UI-SPEC (e) RETENTION_DAYS default 14.
The buffer holds no query interface and shows no screen — it drains-or-deletes, and is never a second plate store. NETWORK.md §6 + §10. · Variant A (current design).
The 32 GB figure is an [assumption] for fixed edge sites; no mobile buffer size, event cap, or full-buffer behaviour is stated. SPEC GAP — PROPOSED DEFAULT, NOT SETTLED Inventory M41; NETWORK.md §6 + §10.
"Encrypted at rest" is spec'd doctrine; no key source, algorithm, or provisioning step is named anywhere. SPEC GAP — PROPOSED DEFAULT, NOT SETTLED Inventory M42; NETWORK.md §6 + §10.
The principle is stated for fixed sites ("throttled so it cannot starve live reads"); its value, unit, and home are never named, and §10 does not carry it to mobile. SPEC GAP — PROPOSED DEFAULT, NOT SETTLED Inventory M43; NETWORK.md §7.
The doctrine is spec'd ("within one heartbeat interval"); the interval is given a value nowhere for mobile units. SPEC GAP — PROPOSED DEFAULT, NOT SETTLED Inventory M46; NETWORK.md §6 + §10.
Tied to the retention cap above: an outage must never let data outlive the cap. NETWORK.md §6 + §10.
A hit discovered late is still a hit — presented as late, with the delay visible. NETWORK.md §6 + §10.
Not saved yet — the replay's first step uses the values on this form.

Step 0 of 12
🚓 MOB-UNIT-12in-car computer · 4 cameras
LTE
carrier
WireGuardtunnel · per-unit key
POST /reads
only door
City serverJanus · city-owned store
hash-chained
Audit chainevery event, linked
MOBILE — IN-CAR Data path — Variant A (current built design): over the LTE + WireGuard leg travel read events only (≈102 KB each) and the hot list coming down. The live video never leaves the car; buffered reads stay in the car, encrypted, until the tunnel returns.
Ready. Press Play or Next step — the unit is dark, its tunnel is down, and its hot-list copy is from the previous shift.

In the car

Unit state
Off — dark
Tunnel
Down
Hot-list copy
Previous shift's copy · stale
Edge buffer
Empty
Reads sent
0
⚠ HOT-LIST HIT — IN-CAR ALERT
PLT 731
Detective hotlist entry — vehicle used in a series of catalytic-converter thefts
Match confidence 95.8% · Hot list: 214 entries · synced 22:52:31 CT
Alerting surface only — no search originates from this car.

Event log

    At the server — what the console sees

    INVESTIGATIVE Case CAB-2026-1190 Mobile read · Unit 12 Unverified

    Plate PLT 731 — red hatchback, S Pine St @ E Main St — patrol, moving · 22:52:47 CT · Confidence 95.8%

    Record source: Sample: Detective hotlist entry. Flows through the same verify / dispatch workflow as a fixed-camera hit — no separate queue, no separate rules.

    The Hits Queue is empty. Nothing reaches the console until the car sends it — watch the tunnel.

    Audit chain — 88,412 entries

    #TimeActorEventDetailHash
    No new entries yet — the chain grows only when something actually happens.