-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
device_tracker.ubus tracks unauthenticated and unassociated devices #8475
Comments
Looking at the responsible code it seems that it just takes |
I haven't read the code from LEDE, not sure what does "assoc", "auth" and "authorized" means. |
They represent different levels of a client "being" in the WiFi. Home-assistant should check that they are |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 |
This issue hasn't been fixed, yet. Or @fanthos have you been doing something? |
Not fixed. "clients": {
"xx:xx:xx:xx:xx:xx": {
"auth": true,
"assoc": true,
"authorized": false,
"preauth": false,
"wds": false,
"wmm": true,
"ht": true,
"vht": false,
"wps": false,
"mfp": false,
"aid": 2
},
"yy:yy:yy:yy:yy:yy": {
"auth": true,
"assoc": true,
"authorized": true,
"preauth": false,
"wds": false,
"wmm": true,
"ht": true,
"vht": false,
"wps": false,
"mfp": false,
"aid": 1
}
} Only yy:yy:yy:yy:yy:yy has wpa key. We need to add the check of |
…d unassociated devices
Home Assistant release: 0.48.1
Python release: Python 3.4.2 (on Raspian)
Component/platform:
device_tracker.ubus
Description of problem: Frequently new devices are tracked (to be home) and added to the known devices file even though these devices don't have the WiFi password and don't show up in OpenWRT's or LEDE's list of associated clients.
Expected: Only devices that are properly associated and authenticated with the WiFi router should be tracked.
Problem-relevant
configuration.yaml
entries and steps to reproduce:Additional info:
Here's an example of the ubus traffic that shows one properly tracked device and one that should not be tracked.
A simple solution should be to check if
authorized
andassoc
aretrue
.The text was updated successfully, but these errors were encountered: