SmartestHome/firmware/esphome-ble-proxy/secrets.yaml.example

25 lines
1.2 KiB
Plaintext

# ble-proxy.yaml configuration template.
#
# Copy this to firmware/esphome-ble-proxy/secrets.yaml (same directory as
# ble-proxy.yaml — that's where ESPHome's !secret lookup expects it) and fill in
# real values. Same never-commit handling as digest-engine.env / voice-display's
# own secrets.yaml elsewhere in this repo: the real secrets.yaml is git-ignored,
# only this .example is tracked.
#
# ONE SECRETS.YAML PER PHYSICAL UNIT is fine to skip here, UNLIKE the voice
# display's per-room media_player_entity_id — every BLE proxy's secrets are
# identical (same Wi-Fi, same API key can even be shared safely since these
# devices report nothing person-identifying themselves, just raw BLE adverts for
# Bermuda to resolve). Only `room` in ble-proxy.yaml's substitutions needs to
# change per unit; a single secrets.yaml can be reused for every proxy you flash.
wifi_ssid: "your-wifi-ssid"
wifi_password: "your-wifi-password"
ap_password: "changeme-fallback-ap-password"
# Generate with the ESPHome dashboard/CLI, or by hand:
# python3 -c "import base64, os; print(base64.b64encode(os.urandom(32)).decode())"
api_encryption_key: ""
ota_password: "changeme-ota-password"