本帖最后由 yan0422 于 2020-5-4 18:53 编辑
论坛很多方法解决小米2的温度显示,最终使用最简单的方法介入hass
方法来自:https://github.com/gallynero/mitemp2_bt.
安装步骤:
1.下载配置文件 (附件我也上传了)
2.配置yaml 放入(/custom_components/mitemp2_bt)
3.重启
sensor:
- platform: mitemp2_bt
mac: 'xx:xx:xx:xx:xx:xx'
name: example
force_update: true
timeout: 60
median: 1
monitored_conditions:
- temperature
- humidity
- battery
格式自行对齐!!!!
只需要获取蓝牙地址,十分钟更新一次!目前我就发现这些,感觉这是最简单的!
mitemp2_bt.zip
(6.19 KB, 下载次数: 176)
|