December 3, 2026
Someone Is Kicking You Off Your Wi-Fi. A Thumb-Sized ESP32 Will Catch It in the Act
Build a 20-minute deauth tripwire that hears the attack your router never logs, and pings your phone the second it starts.

By Aeon Flex, Elriel Assoc. 2133 [NEON MAXIMA]
10 min read
Your laptop drops off the network at 11:40 PM, reconnects, drops again, and the router's log shows nothing but a clean uptime counter and a smug green light. Tonight you wire a board the size of a postage stamp into a tripwire that counts every forged "get off my network" frame aimed at your access point and sends your phone an alert while it's still happening.
The attack is called deauthentication, and it is older than most of the routers it still works against. The fix is mostly a checkbox. The proof that you need the checkbox is this build.
The Frame Your Router Doesn't Bother Writing Down
Wi-Fi has a polite way to end a conversation. A deauthentication frame says "this session is over," a disassociation frame says roughly the same thing with slightly different manners, and both are management frames that fly through the air in plaintext on any network that doesn't use Protected Management Frames.
No encryption means no signature. Anyone with a radio that can transmit raw frames can write your router's MAC address in the "from" field and tell your laptop to leave. Your laptop believes it, because in 1999 nobody imagined the air would be hostile.
Consumer routers almost never log these frames, because from the router's point of view nothing happened. It never sent them. The forged frames went straight from somebody's antenna to your client.
The legal picture is blunt. Sending deauths at networks you don't own is interference, and the FCC has treated it that way for a decade: in 2014 Marriott paid $600,000 after staff at the Gaylord Opryland in Nashville used their Wi-Fi gear to deauth guests' personal hotspots, which the FCC said violated Section 333 of the Communications Act. Building or running jamming gear is the same story with bigger fines. So this post does one thing with these frames: count them. The board listens and never transmits a single forged frame.
The Board, and Why It Can Hear This at All
Every ESP32 has a promiscuous mode. Flip it on and the Wi-Fi driver hands your code a copy of every management and data frame it hears on its current channel, including frames addressed to other devices. Espressif documents it plainly, and it works while the chip stays connected to your network as a normal client.
That last part matters. Connected to your access point, the ESP32 parks on your AP's channel, which is exactly where an attack on your network has to happen.
Any ESP32 works. The Seeed Studio XIAO ESP32C3 is the easy pick for a permanent sensor: thumbnail footprint, USB-C, an external antenna in the box, and a RISC-V ESP32-C3 that sips power from any phone charger. When you shop, check that the listing includes the U.FL antenna and that it says C3, since the XIAO line also ships S3 and C6 variants with different pinouts and board definitions.
If you'd rather not compile anything tonight, WiFi Ghost is a free ESP32-C3 deauth detector with a source ZIP and a prebuilt BIN. Its own instructions say to match the documented board model before flashing and to establish a baseline before trusting an alert, which is the same discipline this post runs on.
The Tripwire Sketch
This targets the Arduino-ESP32 core 3.x. Install the ESP32 boards package, select your board (for the XIAO, XIAO_ESP32C3), and paste this in.
// deauth_tripwire.ino : receive-only deauth/disassoc counter for YOUR network
#include <WiFi.h>
#include <HTTPClient.h>
#include "esp_wifi.h"
const char* SSID = "your-network";
const char* PASS = "your-wifi-password";
const char* NTFY = "http://192.168.1.20:8080/tripwire"; // your ntfy box + topic
const uint32_t WINDOW_MS = 5000; // counting window
const uint32_t THRESHOLD = 20; // frames per window that count as an attack
uint8_t myBssid[6];
volatile uint32_t hits = 0, bcastHits = 0, noise = 0;
volatile uint16_t lastReason = 0;
volatile uint8_t lastSrc[6];
portMUX_TYPE mux = portMUX_INITIALIZER_UNLOCKED;
// runs inside the Wi-Fi driver task: count and get out
void sniff(void* buf, wifi_promiscuous_pkt_type_t type) {
if (type != WIFI_PKT_MGMT) return;
auto* p = (wifi_promiscuous_pkt_t*)buf;
const uint8_t* f = p->payload;
if (p->rx_ctrl.sig_len < 26) return;
uint8_t fc = f[0] & 0xFC;
if (fc != 0xC0 && fc != 0xA0) return; // 0xC0 deauth, 0xA0 disassoc
static const uint8_t BC[6] = {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF};
bool ours = !memcmp(f + 16, myBssid, 6) || !memcmp(f + 10, myBssid, 6);
portENTER_CRITICAL(&mux);
if (ours) {
hits++;
if (!memcmp(f + 4, BC, 6)) bcastHits++; // addr1 = everyone
lastReason = f[24] | (f[25] << 8);
memcpy((void*)lastSrc, f + 10, 6);
} else {
noise++; // a neighbour's network
}
portEXIT_CRITICAL(&mux);
}
// tiny alert queue: alerts wait here while the link is down
String q[16]; uint8_t qHead = 0, qLen = 0; uint32_t dropped = 0, nextTry = 0;
void enqueue(const String& m) {
if (qLen == 16) { qHead = (qHead + 1) % 16; qLen--; dropped++; }
q[(qHead + qLen) % 16] = m; qLen++;
}
void drain() {
if (!qLen || WiFi.status() != WL_CONNECTED || millis() < nextTry) return;
HTTPClient http;
http.begin(NTFY);
http.addHeader("Title", "wifi tripwire");
http.addHeader("Priority", "high");
http.addHeader("Tags", "rotating_light");
int code = http.POST(q[qHead]);
http.end();
if (code == 200) { qHead = (qHead + 1) % 16; qLen--; }
else nextTry = millis() + 5000; // back off, don't hammer
}
void setup() {
Serial.begin(115200);
WiFi.mode(WIFI_STA);
WiFi.setAutoReconnect(true);
WiFi.begin(SSID, PASS);
while (WiFi.status() != WL_CONNECTED) { delay(250); Serial.print("."); }
memcpy(myBssid, WiFi.BSSID(), 6);
Serial.printf("\n[+] joined %s ch %d bssid %s\n",
SSID, WiFi.channel(), WiFi.BSSIDstr().c_str());
wifi_promiscuous_filter_t filt = { .filter_mask = WIFI_PROMIS_FILTER_MASK_MGMT };
esp_wifi_set_promiscuous_filter(&filt);
esp_wifi_set_promiscuous_rx_cb(&sniff);
esp_wifi_set_promiscuous(true);
Serial.println("[+] tripwire armed. listening.");
}
void loop() {
static uint32_t winStart = millis();
static bool firing = false;
if (millis() - winStart >= WINDOW_MS) {
portENTER_CRITICAL(&mux);
uint32_t n = hits, b = bcastHits, z = noise;
uint16_t r = lastReason;
uint8_t s[6]; memcpy(s, (const void*)lastSrc, 6);
hits = bcastHits = noise = 0;
portEXIT_CRITICAL(&mux);
winStart = millis();
char msg[200];
if (n >= THRESHOLD && !firing) {
firing = true;
snprintf(msg, sizeof msg,
"[t+%lus] ALERT %lu deauth/disassoc in %lus, %lu broadcast, reason %u, "
"claimed src %02x:%02x:%02x:%02x:%02x:%02x (dropped %lu)",
millis() / 1000, n, WINDOW_MS / 1000, b, r,
s[0], s[1], s[2], s[3], s[4], s[5], dropped);
Serial.println(msg); enqueue(msg);
} else if (firing && n < THRESHOLD / 2) {
firing = false;
snprintf(msg, sizeof msg, "[t+%lus] quiet again", millis() / 1000);
Serial.println(msg); enqueue(msg);
} else if (n || z) {
Serial.printf("[t+%lus] ours=%lu neighbours=%lu\n", millis() / 1000, n, z);
}
}
drain();
delay(20);
}// deauth_tripwire.ino : receive-only deauth/disassoc counter for YOUR network
#include <WiFi.h>
#include <HTTPClient.h>
#include "esp_wifi.h"
const char* SSID = "your-network";
const char* PASS = "your-wifi-password";
const char* NTFY = "http://192.168.1.20:8080/tripwire"; // your ntfy box + topic
const uint32_t WINDOW_MS = 5000; // counting window
const uint32_t THRESHOLD = 20; // frames per window that count as an attack
uint8_t myBssid[6];
volatile uint32_t hits = 0, bcastHits = 0, noise = 0;
volatile uint16_t lastReason = 0;
volatile uint8_t lastSrc[6];
portMUX_TYPE mux = portMUX_INITIALIZER_UNLOCKED;
// runs inside the Wi-Fi driver task: count and get out
void sniff(void* buf, wifi_promiscuous_pkt_type_t type) {
if (type != WIFI_PKT_MGMT) return;
auto* p = (wifi_promiscuous_pkt_t*)buf;
const uint8_t* f = p->payload;
if (p->rx_ctrl.sig_len < 26) return;
uint8_t fc = f[0] & 0xFC;
if (fc != 0xC0 && fc != 0xA0) return; // 0xC0 deauth, 0xA0 disassoc
static const uint8_t BC[6] = {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF};
bool ours = !memcmp(f + 16, myBssid, 6) || !memcmp(f + 10, myBssid, 6);
portENTER_CRITICAL(&mux);
if (ours) {
hits++;
if (!memcmp(f + 4, BC, 6)) bcastHits++; // addr1 = everyone
lastReason = f[24] | (f[25] << 8);
memcpy((void*)lastSrc, f + 10, 6);
} else {
noise++; // a neighbour's network
}
portEXIT_CRITICAL(&mux);
}
// tiny alert queue: alerts wait here while the link is down
String q[16]; uint8_t qHead = 0, qLen = 0; uint32_t dropped = 0, nextTry = 0;
void enqueue(const String& m) {
if (qLen == 16) { qHead = (qHead + 1) % 16; qLen--; dropped++; }
q[(qHead + qLen) % 16] = m; qLen++;
}
void drain() {
if (!qLen || WiFi.status() != WL_CONNECTED || millis() < nextTry) return;
HTTPClient http;
http.begin(NTFY);
http.addHeader("Title", "wifi tripwire");
http.addHeader("Priority", "high");
http.addHeader("Tags", "rotating_light");
int code = http.POST(q[qHead]);
http.end();
if (code == 200) { qHead = (qHead + 1) % 16; qLen--; }
else nextTry = millis() + 5000; // back off, don't hammer
}
void setup() {
Serial.begin(115200);
WiFi.mode(WIFI_STA);
WiFi.setAutoReconnect(true);
WiFi.begin(SSID, PASS);
while (WiFi.status() != WL_CONNECTED) { delay(250); Serial.print("."); }
memcpy(myBssid, WiFi.BSSID(), 6);
Serial.printf("\n[+] joined %s ch %d bssid %s\n",
SSID, WiFi.channel(), WiFi.BSSIDstr().c_str());
wifi_promiscuous_filter_t filt = { .filter_mask = WIFI_PROMIS_FILTER_MASK_MGMT };
esp_wifi_set_promiscuous_filter(&filt);
esp_wifi_set_promiscuous_rx_cb(&sniff);
esp_wifi_set_promiscuous(true);
Serial.println("[+] tripwire armed. listening.");
}
void loop() {
static uint32_t winStart = millis();
static bool firing = false;
if (millis() - winStart >= WINDOW_MS) {
portENTER_CRITICAL(&mux);
uint32_t n = hits, b = bcastHits, z = noise;
uint16_t r = lastReason;
uint8_t s[6]; memcpy(s, (const void*)lastSrc, 6);
hits = bcastHits = noise = 0;
portEXIT_CRITICAL(&mux);
winStart = millis();
char msg[200];
if (n >= THRESHOLD && !firing) {
firing = true;
snprintf(msg, sizeof msg,
"[t+%lus] ALERT %lu deauth/disassoc in %lus, %lu broadcast, reason %u, "
"claimed src %02x:%02x:%02x:%02x:%02x:%02x (dropped %lu)",
millis() / 1000, n, WINDOW_MS / 1000, b, r,
s[0], s[1], s[2], s[3], s[4], s[5], dropped);
Serial.println(msg); enqueue(msg);
} else if (firing && n < THRESHOLD / 2) {
firing = false;
snprintf(msg, sizeof msg, "[t+%lus] quiet again", millis() / 1000);
Serial.println(msg); enqueue(msg);
} else if (n || z) {
Serial.printf("[t+%lus] ours=%lu neighbours=%lu\n", millis() / 1000, n, z);
}
}
drain();
delay(20);
}The callback is deliberately dumb. Espressif's docs say it runs inside the Wi-Fi driver task and should hand work off fast, so it only compares bytes and bumps counters. Everything slow (formatting, HTTP) lives in loop().
The byte offsets come straight from the 802.11 header: frame control at 0, destination at 4, source at 10, BSSID at 16, and for these two frame types the two-byte reason code sits right after the 24-byte header. A frame counts as "ours" when your AP's MAC shows up as BSSID or source, because that's whose name a forger has to sign.
The Phone Buzz: ntfy on Your LAN
For alerts, run ntfy on anything in the house that stays on. One container does it:
$ docker run -d --name ntfy -p 8080:80 binwiederhier/ntfy serve$ docker run -d --name ntfy -p 8080:80 binwiederhier/ntfy serveSubscribe to the tripwire topic in the ntfy phone app, pointed at that box. The sketch POSTs plain text with a Title, Priority and Tags header, which ntfy turns into a loud notification with a siren emoji. Plain HTTP stays on your LAN, so keep the topic on your own server and off the public internet.
Flash it, open the serial monitor at 115200, and leave it alone for an evening.
.....
[+] joined your-network ch 6 bssid A4:2B:B0:xx:xx:xx
[+] tripwire armed. listening.
[t+312s] ours=1 neighbours=0
[t+1447s] ours=0 neighbours=4
[t+2930s] ours=1 neighbours=0.....
[+] joined your-network ch 6 bssid A4:2B:B0:xx:xx:xx
[+] tripwire armed. listening.
[t+312s] ours=1 neighbours=0
[t+1447s] ours=0 neighbours=4
[t+2930s] ours=1 neighbours=0(illustrative output; MACs masked)
That's the baseline, and it's the part people skip. A phone leaving the house sends one deauth with reason 3 ("station is leaving"). Your router kicks an idle client now and then with reason 4. The neighbours' gear chatters on the same channel and lands in the second counter, where it can't trigger anything. Normal life looks like ones and zeros.
The "It Fired" Moment
A flood doesn't look like ones and zeros. It looks like a wall: dozens to hundreds of frames a second, often broadcast so every client drops at once, usually one reason code repeated until the radio gets bored.
[t+3611s] ALERT 143 deauth/disassoc in 5s, 47 broadcast, reason 7,
claimed src a4:2b:b0:xx:xx:xx (dropped 0)
[t+3626s] quiet again[t+3611s] ALERT 143 deauth/disassoc in 5s, 47 broadcast, reason 7,
claimed src a4:2b:b0:xx:xx:xx (dropped 0)
[t+3626s] quiet again(illustrative output; MACs masked)
Read that claimed source carefully. It's your own router's MAC, because the forger wrote it there. The tripwire can't name the attacker, and anyone who sells you a gadget that "identifies the hacker" from a deauth frame is selling you a spoofed field. What you get instead is hard evidence: a timestamp, a rate, a reason code and a broadcast count, which is exactly what your ISP, your landlord or a police report will ask for.
You can test the alert path without sending a single frame. Drop THRESHOLD to 1 for ten minutes and switch Wi-Fi off on your phone: the polite goodbye it sends fires the alert, ntfy buzzes, you put the threshold back. The pipe works and nobody's airspace was touched.
Why the Queue Exists
Here's the cruel joke of this build. On a network without Protected Management Frames, the ESP32 is a client too, so the same flood that kicks your laptop can kick the tripwire. If the sketch tried to POST the alert the instant it fired, the alert would die in the exact second it mattered.
So alerts go into a 16-slot ring buffer and wait. drain() retries with a five-second backoff, and every message carries its own t+ uptime stamp, so when the link comes back your phone learns when the attack happened, which can be minutes before the moment the alert arrived. If the ring overflows, the oldest alert goes and the dropped counter says so out loud.
That pattern (bounded buffer, honest overflow, event time stamped at the source) is the whole subject of ESP32 Telemetry That Survives an Outage . If you want the tripwire to graduate from a 16-slot String array to MQTT QoS 1 with flash spill, reconnect backoff and server-side dedup, that workbook has the reference firmware, a Python simulation of the queue and dedup logic, Mosquitto configs, and an evidence report that compares generated, buffered, received, duplicate and missing records. A security sensor that loses its evidence during the event is a nightlight.
Cross-Check It From a Laptop
One sensor is a rumor. If the ESP32 fires and you want a second witness, any Linux box with a monitor-mode adapter can count the same frames. The Alfa AWUS036ACM is the usual choice because its MediaTek MT7612U chipset has an in-kernel driver, so monitor mode works on a stock distro without hunting out-of-tree modules. Plenty of cheap "Alfa" listings are clones, so check the chipset named on the listing.
$ sudo airmon-ng start wlan1 # puts the adapter in monitor mode, usually as wlan1mon
$ sudo iw dev wlan1mon set channel 6 # your AP's channel, from the ESP32's boot line
$ pip install scapy
#!/usr/bin/env python3
# deauth_watch.py : receive-only deauth/disassoc counter for YOUR network
import argparse
from collections import Counter, deque
from datetime import datetime
from scapy.all import sniff, Dot11
KIND = {12: "DEAUTH", 10: "DISASSOC"}
BCAST = "ff:ff:ff:ff:ff:ff"
def main():
ap = argparse.ArgumentParser()
src = ap.add_mutually_exclusive_group(required=True)
src.add_argument("--iface", help="interface already in monitor mode")
src.add_argument("--pcap", help="replay a saved capture instead")
ap.add_argument("--bssid", required=True, help="your AP's MAC")
ap.add_argument("--window", type=float, default=5.0)
ap.add_argument("--threshold", type=int, default=20)
a = ap.parse_args()
mine = a.bssid.lower()
recent = deque()
state = {"firing": False}
def handle(pkt):
if not pkt.haslayer(Dot11):
return
d = pkt[Dot11]
if d.type != 0 or d.subtype not in KIND:
return
if mine not in ((d.addr3 or "").lower(), (d.addr2 or "").lower()):
return # neighbour noise
raw = bytes(d.payload)
reason = int.from_bytes(raw[:2], "little") if len(raw) >= 2 else -1
t = float(pkt.time)
recent.append((t, d.addr2, d.addr1, reason))
while recent and t - recent[0][0] > a.window:
recent.popleft()
n = len(recent)
stamp = datetime.fromtimestamp(t).strftime("%H:%M:%S")
if n >= a.threshold and not state["firing"]:
state["firing"] = True
reasons = Counter(r for *_, r in recent).most_common(2)
targets = Counter(dst for _, _, dst, _ in recent)
bcast = targets.pop(BCAST, 0)
print(f"[{stamp}] !! ALERT {n} {KIND[d.subtype].lower()} frames "
f"in {a.window:.0f}s on {mine}")
print(f" reasons {reasons} broadcast={bcast} "
f"unicast targets={len(targets)}")
print(f" claimed source {d.addr2} (spoofable, treat as a clue)")
elif n < a.threshold // 2 and state["firing"]:
state["firing"] = False
print(f"[{stamp}] -- quiet again ({n} in window)")
if a.pcap:
sniff(offline=a.pcap, prn=handle, store=False)
else:
sniff(iface=a.iface, prn=handle, store=False,
filter="type mgt and (subtype deauth or subtype disassoc)")
if __name__ == "__main__":
main()$ sudo airmon-ng start wlan1 # puts the adapter in monitor mode, usually as wlan1mon
$ sudo iw dev wlan1mon set channel 6 # your AP's channel, from the ESP32's boot line
$ pip install scapy
#!/usr/bin/env python3
# deauth_watch.py : receive-only deauth/disassoc counter for YOUR network
import argparse
from collections import Counter, deque
from datetime import datetime
from scapy.all import sniff, Dot11
KIND = {12: "DEAUTH", 10: "DISASSOC"}
BCAST = "ff:ff:ff:ff:ff:ff"
def main():
ap = argparse.ArgumentParser()
src = ap.add_mutually_exclusive_group(required=True)
src.add_argument("--iface", help="interface already in monitor mode")
src.add_argument("--pcap", help="replay a saved capture instead")
ap.add_argument("--bssid", required=True, help="your AP's MAC")
ap.add_argument("--window", type=float, default=5.0)
ap.add_argument("--threshold", type=int, default=20)
a = ap.parse_args()
mine = a.bssid.lower()
recent = deque()
state = {"firing": False}
def handle(pkt):
if not pkt.haslayer(Dot11):
return
d = pkt[Dot11]
if d.type != 0 or d.subtype not in KIND:
return
if mine not in ((d.addr3 or "").lower(), (d.addr2 or "").lower()):
return # neighbour noise
raw = bytes(d.payload)
reason = int.from_bytes(raw[:2], "little") if len(raw) >= 2 else -1
t = float(pkt.time)
recent.append((t, d.addr2, d.addr1, reason))
while recent and t - recent[0][0] > a.window:
recent.popleft()
n = len(recent)
stamp = datetime.fromtimestamp(t).strftime("%H:%M:%S")
if n >= a.threshold and not state["firing"]:
state["firing"] = True
reasons = Counter(r for *_, r in recent).most_common(2)
targets = Counter(dst for _, _, dst, _ in recent)
bcast = targets.pop(BCAST, 0)
print(f"[{stamp}] !! ALERT {n} {KIND[d.subtype].lower()} frames "
f"in {a.window:.0f}s on {mine}")
print(f" reasons {reasons} broadcast={bcast} "
f"unicast targets={len(targets)}")
print(f" claimed source {d.addr2} (spoofable, treat as a clue)")
elif n < a.threshold // 2 and state["firing"]:
state["firing"] = False
print(f"[{stamp}] -- quiet again ({n} in window)")
if a.pcap:
sniff(offline=a.pcap, prn=handle, store=False)
else:
sniff(iface=a.iface, prn=handle, store=False,
filter="type mgt and (subtype deauth or subtype disassoc)")
if __name__ == "__main__":
main()Run it live with sudo python3 deauth_watch.py — iface wlan1mon — bssid aa:bb:cc:11:22:33, or point — pcap at a capture you saved. Against a synthetic capture holding one ordinary phone departure, a handful of a neighbour's frames and a 120-frame burst aimed at the test AP, it ignored the neighbour and printed this:
[05:00:32] !! ALERT 20 deauth frames in 5s on aa:bb:cc:11:22:33
reasons [(7, 19), (8, 1)] broadcast=7 unicast targets=1
claimed source aa:bb:cc:11:22:33 (spoofable, treat as a clue)
[05:00:56] -- quiet again (1 in window)[05:00:32] !! ALERT 20 deauth frames in 5s on aa:bb:cc:11:22:33
reasons [(7, 19), (8, 1)] broadcast=7 unicast targets=1
claimed source aa:bb:cc:11:22:33 (spoofable, treat as a clue)
[05:00:56] -- quiet again (1 in window)(synthetic test capture, not a real attack)
Two independent radios agreeing on the same minute is the difference between "my Wi-Fi is weird" and a timeline.
Where It Breaks
The ESP32 only hears its own channel. A mesh system with three nodes and two bands has several BSSIDs on several channels, and the tripwire watches the one it joined. Put one sensor near each node if the whole house matters.
Promiscuous mode costs throughput. Espressif warns it hits the station's own connection hard, which is fine for a sensor that sends a few hundred bytes an hour and wrong for anything else you'd ask the same chip to do.
Reason codes are hints, not fingerprints. Some legit gear floods disassociations when it reboots or band-steers clients, which is why the threshold lives in a constant and the baseline night comes first. If your router's own firmware update trips the alarm, raise the number and write down why.
The Checkbox That Makes the Attack Boring
Protected Management Frames (802.11w) sign deauth and disassoc frames, so clients ignore the forged ones. WPA3 requires PMF; on WPA2 it's usually an "optional" or "capable" toggle hidden two menus deep. Turn it to required if every device on the network supports it, or optional if you still have an old printer clinging on.
Then leave the tripwire running. With PMF on, the floods still happen in the air and the ESP32 still counts them, but your laptop shrugs them off. You keep the evidence and lose the outage.
If your router predates WPA3, that's the upgrade worth paying for. The TP-Link Archer AX55 [AFFILIATE: TP-Link Archer AX55] supports WPA3-Personal out of the box, which is the line on any spec sheet you're actually shopping for here; check the hardware version on the listing and update the firmware before you trust any toggle.
The ESP32 is a good ear. Once you trust it, the obvious next step is giving it more radios to listen with. Hardware Signals Field Pack ($45, numbpilled.gumroad.com/l/hardware-signal-fieldpack) builds a receive-only ESP32-S3 pack that adds a CC1101 for sub-GHz and an MCP2515 for listen-only CAN, with the parts list, power path, wiring, logging and visualization notes, and the scope rules (no jamming, no injection, no replay) written into the build. Same posture as tonight's tripwire, more of the spectrum.
And if you like the promiscuous-callback trick itself, numbpill3d/esp32-ghost-node on GitHub uses the same hook to log Wi-Fi probe requests and BLE sightings as CSV over serial (Arduino IDE, ESP32 Dev Module, 115200 baud). Point it at your own devices first. You'll be surprised what your phone announces to every room it walks into.