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

50 lines
821 B
YAML
Raw Permalink Normal View History

2023-01-19 15:25:18 +00:00
esphome:
2024-08-20 22:33:52 +00:00
name: bt-proxy-1
2023-01-19 15:25:18 +00:00
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