homebridge-wifipresenceDetect presence in the room via wifi
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🇧🇧cc:dd🇪🇪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
评论
xWifi开源 Wifi 模块
xWifi是一个开源的Wifi硬件模块,硬件规格:SoC–MediatekMT7681802.11b/g/nSoCwith32-bitRISCCPU.SupportforClient/softAPmo
xWifi开源 Wifi 模块
0
RMI via JMS
RMIviaJMS这个Java类库可以让你通过JMS(如:ActiveMQ)来实现Java远程方法调用(RMI)。当你使用RMIviaJMS时,所有远程RMI对象将绑定到JMS消息总线上的目的地(De
RMI via JMS
0
SmartHomeWiFiModuleCode智能家居 WiFi 模块代码
WiFi模块nodeMCU的代码。智能家居嵌入式开发,服务端使用Go语言开发。
SmartHomeWiFiModuleCode智能家居 WiFi 模块代码
0
open80211s开源Mesh WiFi网络软件
非营利组织GeeksWithoutFrontiers发布了开源MeshWiFi网络软件open80211s。软件是基于尚未批准的IEEE802.11WiFi标准扩展802.11s。IEEE802.11
open80211s开源Mesh WiFi网络软件
0