talira

ESPresense

ESP32 nodes that detect which room your phone, watch or beacon is in

open sourceAGPL-3.0self-hostablefree

ESPresense is open source firmware that turns cheap ESP32 boards into Bluetooth presence detection nodes for home automation. Each node measures the distance to trackable devices such as phones, watches and beacons and publishes it over MQTT, with Home Assistant MQTT discovery and integrations for Homebridge and Domoticz. It identifies devices by fingerprint rather than MAC address, can enrol Apple devices by their IRK to locate them even with private random addresses, and filters distances with a median pre-filter and a 1Euro filter to reduce jitter. You can use one node per room with Home Assistant's mqtt_room for room-based automations, or place 5 to 8 or more nodes per floor and run ESPresense Companion, a Home Assistant add-on or Docker container, to solve X,Y positions on a floor plan. Nodes can update themselves from GitHub releases, and the docs list supported boards and add-on sensors.

Problems it solves

  • detect which room I'm in for home automation
  • room-level presence detection with Bluetooth in Home Assistant
  • track my phone or Apple Watch around the house even with random MAC addresses
  • cheap presence sensors for every room without Raspberry Pis
  • indoor positioning on a floor plan with ESP32 nodes

Features

  • ESP32 nodes that measure distance to phones, watches and BLE beacons
  • fingerprint-based device IDs instead of MAC addresses
  • IRK enrollment to track Apple devices with private random addresses
  • Home Assistant MQTT discovery; Homebridge and Domoticz integrations
  • median and 1Euro distance filtering
  • optional auto-updates from GitHub releases
  • ESPresense Companion for X,Y positions on a floor plan
  • supports environmental and light sensor add-ons
  • MQTT and REST API configuration
  • Companion visualises device locations on a floor plan and manages, configures and updates nodes

Limitations

  • Needs an MQTT server.1
  • Floor-plan positioning with Companion needs dense coverage of 5 to 8 or more nodes per floor.1

Capabilities

Has an APIplan not known

Alternatives

The same job

These do what ESPresense does.

  1. RuView Turn WiFi signals into presence detection, vital signs and pose estimation, without cameras

Compare ESPresense with the top 3