Update xiaomi_ble.rst (#2531)

* 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 <robreg@zsurob.hu>
This commit is contained in:
Jeef 2022-12-14 13:00:36 -07:00 committed by GitHub
parent 3d4d6bdca1
commit 65d61fef7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -544,6 +544,11 @@ Optional with **name**, **id** (:ref:`config-id`) and all other options from :re
- **formaldehyde** - **formaldehyde**
- **battery_level** - **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: 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 .. 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 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. 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.