Skip to content

Instantly share code, notes, and snippets.

@TheQue42
Last active June 26, 2024 18:59
Show Gist options
  • Save TheQue42/f7861cf7d2b222cb4ed7a0f3940b4176 to your computer and use it in GitHub Desktop.
Save TheQue42/f7861cf7d2b222cb4ed7a0f3940b4176 to your computer and use it in GitHub Desktop.
Bt Proxy For Esp32-C3 Mini
--- ORIGINAL BT PROXY DEFINITION ---
esphome:
name: btproxy1
friendly_name: BtProxy1
platformio_options:
board_build.mcu: esp32c3
board_build.variant: esp32c3
esp32:
variant: ESP32C3
board: esp32dev
framework:
type: esp-idf
sdkconfig_options:
CONFIG_BT_BLE_50_FEATURES_SUPPORTED: y
CONFIG_BT_BLE_42_FEATURES_SUPPORTED: y
CONFIG_ESP_TASK_WDT_TIMEOUT_S: "10"
# Enable logging
logger:
hardware_uart: USB_SERIAL_JTAG
# Enable Home Assistant API
api:
encryption:
key: !secret api_key
ota:
password: !secret ota_psw
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
esp32_ble_tracker:
scan_parameters:
# interval: 1100ms
# window: 1100ms
active: true
bluetooth_proxy:
active: true
---- New Atttempt that compiles, but doesnt boot ----
esphome:
name: tttt
friendly_name: tttt
platformio_options:
board_build.mcu: esp32c3
board_build.variant: esp32c3
esp32:
board: esp32-c3-devkitm-1
variant: ESP32C3
framework:
type: esp-idf
sdkconfig_options:
CONFIG_BT_BLE_50_FEATURES_SUPPORTED: y
CONFIG_BT_BLE_42_FEATURES_SUPPORTED: y
CONFIG_ESP_TASK_WDT_TIMEOUT_S: "10"
# Enable logging
logger:
level: DEBUG
hardware_uart: USB_SERIAL_JTAG
# Enable Home Assistant API
api:
encryption:
key: !secret api_key
ota:
- platform: esphome
password: !secret ota_psw
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
esp32_ble_tracker:
scan_parameters:
# interval: 1100ms
# window: 1100ms
active: true
bluetooth_proxy:
active: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment