Last Updated:

Integrate Lutron RA2 Occupancy Sensors with Home Assistant

S.C.O.R.E.SafetySecurity

Overview

The integration of Lutron RA2 occupancy sensors with Home Assistant enhances home security and convenience by providing real-time monitoring of room occupancy. This capability allows homeowners to automate lighting and security measures based on actual presence, improving energy efficiency and safety.

Safety icon

Benefits

  • Automatic lighting control based on room occupancy, reducing energy waste.
  • Increased security through alerts when unexpected movement is detected.
  • Enhanced comfort for residents by ensuring lights are on when needed.

Intent

This capability aims to leverage occupancy sensors to create a more responsive home environment. It achieves this by integrating sensor data with Home Assistant to automate actions based on presence detection.

Preconditions

  • Lutron RA2 occupancy sensors installed and configured.
  • Home Assistant instance set up and operational.
  • Integration between Lutron RA2 and Home Assistant established.
  • Home Assistant installed and configured.
  • Integration available and authenticated: Zigbee2MQTT.
  • Device installed and reachable: Temperature Sensors.

Actors

  • Homeowner managing home settings
  • Family members benefiting from automated lighting
  • Guests enjoying a responsive home experience

Trigger

The capability is triggered when the occupancy sensor detects motion or a change in room presence.

Workflow Diagram

flowchart TD
    A[Occupancy Sensor Detects Motion] -->|check| B{Is Room Occupied?}
    B -->|Yes| C[Activate Lights]
    C --> D[Lights On for Occupants]
    B -->|No| E[Deactivate Lights]
    E --> D[Lights Off for Unoccupied Room]

Workflow Description

1. Sensor Detection

The Lutron RA2 occupancy sensor detects motion within its range and sends a signal to Home Assistant.

2. Presence Decision

Home Assistant evaluates whether the room is occupied based on the sensor input.

3. Lighting Control

If the room is occupied, Home Assistant triggers the lighting system to turn on.

4. Alert Notification

If unexpected movement is detected when the room is supposed to be empty, Home Assistant sends a security alert.

5. Automatic Deactivation

When the sensor detects no movement after a set period, Home Assistant turns off the lights.

Postconditions

After the capability completes, the lights will be automatically controlled based on occupancy, enhancing safety and energy efficiency.

Optional Enhancements

  • Integrate with voice assistants for manual override.
  • Set up scheduled lighting patterns for specific times.
  • Link with security cameras for visual confirmation of alerts.

Recommended Components

Recommended ApplicationsRecommended IntegrationsRecommended Devices
Home AssistantZigbee2MQTT, ESPHomeTemperature Sensors, Motion Detection

Source Examples