Last active
October 3, 2024 03:31
-
-
Save quonic/ed50b38deac4afd22bf7ae4acc7a5b45 to your computer and use it in GitHub Desktop.
Getting a Seeed XIAO ESP32C6 to work in Home Assistant under ESPHome
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Found working config here: https://github.com/esphome/issues/issues/5864 | |
# From my testing it does compiles, uploads, and runs with out issues. | |
esphome: | |
name: my-esp32c6 | |
friendly_name: My ESP32C6 | |
platformio_options: | |
platform: https://github.com/platformio/platform-espressif32/archive/refs/tags/v6.7.0.zip | |
board_build.f_cpu: 160000000L | |
board_build.f_flash: 80000000L | |
board_build.flash_size: 4MB | |
build_flags: "-DBOARD_HAS_PSRAM" | |
board_build.arduino.memory_type: qio_opi | |
esp32: | |
board: esp32-c6-devkitm-1 | |
variant: esp32c6 | |
framework: | |
type: esp-idf | |
version: 5.2.1 | |
sdkconfig_options: | |
CONFIG_ESPTOOLPY_FLASHSIZE_4MB: y | |
mdns: | |
disabled: False | |
# Enable logging | |
logger: | |
# Enable Home Assistant API | |
api: | |
encryption: | |
key: "changeme" | |
ota: | |
- platform: esphome | |
password: "changeme" | |
wifi: | |
ssid: !secret wifi_ssid | |
password: !secret wifi_password | |
# Enable fallback hotspot (captive portal) in case wifi connection fails | |
ap: | |
ssid: "xiao_esp32c6 Fallback Hotspot" | |
password: "changeme" | |
captive_portal: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment