Hybrid mmWave and PIR Smart Presence Lighting

A robust whole-home presence lighting system using Home Assistant and Zigbee2MQTT that pairs mmWave radar and PIR sensors to eliminate false triggers and stuck lights.

Illustration for: Hybrid mmWave and PIR Smart Presence Lighting
AI-generated illustration
WorkingIntermediateFor: homelab

About this project

Automating lights based purely on simple motion sensors frequently leaves occupants in the dark during static activities, while mmWave radar sensors alone can suffer from ghost triggers and delayed detection in transit zones. This project implements a reliable hybrid room lighting architecture using Home Assistant and Zigbee2MQTT. It deploys mains-powered mmWave radar sensors for continuous stationary detection in living areas and low-latency PIR sensors for staircases and transit paths. The automations incorporate solar elevation and weather forecast conditions to dynamically adjust daylight thresholds, configure hardware fading intervals directly on the sensors, and integrate failsafe timeout rules that turn off lights if radar hardware gets stuck in an occupied state.

What you need

  • Zigbee USB coordinator
  • mmWave radar presence sensors
  • PIR motion sensors
  • No-neutral in-wall Zigbee switch relays
  • Smart Zigbee light bulbs
  • Home server with Docker

Highlights

  • Deployed mains-powered mmWave radar for stationary living zones and battery PIR for high-traffic staircase paths to prevent ghost triggers.
  • Implemented daylight logic combining solar elevation angles below 25 degrees with overcast weather conditions to automate lighting on cloudy days.
  • Created automated safety timeout rules to extinguish lights when mmWave sensors lock up or fail to report clearance.

Built with

Home AssistantZigbee2MQTTMQTTDocker