Rev 2026-06-25 TCEC Access Control System Documentation

CHAPTER 01System Overview

The TCEC access control system is a Home Assistant-based proximity card platform replacing a legacy AS-400 controller at 880 Taylor Creek Drive. It manages up to nine door readers, with full audit logging, voice announcements, and a browser-based management UI.

1.1 Architecture

1.2 Signal Flow

Card swipeWiegand reader (D0/D1 open-collector lines)
ESP32 GPIO (pulldown, 26-bit Wiegand format)
MQTT publish: woodhaven/prox/scan
AppDaemon prox_card.py — card lookup in SQLite
fire_strike() → HA switch entity → Waveshare relay → electric strike PENDING
access_log row written (Granted / Denied / Armed / Disarmed)
ElevenLabs TTS announcement → Nest Mini speaker
prox.tcec.ca UI updated

1.3 Deployment Phases

PhaseStatusScope
Phase 1ACTIVESuite 123B and Boardroom on new HA system. Legacy AS-400 continues on main entrance, back entrance, suite 122, and kitchen hallway.
Phase 2PLANNEDFull cutover — all doors migrated to HA system; AS-400 decommissioned.

1.4 Covered Doors

Door IDLocationESP32 BoardGPIO D0/D1Notes
123bSuite 123B entranceFreenove #14 / 5Phase 1 — active
boardroomBoardroom / Suite 115Freenove #116 / 17Phase 1 — active
main_entranceExterior main entranceFreenove #118 / 19Phase 2
back_entranceExterior back entranceFreenove #121 / 22Phase 2
suite_122Suite 122Freenove #125 / 26Phase 2
kitchen_hallwayKitchen hallwayFreenove #127 / 32Phase 2
arm_stationArming stationFreenove #1TBDGPIO reassignment needed; Phase 2
123dSuite 123DFreenove #133 / 14Phase 2
123cSuite 123CFreenove #24 / 5Phase 2
Reader Model: All card readers are CDVI DGLP FN WLC26 Wiegand 26-bit, 5 V, open-collector D0/D1.
← PreviousTable of ContentsNext →2 · Hardware