-
-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please bring back some kind of working whitelist / ignore everything else #736
Comments
btw, this happens every 5-10 minutes. Every time if this happens, RA did not receive incoming whitelisted devices. If there are no people around, RA on the other node run complete fine. Both are PI Zeros with the same images, installed drivers and packages. |
For detecting iOS devices unfortunately the connection needs to happen before the allowlist is evaluated, as otherwise it's just a random MAC address that can't effectively be assigned to anything. In theory it should only try to connect to iOS devices that have the room-assistant app installed & running though, because it looks for a specific bit in the manufacturer data that denotes the RA GATT service id (the so called overflow area on iOS). It's possible that a different app also using the same Bluetooth APIs might cause the same bit to be activated though, which would load room-assistant to think that there is a companion app device where it really isn't... although from what I've seen not many apps use these APIs. Two questions that might help spawn possible software fixes for your use case:
|
ah, ok thanks for clarification. I think there could be the problem, because we are in a high frequently area with a lot if tech companies around. The changes are high, that some people have the comp app running on their phones. to your questions
|
It would be nice to be able to disable the companion app connection attempts. I live in an apartment and I am seeing Here is what it eventually returns if it is of any help: BluetoothLowEnergyService: |
Idk if this is the right place to post a question like this, but thought I should try. I don't want to start a new issue because I may just be doing something wrong myself. My struggle is to use the logger function on an RPi Zero W to a grafana/loki instance (working fine from my pi 4bs, just not from the zero ws. After running sudo npm install -g winston-loki and adding the relevant logger configuration, room-assistant will no longer run until removing the logger configuration. And I receive the error: "Liftoff bailout should not happen. Cause: Armv6 not supported" I'm asking here, because I see that corgan2222 successfully has rpi zeros reporting to a loki log. So maybe I'm just missing a step. Any ideas? Or should I post this question somewhere else? |
I switched to ESPresense because I could not get this run stable on a Raspberry Zero. It seems, that there are a lot of people having Problem with this Problem:
|
@corgan2222 sorry to side track this thread, but from the ESPresence site, I see a line that states “ Unfortunately if your household has many iPhones, eventually the nearby info will start to collide and lead to duplicate fingerprints.” - would 4 iPhones and 4 apple watches be classed as to many for reliable tracking? Do iPads, with Bluetooth on but not part of ESPresence tracking come into play on that? |
Good Question which is not easy to answer. Apple's BLE implementation kind of suck. Tracking down to a specific device works well, but not that fast. You can see, that the IDs grouped by the iPhone Version and an ID. |
Is your feature request related to a problem? Please describe.
Bring back a working whitelist, that only connect to given macs.
Describe the solution you'd like
Ignore ALL devices, macs, tags wich are not in the config whitelist.
Additional context
One of our raspberry zeros is mounted at the office frontdoor in a highly frequented public area. There are hundreds of people around at daytime. RA tries to connect to them and runs into a timeout, force an unlock and then restart the service.
In this time there are two different bad things happen.
On a pi zero the restart takes around 4 minutes in between the hole cluster did not work.
So it would be great if RA would be ignoring everything what's not in the config whitelist.
Here you can see this
The text was updated successfully, but these errors were encountered: