Closed flobernd closed 5 years ago
Got it working by using --unsafe-perm
.
One more question tho: The MAC of my iPhone keeps changing ... probalby a security feature. Nothing I can do against that I guess?
what kind of device (E.g. PC, raspberry pi) and what distro/version are you running homebridge on?
I‘m using a RaspberryPi 3b+ running Raspbian Stretch Lite. The installation worked with the unsafe switch, but I can‘t see a way to detect My iPhone, if its MAC keeps changing every few minutes :/
Hi @flobernd. Are you happy to help me testing a new build of this plugin? I don't have a RPI so can't test it properly.
I‘m using a RaspberryPi 3b+ running Raspbian Stretch Lite. The installation worked with the unsafe switch, but I can‘t see a way to detect My iPhone, if its MAC keeps changing every few minutes :/
I have the same problem. I also have a raspberry pi 3 running Raspbian Stretch Lite
Hi @flobernd. Are you happy to help me testing a new build of this plugin? I don't have a RPI so can't test it properly.
I could help you
I can help you as well, but I'm afraid this is nothing you can fix. The random MAC addresses seem to be an intended BLE security feature.
But entering the MAC of my IPhone device directly in the configuration file does not discover it either.
Nope, that's not working either. This is „by design“ to prevent tracking of your phone device.
I understand, then I think the best thing is for homebridge and the device to be paired and when the connection is lost then you are not at home. I do not know if it is very difficult to create.
Pairing an iPhone with the Pi is not easy as well, but should work with some efford. I switched to WLAN detection (using the homebridge-fritz-platform
plugin for now). That works very well if you want to know if somebody is at home, but of course won't work well, if you need to know if somebody is close to your Pi.
I've updated the instructions to include the necessary dependencies for Raspberry PI. I'm waiting for Noble to release a new version in order to release an update that will improve stability on the PI.
About the iPhone, I've noticed the random MAC address. But strangely enough, this does not happen when running the plugin on macOS. will investigate further.
Feel free to re-open this issue if you have any further questions :)
Hi there,
I get the following error while installing your plugin:
Anything I can do about that?
Best regards