All Projects → oznu → homebridge-unifi-occupancy-sensor

oznu / homebridge-unifi-occupancy-sensor

Licence: GPL-3.0 license
An occupancy sensor for Homebridge and UniFi

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to homebridge-unifi-occupancy-sensor

homebridge-panasonic
A Homebridge plugin for Panasonic Viera TV's. Written to support the new Homekit TV accessory.
Stars: ✭ 18 (-74.65%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Ewelink
Homebridge plugin to control eWeLink devices with original firmware.
Stars: ✭ 208 (+192.96%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Govee
Homebridge plugin to control Govee devices supported by the official Govee API.
Stars: ✭ 33 (-53.52%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Tplink Smarthome
TP-Link Smarthome Plugin for Homebridge
Stars: ✭ 277 (+290.14%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Gsh
Allow Google Assistant to control your Homebridge accessories.
Stars: ✭ 190 (+167.61%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Unifi Protect
📹 Complete HomeKit integration for UniFi Protect with full support for most features including autoconfiguration, motion detection, and multiple controllers: https://homebridge.io
Stars: ✭ 335 (+371.83%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Platform Wemo
Homebridge plugin to control Wemo devices.
Stars: ✭ 173 (+143.66%)
Mutual labels:  homebridge, homebridge-plugin, homekit
homebridge-dyson-fan
A Homebridge plugin for controlling a Dyson fan.
Stars: ✭ 17 (-76.06%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Nest Cam
View your Nest cams in HomeKit using Homebridge.
Stars: ✭ 103 (+45.07%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Edomoticz
Domoticz Homebridge-Plugin
Stars: ✭ 104 (+46.48%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Mi Hygrothermograph
Homebridge plugin for the Xiaomi Mi Bluetooth Temperature and Humidity Sensor
Stars: ✭ 179 (+152.11%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Dacp
Remotely control Apple TV and iTunes via HomeKit.
Stars: ✭ 128 (+80.28%)
Mutual labels:  homebridge, homebridge-plugin, homekit
homebridge-lg-thinq-ac
Homebridge plugin for LG ThinQ-enabled portable air conditioner
Stars: ✭ 44 (-38.03%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Dafang
Homebridge Plugin for Xiaomi Dafang / Wyze Cam IP Camera => Hey Siri, Start Video Recording
Stars: ✭ 176 (+147.89%)
Mutual labels:  homebridge, homebridge-plugin, homekit
homebridge-konnected
A Homebridge plugin for Konnected Alarm Panel devices
Stars: ✭ 25 (-64.79%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Hubitat Tonesto7
Hubitat Homebridge Plugin
Stars: ✭ 45 (-36.62%)
Mutual labels:  homebridge, homebridge-plugin, homekit
homebridge-ranger
A HomeKit range extender for Bluetooth Low Energy (BLE) accessories.
Stars: ✭ 65 (-8.45%)
Mutual labels:  homebridge, homebridge-plugin, homekit
HomeKit-Bridge
Enabled HomeKit integration via Homebridge for Indigo Home Automation
Stars: ✭ 43 (-39.44%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Plex Sensors
Homebridge Sensors for Plex - a plugin for Homebridge to adds sensors triggered by Plex playbacks.
Stars: ✭ 95 (+33.8%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Http Switch
Powerful http switch for Homebridge: https://github.com/homebridge/homebridge
Stars: ✭ 111 (+56.34%)
Mutual labels:  homebridge, homebridge-plugin, homekit


Homebridge UniFi Occupancy Sensor

npm npm Donate

This Homebridge plugin will provide an occupancy sensor accessory to HomeKit based on the devices connected to WiFi access points managed by a UniFi Controller.

The plugin connects to the UniFi Controller event web socket to get instant notifications of connecting devices - which can then be used to trigger HomeKit actions like turning on the lights.

Requirements

Homebridge Config

The easiest way to configure this plugin is via Homebridge Config UI X.

"accessories": [
  {
    "accessory": "UniFi Occupancy Sensor",
    "name": "Occupancy Sensor",                    // Required. The name of the sensor.
    "unifi": {
      "controller": "https://demo.ubnt.com:8443",  // Required. The url of the UniFi Controller. Use port 443 for UnifiOS
      "username": "superadmin",                    // Required. A read-only user is fine.
      "password": "password",                      // Required.
      "site": "default",                           // Optional. The UniFi site to connect to.
      "secure": false,                             // Optional. Set true to validate the SSL certificate.
      "unifios": false                             // Optional. Set true if your controller runs on UnifiOS. Use port 443 as well.
    },
    "watch": [                                     // Optional - use either watch or monitor.
      "44:00:10:f0:3e:66"
    ],                                             // An array of device MAC addresses to watch for.
    "monitor": [
      {                                            // Optional - use either watch or monitor. 
        "device": "44:00:10:f0:3e:67",             // An array of device MAC/AP combinations to watch for.
        "ap": "44:00:10:f0:3e:44"
      }
    ],
    "watchGuests": true,                           // Optional. Set false to not monitor guest networks.
    "interval": 1800,                              // Optional. Polling interval used to query Unifi in seconds 
    "mode": "any"                                  // Optional. Set to "any", "all" or "none".
  }
]

Site Name

If you're using a non-default site you will need to specify the name of the site in the plugin config. The internal site name might not match the name you have allocated to the site exactly, you can get the required site name by navigating to the site in the unifi controller then looking at the url bar:

https://unifi.com:8443/manage/site/mofkpypu/dashboard

In this case the site name is mofkpypu and this is the value that should be entered in your Homebridge config.

License

Copyright (C) 2017-2021 oznu

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].