Best PIR Sensors for Home Assistant Integration (2026)

Introduction

Home Assistant users need PIR sensors that integrate easily and reliably. This guide covers the best options for Zigbee, Z-Wave, ESPHome, and Matter-based sensors.

Integration Methods for Home Assistant

Zigbee (Zigbee2MQTT / ZHA)

Best balance of battery life, cost, and ease of integration. Requires USB dongle (Sonoff, Conbee, SkyConnect).

Z-Wave (Z-Wave JS)

Very reliable, certified sensors. Requires Z-Wave USB dongle (Aeotec, Zooz).

ESPHome

DIY sensors with full control. Direct integration, no hub required.

Matter / Thread

Future-proof standard, works with Thread border routers (Apple TV, Google Nest Hub).

Wi-Fi

Direct connection, but higher power consumption. Best for USB-powered devices.

Top PIR Sensors for Home Assistant

Best Zigbee: Aqara Motion Sensor P1

Price: $21.99
Battery life: 5 years (CR2450)
Range: 7m, 170°
Features: Compact size, temperature sensor, wide field of view
Integration: Zigbee2MQTT, ZHA
Best for: Most Home Assistant users, long battery life

Best Z-Wave: Ecolink PIR Motion Detector

Price: $44.99
Battery life: 5 years (CR123A)
Range: 12m, 90°
Features: Pet-immune option, tamper switch, ultra-reliable
Integration: Z-Wave JS, zwavejs2mqtt
Best for: Z-Wave users, professional reliability

Best ESPHome: DIY PIR Sensor (ESP32 + AM312)

Price: $15-25
Battery life: Months to years (with deep sleep)
Range: 5-12m
Features: Fully customizable, direct integration, no hub required
Integration: ESPHome native
Best for: DIY enthusiasts, custom installations

ESPHome Configuration:

esphome:
  name: motion-sensor

esp8266:
  board: nodemcuv2

wifi:
  ssid: "YourSSID"
  password: "YourPassword"

api:
  password: "YourAPIPassword"

ota:
  password: "YourOTAPassword"

binary_sensor:
  - platform: gpio
    pin: D1
    name: "Living Room Motion"
    device_class: motion
    filters:
      - delayed_on: 100ms
      - delayed_off: 60s

Best Thread/Matter: Eve Motion

Price: $39.95
Battery life: 3 years (2x AA lithium)
Range: 12m, 120°
Features: Thread mesh networking, Matter certified, works with Apple Home, Google Home, Alexa
Integration: Home Assistant via Matter (requires Thread border router)
Best for: Multi-platform smart homes, future-proofing

Best Budget: IKEA VALLHORN

Price: $14.99
Battery life: 2 years (3x AAA)
Range: 10m, 110°
Features: Pet lens option, indoor/outdoor versions
Integration: Zigbee2MQTT, ZHA
Best for: Budget-conscious users, IKEA smart lighting

Home Assistant Automation Examples

Motion-Activated Lighting

automation:
  - alias: "Turn on living room lights when motion detected"
    trigger:
      - platform: state
        entity_id: binary_sensor.living_room_motion
        to: "on"
    action:
      - service: light.turn_on
        target:
          entity_id: light.living_room_lights
        data:
          brightness: 255

  - alias: "Turn off living room lights when no motion"
    trigger:
      - platform: state
        entity_id: binary_sensor.living_room_motion
        to: "off"
        for: "00:05:00"
    action:
      - service: light.turn_off
        target:
          entity_id: light.living_room_lights

Send Mobile Notification

automation:
  - alias: "Notify when motion detected while away"
    trigger:
      - platform: state
        entity_id: binary_sensor.driveway_motion
        to: "on"
    condition:
      - condition: state
        entity_id: person.me
        state: "not_home"
    action:
      - service: notify.mobile_app_my_phone
        data:
          message: "Motion detected at driveway!"

Comparison Table

$22

5 years

Zigbee2MQTT

Easy

$45

5 years

Z-Wave JS

Easy

$15-25

Varies

ESPHome

Moderate

$40

3 years

Matter

Easy

$15

2 years

Zigbee2MQTT

Easy

Setting Up Zigbee2MQTT

  1. Install Zigbee2MQTT add-on in Home Assistant
  2. Plug in Zigbee USB dongle (Sonoff, Conbee, SkyConnect)
  3. Put sensor in pairing mode (usually press button 3-5 seconds)
  4. Sensor will auto-discover in Zigbee2MQTT
  5. Entity will appear in Home Assistant

Conclusion

For most Home Assistant users, the Aqara Motion Sensor P1 offers the best balance of battery life, cost, and easy Zigbee integration. For DIY enthusiasts, ESPHome sensors provide maximum flexibility. For Z-Wave users, the Ecolink PIR is the top choice.

Leave a Reply

Your email address will not be published. Required fields are marked *

Option Cost Battery Life Integration Setup Difficulty
Aqara P1 Ecolink ESPHome DIY Eve Motion IKEA VALLHORN