mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
Update for ruuvi and xiaomi ble to require yaml (#1562)
This commit is contained in:
parent
89795d5e80
commit
ce8e268483
@ -153,12 +153,14 @@ Setting Up Devices
|
|||||||
|
|
||||||
To set up RuuviTag devices you first need to find their MAC Address so that
|
To set up RuuviTag devices you first need to find their MAC Address so that
|
||||||
ESPHome can identify them. So first, create a simple configuration without any
|
ESPHome can identify them. So first, create a simple configuration without any
|
||||||
``ruuvitag`` entries like so:
|
``ruuvitag`` entries but with ``ruuvi_ble`` enabled like so:
|
||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
esp32_ble_tracker:
|
esp32_ble_tracker:
|
||||||
|
|
||||||
|
ruuvi_ble:
|
||||||
|
|
||||||
After uploading the ESP32 will immediately try to scan for BLE devices.
|
After uploading the ESP32 will immediately try to scan for BLE devices.
|
||||||
When it detects these sensors, it will automatically parse the BLE message
|
When it detects these sensors, it will automatically parse the BLE message
|
||||||
print a message like this one:
|
print a message like this one:
|
||||||
|
@ -458,6 +458,8 @@ To find the MAC Address so that ESPHome can identify the device, you can create
|
|||||||
|
|
||||||
esp32_ble_tracker:
|
esp32_ble_tracker:
|
||||||
|
|
||||||
|
xiaomi_ble:
|
||||||
|
|
||||||
After uploading, the ESP32 will immediately try to scan for BLE devices. When it detects a new sensor, it will automatically parse the BLE message print a message like this one:
|
After uploading, the ESP32 will immediately try to scan for BLE devices. When it detects a new sensor, it will automatically parse the BLE message print a message like this one:
|
||||||
|
|
||||||
.. code::
|
.. code::
|
||||||
|
Loading…
Reference in New Issue
Block a user