diff --git a/TheengsGateway/__init__.py b/TheengsGateway/__init__.py index e1d051bd..deff7f1f 100644 --- a/TheengsGateway/__init__.py +++ b/TheengsGateway/__init__.py @@ -44,7 +44,13 @@ "hass_discovery": 1, "discovery_topic": "homeassistant/sensor", "discovery_device_name": "TheengsGateway", - "discovery_filter": ["IBEACON", "GAEN", "MS-CDP"], + "discovery_filter": [ + "IBEACON", + "GAEN", + "MS-CDP", + "APPLE_CONT", + "APPLE_CONTAT", + ], "adapter": "", "scanning_mode": "active", "time_sync": [], diff --git a/docs/use/use.md b/docs/use/use.md index 8f20ab2c..a4d68724 100644 --- a/docs/use/use.md +++ b/docs/use/use.md @@ -116,7 +116,7 @@ docker run --rm \ -e DISCOVERY=true \ -e DISCOVERY_TOPIC=homeassistant/sensor \ -e DISCOVERY_DEVICE_NAME=TheengsGateway \ - -e DISCOVERY_FILTER="[IBEACON,GAEN,MS-CDP]" \ + -e DISCOVERY_FILTER="[IBEACON,GAEN,MS-CDP,APPLE_CONT,APPLE_CONTAT]" \ -e SCANNING_MODE=active -e ADAPTER=hci0 \ -v /var/run/dbus:/var/run/dbus \ @@ -173,7 +173,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` and `MS-CDP` devices are already filtered as their addresses (id's) change over time resulting in multiple discoveries. +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. ## 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.