1
0
ansible-home-assistant/configuration/esphome/bt-proxy.yaml

51 lines
836 B
YAML
Raw Normal View History

2023-01-19 15:25:18 +00:00
# ESP32 BT proxy
esphome:
name: bt-proxy
project:
name: esphome.bluetooth-proxy
version: "1.0"
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key:
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Bt-Proxy Fallback Hotspot"
password: !secret wifi_fallback_password
improv_serial:
captive_portal:
dashboard_import:
package_import_url: github://esphome/bluetooth-proxies/esp32-generic.yaml@main
esp32_ble_tracker:
scan_parameters:
interval: 1100ms
window: 1100ms
active: true
bluetooth_proxy:
active: true
button:
- platform: safe_mode
name: Safe Mode Boot
entity_category: diagnostic