51 lines
836 B
YAML
51 lines
836 B
YAML
# 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
|