Kat81inTX

Bluetooth Proxy / BLE Tracker ESPHome config

Oct 29th, 2025 (edited)
528
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.58 KB | Software | 0 0
  1. substitutions:
  2.   name: "esp32-proxy-tracker-living-room"
  3.   friendly_name: "Living Room Bluetooth Proxy / BLE Tracker"
  4.  
  5.   local_tdwlb_lcrppf_mac: !secret tdwlb_lcrppf_mac
  6.  
  7. esphome:
  8.   name: ${name}
  9.   friendly_name: ${friendly_name}
  10.  
  11.   name_add_mac_suffix: false
  12.  
  13.   min_version: 2025.7.0  # To support new sub-device features
  14.  
  15.   areas:
  16.     - id: living_room_area
  17.       name: "Living Room"
  18.  
  19.   platformio_options:
  20.     board_build.f_flash: 40000000L
  21.     board_build.flash_mode: dio
  22.     board_build.flash_size: 4MB
  23.  
  24. esp32:
  25.   board: esp32-s3-devkitc-1
  26.   variant: esp32s3
  27.   framework:
  28.     type: esp-idf
  29.     sdkconfig_options:
  30.       CONFIG_BT_BLE_42_FEATURES_SUPPORTED: y
  31.       CONFIG_BT_BLE_50_FEATURES_SUPPORTED: y
  32.  
  33. # Enable logging for debugging
  34. logger:
  35.   level: INFO
  36.  
  37. # Enable Home Assistant API
  38. api:
  39. # Enable Over-The-Air updates
  40. ota:
  41.   - platform: esphome
  42.     password: !secret ota_password
  43.  
  44. # Allow WiFi provisioning via serial
  45. improv_serial:
  46. # WiFi configuration
  47. wifi:
  48.   ssid: !secret wifi_ssid
  49.   password: !secret wifi_password
  50.   power_save_mode: light
  51.  
  52. captive_portal:
  53. button:
  54.   - platform: safe_mode
  55.     id: safe_boot_button
  56.     name: "Safe Mode Boot"
  57.  
  58.   - platform: factory_reset
  59.     id: factory_rst_button
  60.     name: "Factory Reset"
  61.  
  62. output:
  63.   - platform: gpio
  64. #   name: "Backlight Control"
  65.     id: backlight
  66.     pin: 7
  67.  
  68. switch:
  69.   - platform: output
  70.     name: "LCD Backlight"
  71.     output: backlight
  72.  
  73.  
  74. bluetooth_proxy:
  75.   active: true
  76.  
  77. esp32_ble_tracker:
  78.   scan_parameters:
  79.     active: true
  80.     interval: 320ms
  81.     window: 30ms
  82.  
Advertisement
Add Comment
Please, Sign In to add comment