【IoT】Home Assistant集成米家蓝牙湿度计

Posted by 西维蜀黍 on 2021-06-13, Last Modified on 2021-10-17

温度/湿度传感器 - miaomiaoce.sensor_ht.t2

https://www.home-assistant.io/integrations/mitemp_bt/

   NAME:     Temperature & humidity sensor
   ID:       blt.3.150ujduhc5g00
   BLE KEY:  4C5A05AF79C346188FE6916AFB0C3945
   TOKEN:    589A9A1FEC9B3798588A4BA3
   MODEL:    miaomiaoce.sensor_ht.t2

Verify 配置文件:

$ hass --script check_config -c .

连接蓝牙

$ bluetoothctl
[bluetooth]# scan on
$ curl -o ble_monitor.zip -L https://codeload.github.com/custom-components/ble_monitor/zip/refs/heads/master
$ unzip ble_monitor.zip
$ cd ble_monitor-master/
$ cp custom_components/* /config/custom_components/

Reference