BeeWi SmartClim BLE sensor
The beewi_smartclim
sensor platform allows one to monitor room or external temperature and humidity. The BeeWi SmartClim BLE is a Bluetooth Low Energy sensor device that monitors temperature from a room or a garden from your smartphone by using an APP. Use this integration to track these metrics from any location thanks to Home Assistant, as well as to create some automation scripts based on your room’s temperature.
Installation
Depending on the operating system you’re running, you have to configure the proper Bluetooth backend on your system:
-
beewi_smartclim
will work out of the box as long as the host supports Bluetooth (like the Raspberry Pi does). - Using Home Assistant Container installation: Works out of the box with
--net=host
and properly configured Bluetooth on the host. - On other Home Assistant Core systems:
- Preferred solution: Install the
bluepy
andbtlewrap
library (via pip). When using a virtual environment, make sure to use install the library in the right one. - Fallback solution: Install
btlewrap
library (via pip) andgatttool
via your package manager. Depending on the distribution, the package name might be:bluez
,bluetooth
orbluez-deprecated
.
- Preferred solution: Install the
Configuration
Start a scan to determine the MAC addresses of the sensor:
$ sudo hcitool lescan
LE Scan ...
D0:5F:B8:51:9B:36 BeeWi SmartClim
[...]
Or if your distribution is using bluetoothctl:
$ bluetoothctl
[bluetooth]# scan on
Discovery started
[CHG] Controller XX:XX:XX:XX:XX:XX Discovering: yes
[NEW] Device D0:5F:B8:51:9B:36 BeeWi SmartClim
Check for BeeWi SmartClim
or similar entries, those are your sensor.
To use your Mi Temperature and Humidity sensor in your installation, add the following to your configuration.yaml
configuration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] file.
在更改了configuration.yaml
configuration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] 文件后,重启 Home Assistant 以应用更改。 该集成现在显示在集成页面的 设置 > 设备与服务 下。其实体在集成卡片上以及实体标签上列出。
# Example configuration.yaml entry
sensor:
- platform: beewi_smartclim
mac: "xx:xx:xx:xx:xx:xx"
Full example
A full configuration example could look like the one below:
# Example configuration.yaml entry
sensor:
- platform: beewi_smartclim
mac: "xx:xx:xx:xx:xx:xx"
name: Garden