Socket
Socket
Sign inDemoInstall

homebridge-wifipresence

Package Overview
Dependencies
2
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    homebridge-wifipresence

Occupancy detection via wifi mac address


Version published
Maintainers
1
Created

Readme

Source

HomeBridge Wifi Presence

Detect presence in the room via wifi. This plugin is using MAC address to detect is anyone in the room or not.

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",
      "clients": ["MAC ADDRESS1"],
      "file": "/var/lib/misc/presence.wifi"
    }
  ],

  "platforms": [

  ]
}

MAC ADDRESS1 is device wifi MAC for telling homebridge when this MAC is present, make the room occipied. It can have more than 1 MAC address.

file is path to list of MAC address, currently default is /var/lib/misc/presence.wifi same as in presence.sh script.

Run presence.sh file in router/access point to gathering devices MAC address from wifi interfaces.

License

ISC

Keywords

FAQs

Last updated on 14 Feb 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc