Magic Occupancy
homebridge-magic-occupancy · v4.1.2
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 Homebridge | Yes |
|---|---|
| Homebridge versions | ^1.6.0 || ^2.0.0-beta.0 |
| Homebridge 2.0 | Yes |
| Node.js | ^18.20.4 || ^20.16.0 || ^22.5.1 || ^24.0.0 |
| Settings in Homebridge UI | Yes |
| Matter | No |
| Platform name | MagicOccupancy |
| License | GPL-3.0 |
Community signals
| Downloads a week | 20 |
|---|---|
| Downloads a month | 224 |
| GitHub stars | 83 |
| Open issues | 6 |
| Closed issues | 28 |
| Discussions | 7 |
| Last code push | 2025-11-21 |
| Latest version | 4.1.2 (2025-11-21) |
| First published | 2021-04-14 |
| Releases | 72 |
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