制作低功耗蓝牙温湿度传感器,接入 Home Assistant

RaspiSQH 123.45m10 小时前10 次点击
[![7c8900c27f21c4bfcc306bc9e59b38fd.jpg](https://ppmm.org/images/2026/07/19/7c8900c27f21c4bfcc306bc9e59b38fd.jpg)](https://ppmm.org/image/wrJZT)

硬件和软件完全照抄 [AlanCui老师的博客](https://alancui.cc/2026/03/02/make-a-ble-le-bthomev2-sensor-using-nrf52832/) ,使用 nrf52832 和 SHT40 。使用了 BTHome 协议,可以方便地被 Home Assistant 发现并接入。

由于是蓝牙温度计,需要一个蓝牙代理接受广播数据。这里使用一块ESP32板子。 对于 Home Assistant,因为手头没有小主机,只能 Home Assistant 运行在远处的服务器上,而一般情况下连接设备需要同一个局域网,所以使用 [esphome-tailscale](https://github.com/Csontikka/esphome-tailscale/) 直接将 ESP32 接入 tailscale ,实测还是比较稳定的。

[![bd452e65727be8ec53159abcf87a75ea.jpg](https://ppmm.org/images/2026/07/19/bd452e65727be8ec53159abcf87a75ea.jpg)](https://ppmm.org/image/wr0L6)
收藏 ♥ 感谢
暂无回复

登录注册 后可回复。