Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
homebridge-wifipresence
Advanced tools
Readme
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.
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", "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.
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.ISC
FAQs
Occupancy detection via wifi mac address
The npm package homebridge-wifipresence receives a total of 1 weekly downloads. As such, homebridge-wifipresence popularity was classified as not popular.
We found that homebridge-wifipresence demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.