Skip to the content
2 layers50.8 × 124.5 mmInterior Portal, the printed circuit board in 3D

Guardian System — Home Assistant RFID portal, doorbell, and door lamp. Not an add-on, not a product, not supported

Size
50.8 × 124.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
22
Nets
57
Pads
110
Tracks, vias
194, 6
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
24 Sep 2026
Updated
18 Oct 2026

Overview

Interior Portal is an open-source printed circuit board by AntonisPsarras, from the AntonisPsarras/guardian-system repository on GitHub, published under the MIT licence. It is a 2-layer board of 50.8 × 124.5 mm with 22 parts on 57 nets, routed with 194 tracks and 6 vias.

Its parts include 5 resistors and 1 capacitor. It belongs with the home automation and IoT and radio and wireless boards of this library.

README

README.md

Guardian System

A local Home Assistant door system: RFID at two doors, a keypad-and-display portal, and a porch lantern that does not advertise a camera.

Start here: INSTALL.md — from a fresh Home Assistant to a working system. Start with the print: the lantern. No custom PCB; one weekend if you already have a Tapo C110.

Maintainer: AntonisPsarras.

Ready with documented caveats. Not a product, not an add-on, not supported. A burglar alarm that fails does so at the worst possible moment. Read the caveats below before you run it. MIT, as is, without warranty.

Guardian lantern, interior portal, and doorbell

Door lamp and camera housing
Door lantern
Interior portal mounted on the wall
Interior portal
Outdoor doorbell mounted on the wall
Doorbell

Step-by-step assembly with more photographs is in docs/documentation/.

Caveats

  1. No proven alarm without Wi-Fi. The portal's offline siren compiles and has never been heard. Until you flash it and hear it, jamming 2.4 GHz or stopping Home Assistant silences the house. Cutting power to the portal still does: authority is RAM-only.
  2. Printable as 3MF profiles plus generic STLs; Gerbers for a proto fab; not pick-and-place. Print files live on MakerWorld, Printables, and Thingiverse. PCBs/ has KiCad source plus Gerber+drill zips. There is no CPL. The door lamp has no PCB — commercial bulb + camera in a printed housing.
  3. The outdoor unit holds the card master key in cleartext flash until you opt into flash encryption. That burn is irreversible; a first flash over OTA would brick the board. See INSTALL.md § Flash encryption. Use NTAG21x; MIFARE Classic is clonable.
  4. One Home Assistant account still works with zero extra setup. A second account can be linked to a key. Tamper detection needs a portal reflash.

What this is

Not application source code. It is the config tree for a Home Assistant instance, plus firmware for two ESP32 devices:

PieceWhat it is
Interior portalESP32 at the main door: RC522 RFID, keypad, 240×135 ST7789 display, LED, door contact, lever IMU, DFPlayer for siren and chirps.
Doorbell unitA second ESP32 outside: RFID reader and button. A key works from outside without the portal.
Home AssistantAutomations, scripts, and helper packages. All the actual logic.
FrigateA separate NVR add-on for person detection, reaching Guardian over MQTT.
Guardian panelA custom Home Assistant panel in one vanilla-JS ES module. No build step.

There is no application build and no way to execute this locally. The only way to run it is a real Home Assistant instance and real hardware.

What it does

  • Two readers, one decision path. Every scan dispatches through one script. Cloned cards are caught by a rolling counter; keys reported stolen sound the siren on the tap.
  • Passage windows. A valid scan opens a timed grace period. Direction is classified from the lever IMU, reader intent, and the door swing.
  • Elevated mode ("Super Surveillance"), on a switch or up to four schedules. An unauthenticated opening while elevated opens a timed challenge — card and master PIN — before the alarm.
  • Alerting per person. Each key can link a phone. The alarm, a stolen card, and portal tamper are non-maskable.
  • Watchdogs on the portal, the doorbell, and the Frigate detection channel.
  • A door lamp switched from measured camera luminance, with a sun-elevation fallback.

Print files

Meshes are not in this tree. Each listing is a Bambu Studio .3mf plus a generic STL zip for slicers that are not Bambu. Start with the lantern.

MakerWorld collection · Printables collection (account @AntoniJuveni_3576373; the project handle is AntonisPsarras)

DeviceProfileMakerWorldPrintables
Door lantern (Tapo C110 + L530E)Lamp-Final.3mflistinglisting
Interior portalInternal-Portal-Final.3mflistinglisting
DoorbellDoorbell-Final.3mflistinglisting

Documentation

FileRead it for
INSTALL.mdDay-one path: prerequisites, file placement, restart, setup wizard, what leaves your network.
docs/Hardware index: assembly, printable PDFs, parts checklist, DFPlayer tracks.
docs/documentation/Assembly photographs, soldering order, and a printable PDF per device.
docs/bom.mdOne-page parts checklist. Not a pick-and-place file.
PCBs/Two KiCad 10 projects and Gerber+drill zips.
3D-Models/Where the print files live (MakerWorld / Printables / Thingiverse). This tree does not ship meshes.
SECURITY.mdHow to report a problem, and what not to paste into an issue.
CONTRIBUTING.mdPreflight, selftest, and how to propose a change.
DEPLOY.mdMaintainer changelog and manual test plan.
docs/maintainers/Audit, panel design, contributor onboarding.

Checking a change

There is exactly one automated check, and it is static:

bash
python tools/guardian-preflight.py

It validates that every YAML file parses, that version literals agree, that script references resolve, that automation ids are unique, that no secret placeholder survives, that nothing under www/guardian-ui/ reaches an external host, and that nothing can quietly cancel an alert. It makes no network call and reads no credential value.

And one test for that check:

bash
python tools/guardian-selftest-preflight.py

It does not test behaviour. Nothing here fires an alarm. For that, use Home Assistant's Check configuration and the numbered steps in DEPLOY.md.

Security model

Stated plainly, because the parts that are careful could be mistaken for parts that are enforced.

  • A Home Assistant login is the outer authorization boundary. The panel is require_admin: false so a non-administrator can use Keys and Notifications. Home Assistant still does not restrict which services a non-admin may call from Developer Tools. See docs/maintainers/GUARDIAN_UI.md § Security boundaries.
  • The siren does not work without Wi-Fi and Home Assistant on any device that has not been flashed with current firmware and then heard. The networked siren is an MP3 on the portal's DFPlayer. Jam 2.4 GHz, cut power to the access point, or take Home Assistant down and there is no proven alarm.
  • The card master key is in cleartext flash on a unit mounted outside the door until you opt into flash encryption.
  • MIFARE Classic cards are clonable. NTAG21x with a password is the medium that is actually strong here.
  • Rotating the master key destroys every enrolled card, both types, with no way back.
  • The master PIN hash is weak by construction: unsalted SHA-256 of 4–6 digits. It is a second factor at a door, not a secret.
  • Dismissing a live alarm needs no factor. Any phone holding the alarm push can silence it. That is deliberate.
  • Every alarm notification leaves your network via Apple or Google. Do not port-forward Home Assistant. See INSTALL.md §10.
  • Credentials live in esphome/secrets.yaml (gitignored, generated by tools/guardian-gen-secrets.py), Frigate add-on environment variables, and the master PIN.

Where it actually stands

Works, in daily use in one household: RFID entry at both readers, presence per key, passage windows and direction classification, the MFA/challenge flow, enrollment, per-person alert routing, the lamp, the panel, the offline watchdogs.

Known gaps, deliberately not hidden:

  • Print files are 3MF profiles plus generic STL zips on MakerWorld / Printables / Thingiverse; Gerbers are in PCBs/. Not pick-and-place.
  • Card-crypto and torn-rotate fixes are in the tree and unverified against a real card since those passes.
  • The offline local siren compiles and has never been heard.
  • Tamper detection needs a portal reflash.
  • The alarm path is unverified on hardware since the last several passes. INSTALL.md §9 remains the proof.
  • Frigate integrates over raw MQTT, not the native integration.
  • Single-household provenance. This has only ever run on one installation.

Early private git history contained a household LAN address and a camera RTSP URL. This public repository was seeded from a cleaned tree; that log is not here. If those credentials were ever live, rotate them.

Support

This is unpaid and unsupported. If you still want to buy coffee:

  • GitHub Sponsors on this repository (see .github/FUNDING.yml)
  • A Ko-fi link will be added here when that account exists

docs/bom.md has no affiliate tags. If any appear later, they will be disclosed in that file.

License

MIT. This is a burglar alarm provided as is, without warranty of any kind. If you run it, you own the consequences of it failing.

Parts

22
QtyValueFootprintReferences
4MountingHoleMountingHole:MountingHole_3.2mm_M3_PadH1, H2, H3, H4
3220Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R2, R3
3Conn_01x02_PinConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalDoor, Power, Speaker
3Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalLED, MPU6050, RFID
3Conn_01x08_PinConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalDFPlayer_Left1, DFPlayer_Right1, Display
21KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR4, R5
2Conn_01x22_PinConnector_PinHeader_2.54mm:PinHeader_1x22_P2.54mm_VerticalESP_Left, ESP_Right
11000uF 10VCapacitor_THT:CP_Radial_D10.0mm_P5.00mmC1
1Conn_02x04_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_VerticalKeypad

More from AntonisPsarras/guardian-system

1
  • 2 layers48.3 × 35.6 mmDoorbell, the printed circuit board in 3D

    Doorbell

    AntonisPsarras/guardian-system

    Guardian System — Home Assistant RFID portal, doorbell, and door lamp. Not an add-on, not a product, not supported

    14 parts1MIT

Similar boards

  • 2 layers158 × 11 mmDaylight Matchstick, the printed circuit board in 3D

    Daylight Matchstick

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    22 parts1.1kGPL-3.0
  • 2 layers57 × 65 mmRgb to hdmi, the printed circuit board in 3D

    Rgb to hdmi

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    22 parts1kGPL-3.0
  • 2 layers81 × 57.2 mmRP2040-Macropad, the printed circuit board in 3D

    RP2040-Macropad

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    22 parts915
  • 2 layers54.6 × 70.9 mmBeagleLogic Cape, the printed circuit board in 3D

    BeagleLogic Cape

    abhishek-kakkar/BeagleLogic

    A Software Suite that implements a logic analyzer with the PRU on the BeagleBone / BeagleBone Black.

    22 parts479GPL-3.0
  • 2 layers66.4 × 24.5 mmConnecting piece, the printed circuit board in 3D

    Connecting piece

    Chrismettal/flipper-zero-backpacks

    Backpack-style addon boards for the Flipper Zero!

    22 parts456
  • 2 layers51 × 70 mmDMG A04-01, the printed circuit board in 3D

    DMG A04-01

    HDR/NintendoPCBs

    Replacement pcb's for Nintendo games.

    22 parts321
  • 2 layers27.8 × 16 mmSpi 1v8 level shifter, the printed circuit board in 3D

    Spi 1v8 level shifter

    CRImier/MyKiCad

    My KiCad boards. Can't be bothered uploading individually anymore, so here you go.

    22 parts253GPL-3.0

Questions

How big is the Interior Portal PCB?

It measures 50.8 × 124.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Interior Portal use?

22 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Interior Portal KiCad files?

From the AntonisPsarras/guardian-system repository on GitHub, at the commit this page was made from: the board is PCBs/Interior-Portal/Interior-Portal.kicad_pcb and its schematic PCBs/Doorbell/Doorbell.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Interior Portal design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).