Skip to content
Homebridge TestFlight
Utilities

Magic Occupancy

homebridge-magic-occupancy · v4.1.2

VerifiedLocalHomebridge 2.0

Creates occupancy sensors and switches that combine triggers and timers for smart light automations.

What it says it supports

Shows up in Apple Home as from its README

Sensor readings in its code

What people report

Software-only plugin that creates occupancy sensors from existing HomeKit switches and sensors; no hardware models reported. Supports Homebridge 2 since v4.

Gathered from the plugin’s GitHub issues, pull requests, discussions, wiki and docs, and from r/homebridge. These are individual reports, so check the linked thread and the date before you buy.

How it connects

Local

No external device (virtual accessories)

Compatibility

Verified by HomebridgeYes
Homebridge versions^1.6.0 || ^2.0.0-beta.0
Homebridge 2.0Yes
Node.js^18.20.4 || ^20.16.0 || ^22.5.1 || ^24.0.0
Settings in Homebridge UIYes
MatterNo
Platform nameMagicOccupancy
LicenseGPL-3.0

Community signals

Downloads a week20
Downloads a month224
GitHub stars83
Open issues6
Closed issues28
Discussions7
Last code push2025-11-21
Latest version4.1.2 (2025-11-21)
First published2021-04-14
Releases72

In ReReHome

Whatever this plugin publishes reaches Apple Home as a normal HomeKit accessory behind your Homebridge bridge, so ReReHome shows and controls it like any other.

Bridges get their own settings page listing the accessories behind them.

Caveats from the README

  • v3 resets v2 settings

HomeKit services in its code

Found by scanning the published npm package. A plugin can register a service only for some devices.

  • OccupancySensor
  • Switch