homebridge-wifipresence icon indicating copy to clipboard operation
homebridge-wifipresence copied to clipboard

Occupied statue: 0

Open cokete opened this issue 6 years ago • 1 comments

Hello! First, thank you for this tool.

I have a problem. I'm using this tool with yours https://github.com/saury/raspberry-pi-wifi-presence-with-mac-address to get Mac addresses of online devices.

I have in presence.wifi the Mac address from my iPhone, but home bridge doesn't detect it.

Always Occupied statue: 0

I've tested with other Mac addresses in presence.wifi but nothing.

my presence.wifi

78:11:dc:fd:xx:xx
8c:be:be:31:yy:yy
d4:9a:20:66:zz:zz

my config.json { "accessory": "WifiPresence", "name": "My iPhone", "room": "Casa", "clients": ["d4:9a:20:66:zz:zz"], "file": "/opt/wifipresence/presence.wifi" }, { "accessory": "WifiPresence", "name": "My iPad", "room": "Casa", "clients": ["78:11:dc:fd:xx:xx"], "file": "/opt/wifipresence/presence.wifi"

cokete avatar Jun 03 '18 19:06 cokete

Hi @cokete, replace "clients" json key with "mac" in config.json. Until this is fixed.

karnauskas avatar Oct 31 '19 21:10 karnauskas