Hello
My mistake the time_between value was incorrect on the remote py antenna, it’s far better now eg 2-4 messages/min:
20/05/2024 12:28:19
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -63, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:28:19(-0.05 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -63, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:27:14(-64.87 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -62, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:27:14(-0.04 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -62, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:26:07(-66.33 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -66, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:26:07(-0.06 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -66, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:25:02(-65.37 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -64, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:25:02(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -64, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:25:02(-0.21 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -51, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:25:02(-0.05 seconds)
Still it seems I have the same problem on the docker version. Here’s my docker-compose.yml
:
services:
theengs:
container_name: theengs
image: theengs/gateway
network_mode: host
privileged: true
restart: unless-stopped
environment:
MQTT_HOST: localhost
MQTT_USERNAME: jeedom
MQTT_PASSWORD: xxxxx
MQTT_PUB_TOPIC: theengs/tgw_local/BTtoMQTT
MQTT_SUB_TOPIC: theengs/tgw_local/commands
LWT_TOPIC: theengs/tgw_local/LWT
# PUBLISH_ALL: true
TIME_BETWEEN: 60
SCAN_TIME: 5
LOG_LEVEL: WARNING
DISCOVERY_DEVICE_NAME: tgw_local
DISCOVERY_FILTER: "[IBEACON,GAEN,MS-CDP]"
# SCANNING_MODE: active
ADAPTER: hci0
volumes:
- /var/lib/docker/store/theengs/:/config/
- /var/run/dbus:/var/run/dbus
healthcheck:
test: 'hciconfig|awk "/hci0/{ print $0 }" || exit 1'
interval: 1m
timeout: 1s
start_period: 5s
retries: 3
here’s what I get for this antenna on the same device eg ~25 messages/min:
20/05/2024 12:24:58
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -83, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:24:58(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -83, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:24:57(-0.29 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -83, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:24:57(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -83, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:24:57(-0.32 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:24:57(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:24:57(-0.33 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -84, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:24:57(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -84, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:24:56(-0.28 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:24:56(-0.05 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:24:56(-0.27 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -83, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:24:56(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -83, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:24:55(-0.61 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -83, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:24:55(-0.04 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -83, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:24:55(-0.27 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:24:55(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:24:55(-0.26 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:24:55(-0.05 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:24:55(-0.31 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:24:55(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:24:54(-0.57 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -83, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:24:54(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -83, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:24:53(-0.91 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -83, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:24:53(-0.05 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -83, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:23:51(-61.53 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:23:51(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:23:51(-0.32 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:23:51(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:23:51(-0.26 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:23:51(-0.05 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:23:50(-0.55 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:23:50(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:23:50(-0.36 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:23:50(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:23:50(-0.21 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -85, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:23:50(-0.04 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -85, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:23:49(-0.31 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -84, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:23:49(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -84, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:23:49(-0.66 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:23:49(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:23:48(-0.26 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:23:48(-0.05 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:22:47(-61.85 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:22:47(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:22:46(-0.34 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:22:46(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:22:45(-1.23 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:22:45(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:22:44(-0.9 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:22:44(-0.04 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:22:43(-1.18 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:22:43(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:22:43(-0.19 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -83, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:22:43(-0.05 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -83, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:21:41(-61.31 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -84, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:21:41(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -84, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:21:41(-0.28 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:21:41(-0.05 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:21:41(-0.26 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:21:41(-0.05 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:21:40(-0.23 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:21:40(-0.05 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:21:40(-0.3 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:21:40(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:21:40(-0.3 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -83, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:21:40(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -83, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:21:39(-0.31 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -83, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:21:39(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -83, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:21:39(-0.62 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -84, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:21:39(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -84, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:21:39(-0.29 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -83, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:21:39(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -83, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:21:38(-0.31 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:21:38(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -74, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:21:38(-0.6 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:21:38(-0 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fe95", "servicedata": "1059292e00956a252c62d0"}
20/05/2024 12:21:37(-0.93 seconds)
{"name": "Xiaomi Smart Band 8 6A95", "id": "D0:62:2C:25:6A:95", "rssi": -82, "servicedatauuid": "fdab", "servicedata": "0104"}
20/05/2024 12:21:37(-0 seconds)