Skip to the content
2 layers75 × 70 mmPCB passerelle ATEOS, the printed circuit board in 3D

PCB passerelle ATEOS

Pixvi/esp32-alarm-gateway

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.md

ESP32 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 mountPCBEnclosureApp

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

text
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 App
  • hardware/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

MIT

Parts

17
QtyValueFootprintReferences
2330Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR3, R4
1100kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR5
1100nFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC1
11N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1
11kResistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_HorizontalR1
12.2kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR2
147kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR6
1FireBeetle 2 - DFR1140DFR0654:MODULE_DFR0654U1
1INConnector_Phoenix_MSTB:PhoenixContact_MSTBVA_2,5_4-G-5,08_1x04_P5.08mm_VerticalJ2
1OUTConnector_Phoenix_MSTB:PhoenixContact_MSTBVA_2,5_3-G-5,08_1x03_P5.08mm_VerticalJ1
1PC817 - PGMPackage_DIP:DIP-4_W7.62mmU3
1PC817 - SirènePackage_DIP:DIP-4_W7.62mmU2
1PC817 - Z39Package_DIP:DIP-4_W7.62mmU4
1PC817 - Z40Package_DIP:DIP-4_W7.62mmU5

The 15 most common of 17 parts.

Similar boards

  • 2 layers50 × 35 mmServo power, the printed circuit board in 3D

    Servo power

    earthtojake/text-to-cad

    Design physical products with AI

    17 parts26kMIT
  • 2 layers139.7 × 62.2 mmBreakout 60pin EEC IV, the printed circuit board in 3D

    Breakout 60pin EEC IV

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    17 parts1.2k
  • 2 layers29.2 × 55.9 mmDeniseadapter, the printed circuit board in 3D

    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 mmCluster, the printed circuit board in 3D

    Cluster

    JesusFreke/lalboard

    A 3D-printed keyboard inspired by the DataHand

    17 parts993
  • 2 layers56.3 × 55.7 mmStarNecklace, the printed circuit board in 3D

    StarNecklace

    hackclub/OnBoard

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

    17 parts915
  • 2 layers25 × 25 mmSmallEncoder, the printed circuit board in 3D

    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 mmAmoeba spc, the printed circuit board in 3D

    Amoeba spc

    mtl/keyboard-pcbs

    Keyboard PCBs

    17 parts485
  • 2 layers36 × 51 mmABSIS ALE, the printed circuit board in 3D

    ABSIS ALE

    jrsteensen/OpenHornet

    OpenHornet 1:1 F/A-18C Simulator Repository

    17 parts431

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).