BLE Presence is a self-built presence detection system using Bluetooth Low Energy to locate people and devices room-by-room throughout your home. Completely self-hosted, fully configurable, and designed for your smart home automation.
Distributed BLE scanners (ESP32) capture Bluetooth signals in every room. Master-client architecture with automatic synchronization.
Real-time positioning on the floorplan via trilateration. Floorplan editor with zones and scanner placement.
The MQTT broker running on the master enables seamless integration with Home Assistant, Loxone and other platforms via MQTT. UDP export available.
(custom broker can also be used)
Presence timeline, battery monitoring over months, online/offline tracking with graphical analysis.
Update the master via WebUI.
Update ESP32 scanners remotely or via web UI with automatic version detection.
Complete configuration via the web interface (Master/ESP32). Room tracking parameters, scanner management, service control.
A central master aggregates data from all scanners, calculates positions, and publishes results via MQTT.
ESP32
BLE Scan + RSSI
Raspberry Pi Master Β· Data Fusion Β· Trilateration
Anti-Flapping Β· Room Tracking
Loxone Β· Home Assistant
MQTT Β· UDP
From the live map to firmware management β the entire system can be conveniently controlled via the web interface.
Real-time overview of all detected devices and active scanners. Live MQTT connection immediately shows new devices, signal strength, battery status and the assigned scanner.
Devices are positioned on the floorplan in real time β either via trilateration from multiple scanner signals or as a fallback at the nearest scanner. Zone detection and multi-floor support included.
Upload a floorplan, place scanners via drag & drop, draw zones directly on the plan. The scale is calibrated for correct distance calculation. Supports multiple floors.
Detailed presence timeline per device: online/offline phases, duration, assigned scanner. Battery monitoring over months with trend graphs and min/max values.
Version management for the entire system: master software updates, ESP32 firmware downloads for various hardware variants, and automatic detection of firmware status across all scanners.
Compact, cost-effective BLE scanners based on ESP32. Dedicated web UI per scanner, centralized management at the master. Supports ESP32-WROOM and ESP32-S3 hardware. OTA updates, battery scans and device sync via API.
Deliberately pragmatic β proven tools over hype.
Master
Backend & Aggregator
Web Interface
Mosquitto Broker
Live UI & WebSocket
BLE Scanner Clients
ESP32 Firmware
BLE Libraries
Anonymous, aggregated usage statistics.
Installations
Scanners
BLE Devices