From 0e5fe57c32caaa099d7b77e27d6fb30dd05d4c3e Mon Sep 17 00:00:00 2001 From: Florian Date: Sat, 15 Apr 2023 17:26:47 -0500 Subject: [PATCH] [RMAC] Remove unnecessary filters (#130) Now that we detect these devices with random macs, no need to keep these default filters --- TheengsGateway/__init__.py | 4 ---- docs/use/use.md | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/TheengsGateway/__init__.py b/TheengsGateway/__init__.py index 1180bed2..8c9c1240 100644 --- a/TheengsGateway/__init__.py +++ b/TheengsGateway/__init__.py @@ -46,10 +46,6 @@ "discovery_device_name": "TheengsGateway", "discovery_filter": [ "IBEACON", - "GAEN", - "MS-CDP", - "APPLE_CONT", - "APPLE_CONTAT", ], "adapter": "", "scanning_mode": "active", diff --git a/docs/use/use.md b/docs/use/use.md index d830814b..47867f0c 100644 --- a/docs/use/use.md +++ b/docs/use/use.md @@ -177,7 +177,7 @@ If enabled (default), decoded devices will publish their configuration to Home A - The discovery name can be set wit the `-Dn` or `--discovery_name` command line argument. - Devices can be filtered from discovery with the `-Df` or `--discovery_filter` argument which takes a list of device "model_id" to be filtered. -The `IBEACON`, `GAEN`, `MS-CDP`, `APPLE_CONT` and `APPLE_CONTAT` devices are already filtered as their addresses (IDs) change over time resulting in multiple discoveries. +The `IBEACON` and random MAC devices (APPLE, MS-CDP and GAEN) are not discovered as their addresses (IDs) change over time resulting in multiple discoveries. ## Passive scanning Passive scanning (`-s passive` or `--scanning_mode passive`) only works on Windows or Linux kernel >= 5.10 and BlueZ >= 5.56 with experimental features enabled.