Skip to content

Commit 73b38b4

Browse files
andywcoderfabaff
authored andcommitted
Update sensor.mitemp_bt.markdown (home-assistant#5511)
Since I didn't have to configure anything on a new hass.io installation, I think it's save to say it works out of the box.
1 parent 1ee3eb6 commit 73b38b4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/_components/sensor.mitemp_bt.markdown

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,19 @@ ha_iot_class: "Local Polling"
1515

1616
The `mitemp_bt` sensor platform allows one to monitor room temperature and humidity. The [Xiaomi Mijia BLE Temperature and Humidity sensor with LCD](https://www.amazon.com/Temperature-Humidity-Xiaomi-Bluetooth-Screen-Remote/dp/B079L6N6PC) is a small Bluetooth Low Energy device that monitors the room temperature and humidity. As only a single BLE device can be polled at the same time, the library employs locking to make sure this is the case.
1717

18-
# Installation
18+
## {% linkable_title Installation %}
19+
1920
Depending on the operating system you're running, you have to configure the proper Bluetooth backend on your system:
2021

21-
- On [Hass.io](/hassio/installation/): Not yet supported.
22+
- On [Hass.io](/hassio/installation/): mitemp_bt will work out of the box.
2223
- On a [generic Docker installation](https://www.home-assistant.io/docs/installation/docker/): Works out of the box with `--net=host` and properly configured Bluetooth on the host.
2324
- On other Linux systems:
2425
- Preferred solution: Install the `bluepy` and `btlewrap` library (via pip). When using a virtual environment, make sure to use install the library in the right one.
2526
   - Fallback solution: Install `btlewrap` library (via pip) and `gatttool` via your package manager. Depending on the distribution, the package name might be: `bluez`, `bluetooth`, `bluez-deprecated`
2627
- Windows and MacOS are currently not supported by the btlewrap library.
2728

28-
# Configuration
29+
## {% linkable_title Configuration %}
30+
2931
Start a scan to determine the MAC addresses of the sensor:
3032

3133
```bash
@@ -43,10 +45,8 @@ $ bluetoothctl
4345
Discovery started
4446
[CHG] Controller XX:XX:XX:XX:XX:XX Discovering: yes
4547
[NEW] Device 4C:65:A8:D2:31:7F MJ_HT_V1
46-
4748
```
4849

49-
5050
Check for `MJ_HT_V1` or similar entries, those are your sensor.
5151

5252
To use your Mi Temperature and Humidity sensor in your installation, add the following to your `configuration.yaml` file:

0 commit comments

Comments
 (0)