

PCB passerelle ATEOS
DIY ESP32 gateway that keeps a 2G-dead alarm panel remotely controllable
- Size
- 75 × 70 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 17
- Nets
- 42
- Pads
- 77
- Tracks, vias
- 71, 0
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 6 Jul 2026
- Updated
- 6 Jul 2026
Overview
PCB passerelle ATEOS is an open-source printed circuit board by Pixvi, from the Pixvi/esp32-alarm-gateway repository on GitHub, published under the MIT licence. It is a 2-layer board of 75 × 70 mm with 17 parts on 42 nets, routed with 71 tracks and 0 vias.
Its parts include 6 resistors, 5 ICs, 2 connectors, 1 capacitor and 1 diode. It belongs with the home automation and IoT boards and the ESP32 boards of this library.
README
README.mdESP32 Alarm IP Gateway
Give a 2G-dead alarm panel a second life: a DIY ESP32 gateway that reads and controls a wired alarm panel through its terminal block, and exposes it via a Cloudflare Worker + an installable PWA with push notifications — no server, no open ports.
Built for an Atlantic'S ATEOS panel whose 2G cellular dialer went silent when 2G was shut down in France (and the manufacturer went bankrupt). The wiring approach applies to many panels that expose a terminal block (a programmable output + configurable wired zones).
Gallery
| Final mount | PCB | Enclosure | App |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
Features
- Arm / disarm remotely — and it stays in sync even when you use the physical remotes or keypad
- Live status: armed / disarmed, alarm, mains / battery
- Push notifications: intrusion, mains loss, gateway offline
- Trigger the siren remotely — a feature the original app didn't even have
- 72h event log
Architecture
Alarm panel ──(opto-isolated)── ESP32 (Wi-Fi) ──HTTPS POST /sync──▶ Cloudflare Worker (Durable Object) ──▶ installable PWA + Web Push (behind Access)The ESP32 only makes outbound requests (POST /sync): in one round trip it publishes its state and picks up any pending command. A Durable Object acts as a mailbox — the app reads/writes through it. The device and the app never talk to each other directly.
Repo layout
firmware/— ESP32 firmware (C++ / Arduino / PlatformIO)worker/— Cloudflare Worker + Durable Object + Web Push (src/index.js,src/push.js)pwa/— installable Progressive Web Apphardware/kicad/— KiCad project (schematic + board)hardware/images/— PCB renders, schematic & photos
How it works (hardware)
The ESP32 doesn't "talk" to the panel — it presses buttons and reads lamps through the terminal block, everything galvanically isolated with PC817 optocouplers :
- Reads: the siren line (alarm), the PGM "armed" output, and its own supply voltage (mains vs battery)
- Drives: the key zone (arm / disarm) and a 24h zone (siren trigger)
Setup
Firmware (PlatformIO): copy firmware/.env.example → firmware/.env, fill in WIFI_SSID, WIFI_PASS, DEVICE_TOKEN, then build & upload. (load_env.py turns .env into secrets.h at build time — no secrets in the code.)
Worker (Wrangler): set your domains in worker/wrangler.toml, configure the secrets (DEVICE_TOKEN, USER_TOKEN, VAPID keys — see worker/.dev.vars.example), and deploy. The Worker also serves the PWA (Cloudflare Static Assets), so there's a single thing to deploy.
PWA: served by the Worker; put the app hostname behind Cloudflare Access for the login layer.
Hardware
- DFRobot FireBeetle 2 DFR1140 (ESP32, built-in LiPo charger + external antenna connector)
- 3.7 V 1000 mAh LiPo (backup during a mains outage)
- External Wi-Fi antenna
- PC817 optocouplers, resistors — custom PCB (KiCad project in
hardware/)
Security & fail-safe
- The app sits behind Cloudflare Access + a 256-bit token; the device has its own separate token; endpoints are split across two hostnames.
- The ESP32 is outbound-only → there is nothing reachable on the alarm side.
- Electrical fail-safe: if the ESP32 loses power, the key-zone loop NO can only open — which arms the panel, never disarms it. A gateway failure leaves the house at least as protected as before, never less.
Disclaimer
Personal DIY project, provided as-is with no warranty. It controls a home alarm — use at your own risk, understand your panel before wiring anything, and keep the ESP32 and panel galvanically isolated. The UI is in French.
License
Parts
17| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | 330 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R3, R4 |
| 1 | 100k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R5 |
| 1 | 100nF | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mm | C1 |
| 1 | 1N4148 | Diode_THT:D_DO-35_SOD27_P7.62mm_Horizontal | D1 |
| 1 | 1k | Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal | R1 |
| 1 | 2.2k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R2 |
| 1 | 47k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R6 |
| 1 | FireBeetle 2 - DFR1140 | DFR0654:MODULE_DFR0654 | U1 |
| 1 | IN | Connector_Phoenix_MSTB:PhoenixContact_MSTBVA_2,5_4-G-5,08_1x04_P5.08mm_Vertical | J2 |
| 1 | OUT | Connector_Phoenix_MSTB:PhoenixContact_MSTBVA_2,5_3-G-5,08_1x03_P5.08mm_Vertical | J1 |
| 1 | PC817 - PGM | Package_DIP:DIP-4_W7.62mm | U3 |
| 1 | PC817 - Sirène | Package_DIP:DIP-4_W7.62mm | U2 |
| 1 | PC817 - Z39 | Package_DIP:DIP-4_W7.62mm | U4 |
| 1 | PC817 - Z40 | Package_DIP:DIP-4_W7.62mm | U5 |
The 15 most common of 17 parts.
Similar boards
- 2 layers50 × 35 mm

- 2 layers139.7 × 62.2 mm

- 2 layers29.2 × 55.9 mm

Deniseadapter
hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI
17 parts1kGPL-3.0 - 2 layers24.5 × 36.5 mm

- 2 layers56.3 × 55.7 mm

StarNecklace
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
17 parts915 - 2 layers25 × 25 mm

SmallEncoder
DDeGonge/OS-ARM
This arm is not industrial and it will not be fast, but that is not my goal. But it will hopefully be a very nice looking arm fully capable of 6dof motion, cheap enough to keep it accessable but capable enough to…
17 parts498MIT - 2 layers38.9 × 16.1 mm

- 2 layers36 × 51 mm

Questions
How big is the PCB passerelle ATEOS PCB?
It measures 75 × 70 mm and has 2 copper layers, 1.6 mm thick.
What parts does the PCB passerelle ATEOS use?
17 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 PCB passerelle ATEOS KiCad files?
From the Pixvi/esp32-alarm-gateway repository on GitHub, at the commit this page was made from: the board is hardware/kicad/PCB passerelle ATEOS.kicad_pcb and its schematic hardware/kicad/PCB passerelle ATEOS.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the PCB passerelle ATEOS 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).



