Kohima Tunnel Project · Tunnel ID System · All tunnels
Printed 2026-09-17 09:31:58
Network Config
Tunnels, entrances, devices, and site topology
Names & Structure
This name appears on the Overview page.
Site Topology
🏗 Kohima Tunnel Project
▸ Tunnel_ET
◂ (no entrance set)
Biometric_ET
UHF_ET
▸ Tunnel_MT
◂ (no entrance set)
Biometric_MT
UHF_MT
Assigning Devices (devices.json)
You can also add devices directly in the "Names & Structure" panel above (under a tunnel or
entrance) — a device added that way with a real IP/port is polled exactly the same as one from
devices.json. The difference is durability: devices.json is a
version-controlled file that survives a database wipe/reseed and re-syncs its devices back in by
key; a device added only through this page lives in the database and would need to
be re-added if the database is ever recreated from scratch. Use whichever fits — the file for a
setup you want to track/reproduce, the form above for something quick.
Workflow
- SSH into the Pi (or plug in a keyboard/monitor directly).
- Open
/media/exy/cipher/project_2026/my/sentri_systems/Claude/tunnel-id-system-workdir/data/devices.jsonin an editor (nanoworks fine). - Add a new object to the
"devices"array — give it a uniquekey, atunnelandentrancename (created automatically if new), thedevice_type("biometric"or"rfid"), and its staticip_address+port. - Save the file, then either restart the app (
systemctl restart tunnel-idor re-runrun.py), or click Sync Now above to reconcile it into the dashboard without a restart. - Confirm the device appears in the topology tree above with the correct tunnel/entrance and IP.
Example entry
{
"key": "tunnel_a_north_bio",
"name": "Tunnel A - North Portal Biometric",
"tunnel": "Tunnel A",
"entrance": "North Portal",
"device_type": "biometric",
"model": "ZKTeco MB360",
"ip_address": "192.168.2.102",
"port": 4370
}
Static IPs only. Every device on the site network should have a fixed IP set on the device
itself (not via DHCP) — the Pi and each biometric/RFID unit stay on a small isolated LAN segment
with no DNS needed. The
key field must stay stable once set; renaming it in the file
will register as a brand-new device rather than updating the existing one.