Skip to content

A Homebridge plugin for a switch that triggers a occupancy detected event

Notifications You must be signed in to change notification settings

theo-69/homebridge-occupancy-switch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Homebridge Occupancy Switch

Can be used to trigger a occupancy detected event when a switch is turned on, via Siri for example.

Setup

npm install -g homebridge-occupancy-switch

And add the following to the accessories list in your Homebridge config. Change names as you wish.

{
  "accessory": "Occupancy Switch",
  "occupancy_sensor_name": "Occupancy Sensor",
  "switch_name": "Occupancy Switch",
  "name": "Occupancy Switch"
}

Then add it to HomeKit, once added, you will need to turn on Notifications for the Occupancy sensor you just added.

About

A Homebridge plugin for a switch that triggers a occupancy detected event

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%