Your 1998 Alarm Panel Is a Free Sensor Network. Just Don't Cut the Siren.
Photo: Intel Free Press, CC BY-SA 2.0, via Wikimedia Commons
The alarm panel in my hall closet is older than my marriage. It has a beige plastic can, a transformer bolted to the side of it, a dying sealed battery, and a keypad by the front door with a logo for a security company that has been bought twice since the panel was installed. The sticker on the keypad still says the house is protected. It is not. Nothing has monitored this panel since the previous owners moved out.
Here is what I figured out after two weekends of poking at it: all those wires running to every door, every window, and two ceiling motion sensors are the best sensor network in the house, and they are already paid for. The panel is just a very old, very stubborn GPIO expander.
What is actually inside that can
Open the door and you will find a control board, a zone terminal strip, a siren output, a battery, a fuse or two, and usually a phone-line dialer that nobody uses anymore. Each zone is a supervised loop: a pair of wires that runs out to a contact or a PIR, through an end-of-line resistor at the far end, and back. The panel constantly measures the loop resistance, because that is how it knows the difference between a closed door, an open window, and a cut wire.
That supervision is exactly what makes the loop easy to tap. A closed zone sits at some voltage above the panel's common. An open zone sits at a different voltage. You do not need to understand the loop to read it; you just need to look at it without disturbing it.
The one rule
Do not become the alarm company.
Concretely: leave the siren connected exactly where it is. Leave the dialer alone. Do not program the panel. Do not pull the battery. Do not disconnect the keypad. Do not touch the transformer's wiring. Everything I am describing is a parallel listen, not a rewire, and the moment you start removing life-safety components from a device that still might work in a fire, you have made the house worse, not smarter.
There is a strong argument that the smoke detector interconnect should not live on your Home Assistant box at all. My automations know about doors and windows. They do not know about smoke, and they never will, because a smart home that reboots is not a life-safety system.
Why optoisolators and not wires
The zone loop's reference is the alarm panel's common, which is not your ESP32's ground, and it should not become your ESP32's ground. Bridge them and you have created a path for current that the panel's designer never imagined, which is how you get phantom zone faults at 3 a.m.
A PC817 or an LTV-847 quad opto solves this cleanly. Size a series resistor so the opto's LED draws a couple of milliamps from the loop's own voltage, which on my panel measured around 9 volts at the zone terminals with the loop closed. Something in the 1k to 2.2k range got me there. The transistor side then pulls down a GPIO with a pull-up on the ESP32 side, and the two grounds never meet.
If you would rather not build it, an eight-channel opto isolation board off a hobby site will do the same job for less than you would spend on components, and it comes with screw terminals, which is worth something when you are balancing on a step stool in a closet.
Measure before you connect
Before anything touches the panel, put a multimeter across each pair of zone terminals and write down the voltage for a closed loop and an open loop. Then check what the keypad says about zone status. If you cannot reconcile the two, stop and identify your loops properly, because a parallel tap with too low an impedance can trip a zone trouble and confuse whatever is left of the panel's logic.
My panel has sixteen zones and eleven of them are used, and it took one evening with a walkie-talkie and a helper to map them all. Door open, voice call, write it down. It is tedious and it is the entire job.
The ESP32 side
An ESP32 with ESPHome is the shortest path from wires to useful data. Each zone becomes a binary sensor with a 200-millisecond filter, and the filter matters: a cheap PIR latches for three to six seconds and will generate a small storm of edges if you let it. Door contacts are crisp and instant.
The interesting part is what happens after you have names. The mudroom door opens and the hallway light comes on at 10 percent. The garage side door stays open for more than four minutes and I get a notification, which has already paid for itself in cat-related incidents. The upstairs motion sensor, which the alarm company installed to protect a hallway, now tells me whether my kid is actually asleep.
All of that runs on my hardware, on my network, with no subscription and no vendor. When my internet goes down, the sensors keep reporting to Home Assistant.
When to rip it out instead
Not every panel deserves this treatment. If the board has bulging capacitors or a scorched zone strip, it is not a sensor bus, it is a fire hazard with a battery next to it. If the house has aluminum branch wiring and the panel closet has been running warm, deal with that first. If you cannot identify which loop is which and you are not inclined to spend an evening on it, a handful of wireless contacts will cost more but take an hour.
And if you are paying a monitoring company for a system you actually trust, do not poke at it. Buy a separate set of sensors for your automations. The monthly fee is buying you someone else's dispatch relationship, and that is not something an ESP32 replaces.
The part I like best
My alarm panel is thirty years old and it still works. The siren will still go off if something trips it, the keypad still arms, and the phone line is still there for whoever might want it. I did not modernize it. I just started listening to it, and it turned out to have more to say than half the gadgets I have reviewed.