ff-bath-bt-proxy-02.yaml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. substitutions:
  2. devicename: ff-bath-bt-proxy-02
  3. low_devicename: ff_bath_bt_proxy_02
  4. friendly_devicename: FF Bath Bluetooth Proxy
  5. esphome:
  6. name: $devicename
  7. friendly_name: $friendly_devicename
  8. esp32:
  9. board: esp32dev
  10. framework:
  11. type: esp-idf
  12. # Enable logging
  13. logger:
  14. # Enable Home Assistant API
  15. api:
  16. encryption:
  17. key: "ejeMnlF5M60w/yuYwAWn/kIBz701xLwVkUGf9iN8uLA="
  18. ota:
  19. password: "2c27af3ab81f992e23745c20ab5dfc02"
  20. wifi:
  21. ssid: !secret iot_ssid
  22. password: !secret iot_password
  23. domain: .int.mmax.cloud
  24. improv_serial:
  25. esp32_ble_tracker:
  26. scan_parameters:
  27. # We currently use the defaults to ensure Bluetooth
  28. # can co-exist with WiFi In the future we may be able to
  29. # enable the built-in coexistence logic in ESP-IDF
  30. active: true
  31. bluetooth_proxy:
  32. active: true
  33. button:
  34. - platform: safe_mode
  35. name: "${friendly_devicename} Safe Mode Boot"
  36. entity_category: diagnostic
  37. sensor:
  38. - platform: wifi_signal
  39. name: "${friendly_devicename} WiFi Signal"
  40. id: ${low_devicename}_wifi_signal
  41. binary_sensor:
  42. - platform: status
  43. name: "${friendly_devicename} status"
  44. text_sensor:
  45. - platform: version
  46. name: ${friendly_devicename} Version