# ESPresense/ESPresense

An ESP32 based node for gathering indoor positioning and transmitting to mqtt

Repository: https://github.com/ESPresense/ESPresense
Canonical: https://ross.abutalabs.com/products/espresense
Homepage: https://espresense.com/
Language: C
License: AGPL-3.0
License Family: copyleft
Topics: esp32, esp32-arduino, mqtt, home-assistant, homeassistant, home-automation, iot, hacktoberfest, m5atom, m5atom-lite, m5atom-matrix, indoor-positioning, m5stickc-plus
Last push: 2026-08-26T16:22:38+00:00

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 72, longevity 100
- inputs: {"age_days": 1841, "days_push": 7, "days_rel": 186, "gap_med": 3, "n_releases_24m": 10}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1471, forks 183 (observed 2026-08-28T04:04:49.265172+00:00)

## What it is
ESPresense is ESP32 firmware that scans for BLE devices and reports indoor presence/positioning data over MQTT for use with Home Assistant or ESPresense Companion. It supports fingerprint-based device IDs, IRK-based Apple device enrollment, distance filtering, and MQTT auto-discovery.

## Use cases
- track which room a person or device is in with Home Assistant
- indoor BLE presence detection using cheap ESP32 nodes
- locate Apple devices with random rotating addresses via IRK enrollment
- estimate precise X,Y coordinates on a floor plan with multiple nodes
- count devices in a room for occupancy automations
- flash ESP32 firmware from the browser and configure over WiFi

## When to choose
- you want room-level presence with one ESP32 node per room
- you use Home Assistant and want MQTT discovery integration
- you need cheap hardware instead of Raspberry Pi scanners
- you want dense multi-node positioning with floor-plan coordinates via Companion

## When to avoid
- you need GPS or outdoor positioning
- you have no MQTT broker available
- you need to track devices without BLE (e.g., WiFi-only tracking)
- you require sub-meter accuracy with only one or two nodes

## Facets
- artifact type: application
- maturity: active
- function: iot, monitoring, message-queue, embedded
- domain: iot, self-hosted
- platform: iot, embedded
- tags: indoor-positioning, ble-tracking, presence-detection, esp32-firmware, home-automation, mqtt-room, room-presence, ble-beacon, automation, mqtt

## Member repositories
- ESPresense/ESPresense (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:49.265172+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:34:44.373509+00:00, confidence not recorded.
  - readme: https://github.com/ESPresense/ESPresense (fetched 2026-08-28T04:04:49.265172+00:00, sha 084f40c3d2f0)
  - homepage: https://espresense.com/ (fetched 2026-08-29T11:42:32.978519+00:00, sha 471172bddf04)
  - site_page: https://espresense.com/companion/installation (fetched 2026-08-29T11:42:32.983814+00:00, sha 039970502407)
  - site_page: https://espresense.com/integrations/homebridge (fetched 2026-08-29T11:42:32.989194+00:00, sha 02945140225f)
  - site_page: https://espresense.com/firmware (fetched 2026-08-29T11:42:32.981832+00:00, sha b21c3a0b55dc)
  - site_page: https://espresense.com/companion/faq (fetched 2026-08-29T11:42:32.985807+00:00, sha 46dcd5a72b72)
  - site_page: https://espresense.com/integrations/home-assistant (fetched 2026-08-29T11:42:32.987504+00:00, sha bdcfa4ae4b65)
  - site_page: https://espresense.com/integrations/domoticz (fetched 2026-08-29T11:42:32.990679+00:00, sha 16a7a7cb69d4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
