Plate VI · Operational

ESP32 Presence Sensor

Silicon to dashboard — real presence context.

Custom ESP32 firmware and a live dashboard that sense presence and environment, then stream that context into an in-house automation system.

ESP-IDF v5.2.2 · WebSocket · FastAPI · React + Recharts

ESP-IDF 5.2.2
Firmware
BLE + WiFi + motion
Sensing
WebSocket
Transport
Operational
Status
Overview

An automation system is only as good as its awareness of the physical space, and off-the-shelf sensors rarely stream exactly what you need. This is a custom-firmware sensor built to feed real presence and security context into an in-house automation stack.

It's operational — running firmware, streaming events, and driving a live dashboard end to end, from the silicon to the UI.

The system in motion

Animated architecture breakdown — nodes and data paths resolve in sequence.

Full architecture blueprint
ESP32 Presence Sensor detailed architecture blueprint
Signal path — firmware on the ESP32 streams events over WebSocket to a FastAPI host, which drives a live dashboard and feeds the automation system. · open full-size ↗
The stack — and what each part does
ESP-IDF v5.2.2Native firmware framework for the ESP32
BLE / WiFi passive scanPresence detection without pairing
WebSocketLow-latency event stream off the device
FastAPIIngest host + API for the dashboard
React + RechartsLive visualisation of the event stream
Under the hood

The firmware

Written natively against ESP-IDF v5.2.2, the firmware does presence detection via passive BLE/WiFi scanning and raises after-hours motion alerts. It's real embedded work — not an Arduino sketch — chosen so the device does exactly what the automation system needs rather than what a generic sensor happens to expose.

The signal path

Events flow from firmware over a WebSocket stream into a FastAPI host, which serves a React + Recharts dashboard. The same host feeds the automation system, so presence and security context become inputs other systems can act on.

Proof. Operational — feeding live presence/security context to an in-house automation system.