本帖最后由 xuyang 于 2019-10-31 19:43 编辑
这两天学习了ESPHOME,发现它支持ESP-WROOM-32,做了一下测试,发现不错,蓝牙设备的信号强度也可以监测到,用小米手环中的广播,就可以精确定位了,不敢独享,分享一下!
esphome:
name: esp32_2
platform: ESP32
board: esp-wrover-kit
esp32_ble_tracker:
scan_interval: 60s
binary_sensor:
- platform: ble_presence
mac_address: FC:36:14:A3:16:30
name: "XUYANG"
sensor:
- platform: ble_rssi
mac_address: FC:36:14:A3:16:30
name: "BLE Google Home Mini RSSI value"
wifi:
ssid: "ddddd
password: "18xxxxx"
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
|