From 65d61fef7b309fbff118fd659158b770db2eb8ae Mon Sep 17 00:00:00 2001 From: Jeef Date: Wed, 14 Dec 2022 13:00:36 -0700 Subject: [PATCH] Update xiaomi_ble.rst (#2531) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update xiaomi_ble.rst I spent a while trying to figure out how to find the Mac address for some sensors. As Bind Key has a top level heading I figured MAC address should also. * Update xiaomi_ble.rst Co-authored-by: H. Árkosi Róbert --- components/sensor/xiaomi_ble.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/sensor/xiaomi_ble.rst b/components/sensor/xiaomi_ble.rst index 5321dca8d..d10901740 100644 --- a/components/sensor/xiaomi_ble.rst +++ b/components/sensor/xiaomi_ble.rst @@ -544,6 +544,11 @@ Optional with **name**, **id** (:ref:`config-id`) and all other options from :re - **formaldehyde** - **battery_level** + +.. _obtaining_the_mac_address: + +Obtaining the MAC address +------------------------- To find the MAC Address so that ESPHome can identify the device, you can create a simple configuration without any sensor entries: .. code-block:: yaml @@ -564,7 +569,7 @@ It can sometimes take some time for the first BLE broadcast to be received. Once .. _obtaining_the_bindkey: -Obtaining The Bindkey +Obtaining the Bindkey --------------------- To set up an encrypted device such as the LYWSD03MMC (with Xiaomi stock firmware) and CGD1, you first need to obtain the bind key. The ``xiaomi_ble`` sensor component is not able to automatically generate a bindkey so other workarounds are necessary.