All Projects → llun → homebridge-wifipresence

llun / homebridge-wifipresence

Licence: other
Detect presence in the room via wifi

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to homebridge-wifipresence

Homepoint
Espressif ESP32 Based Smarthome screen for MQTT
Stars: ✭ 391 (+902.56%)
Mutual labels:  homebridge, wifi, homekit
Homebridge Nest Cam
View your Nest cams in HomeKit using Homebridge.
Stars: ✭ 103 (+164.1%)
Mutual labels:  homebridge, homekit
Homebridge Edomoticz
Domoticz Homebridge-Plugin
Stars: ✭ 104 (+166.67%)
Mutual labels:  homebridge, homekit
Homebridge Ewelink
Homebridge plugin to control eWeLink devices with original firmware.
Stars: ✭ 208 (+433.33%)
Mutual labels:  homebridge, homekit
Pai
Paradox Magellan, Spectra and EVO, with MQTT, Signal, Pushbullet, Pushover and others
Stars: ✭ 185 (+374.36%)
Mutual labels:  homebridge, homekit
Homebridge Netatmo
This is a homebridge plugin for several netatmo devices
Stars: ✭ 99 (+153.85%)
Mutual labels:  homebridge, homekit
Fakegato History
Module to emulate Elgato Eve history
Stars: ✭ 117 (+200%)
Mutual labels:  homebridge, homekit
Homebridge Cmd4
CMD4 Plugin for Homebridge - Supports ~All Accessory Types & now all Characteristics too
Stars: ✭ 92 (+135.9%)
Mutual labels:  homebridge, homekit
Homebridge Dacp
Remotely control Apple TV and iTunes via HomeKit.
Stars: ✭ 128 (+228.21%)
Mutual labels:  homebridge, homekit
Homebridge Dafang
Homebridge Plugin for Xiaomi Dafang / Wyze Cam IP Camera => Hey Siri, Start Video Recording
Stars: ✭ 176 (+351.28%)
Mutual labels:  homebridge, homekit
Dsckeybusinterface
An Arduino/esp8266/esp32 library to directly interface with DSC security systems.
Stars: ✭ 202 (+417.95%)
Mutual labels:  homebridge, homekit
Homebridge Homematic
Homematic plugin for homebridge: https://github.com/nfarina/homebridge
Stars: ✭ 163 (+317.95%)
Mutual labels:  homebridge, homekit
Addon Homebridge
 Homebridge - Community Hass.io Add-on for Home Assistant
Stars: ✭ 96 (+146.15%)
Mutual labels:  homebridge, homekit
Homebridge Wol
A Wake on Lan plugin for Homebridge
Stars: ✭ 150 (+284.62%)
Mutual labels:  homebridge, homekit
Homebridge Plex Sensors
Homebridge Sensors for Plex - a plugin for Homebridge to adds sensors triggered by Plex playbacks.
Stars: ✭ 95 (+143.59%)
Mutual labels:  homebridge, homekit
Homebridge Http Switch
Powerful http switch for Homebridge: https://github.com/homebridge/homebridge
Stars: ✭ 111 (+184.62%)
Mutual labels:  homebridge, homekit
Homebridge Platform Wemo
Homebridge plugin to control Wemo devices.
Stars: ✭ 173 (+343.59%)
Mutual labels:  homebridge, homekit
Homebridge Hubitat Tonesto7
Hubitat Homebridge Plugin
Stars: ✭ 45 (+15.38%)
Mutual labels:  homebridge, homekit
Homebridge Unifi Protect Camera Motion
Camera & Motion sensor support for Unifi Protect cameras in Homekit via Homebridge
Stars: ✭ 79 (+102.56%)
Mutual labels:  homebridge, homekit
Docker Homebridge
Homebridge Docker. HomeKit support for the impatient using Docker on x86_64, Raspberry Pi (armhf) and ARM64. Includes ffmpeg + libfdk-aac.
Stars: ✭ 1,847 (+4635.9%)
Mutual labels:  homebridge, homekit

HomeBridge Wifi Presence

Detect presence in the room via WiFi. This plugin uses MAC addresses to detect when somebody is in a room or not, depending on which network they are connected to.

Setup

Install plugin npm install -g homebridge-wifipresence and add accessories to homebridge config.

{
  "bridge": {
    "name": "Homebridge",
    "username": "CD:22:3D:E3:CE:30",
    "port": 51826,
    "pin": "031-45-154"
  },

  "description": "This is an example configuration for the WifiPresence homebridge plugin",

  "accessories": [
    {
      "accessory": "WifiPresence",
      "name": "Main Wifi",
      "room": "Living room",
      "mac": ["MAC ADDRESS1", "MAC ADDRESS2", ..., "MAC ADDRESSX"],
      "presenceFile": "/var/lib/misc/presence.wifi"
    }
  ],

  "platforms": [

  ]
}

MAC ADDRESSX is the device WiFi MAC Address that you want to monitor. Once this MAC Address is connected to your network, Homebridge will then trigger the presence sensor to make the room occupied. You can add more than 1 MAC address, and they should be written in lower case (i.e.: aa:bb:cc:dd:ee:ff).

presenceFile is the path to list of MAC addresses. Currently, the default path is /var/lib/misc/presence.wifi, the same as in presence.sh scripts.

Presence scripts

Two presence scripts are provided:

  • presence.sh: To run on the router/access point to gather device MAC addresses from WiFi interfaces.
  • presence_server.sh: To run on the server where Homebridge is running, for when you do not have access or cannot run scripts on the router/access point.

License

ISC

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].