From f27855527eadc0239d77dde1da5ee8727f3bd1c6 Mon Sep 17 00:00:00 2001 From: DigiH Date: Thu, 25 Apr 2024 14:11:28 +0200 Subject: [PATCH] [DOCS] RETAIN option clarification only for white/black-list (#1937) --- docs/use/ble.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/use/ble.md b/docs/use/ble.md index 3b25a04..4eecfb3 100644 --- a/docs/use/ble.md +++ b/docs/use/ble.md @@ -137,6 +137,8 @@ to enable white/black list back ::: tip So as to keep your white/black list persistent you can publish it with the retain option of MQTT (-r with mosquitto_pub or retain check box of MQTT Explorer) `mosquitto_pub -r -t home/OpenMQTTGateway/commands/MQTTtoBT/config -m '{"white-list":["01:23:14:55:16:15","4C:65:77:88:9C:79","4C:65:A6:66:3C:79"]}'` + +**NOTE**: Only when sending a white/black list should the retain option be set. All other commands to any OpenMQTTGateway gateway **must not** have the retain option set. To persist such other command settings, read [the following section](https://docs.openmqttgateway.com/use/ble.html#store-ble-configuration-into-the-gateway) ::: ## Setting the time between BLE scans and force a scan (available with HA discovery)