Basic ESPHome Config for ESP32-C6-EVB

Bought a few ESP32-C6-EVB boards on Tindie for $15 each. Here is an ESP Home config that enables all four relays, four opto-coupler inputs, status LED and BOOT button. I got the BLE working too with a specific ESP-IDF setup.

Tindie: https://www.tindie.com/products/adz1122/esp32-c6-evb-wifi6-support-tasmota-4-relay-4input/
Company product page: developmentboard:esp32-c6-evb [ICBbuy]

esp32-c6-evl.yaml

  esphome:
    min_version: "2025.4"
    name: esp32-c6-evb
    friendly_name: ESP32 C6 EVB
    project:
      name: mfornander.esp32c6evb
      version: "1.0"

  esp32:
    board: esp32-c6-devkitc-1
    variant: esp32c6
    flash_size: 4MB
    framework:
      type: esp-idf
      version: 5.3.1
      platform_version: 6.9.0
      sdkconfig_options:
        CONFIG_ESPTOOLPY_FLASHSIZE_4MB: y
        CONFIG_BT_BLE_50_FEATURES_SUPPORTED: y
        CONFIG_BT_BLE_42_FEATURES_SUPPORTED: y
        CONFIG_OPENTHREAD_ENABLED: n
        CONFIG_ENABLE_WIFI_STATION: y
        CONFIG_USE_MINIMAL_MDNS: y

  # Enable logging
  logger:

  # Enable Home Assistant API
  api:
    password: ""

  ota:
    - platform: esphome
      password: ""

  wifi:
    ssid: !secret wifi_ssid
    password: !secret wifi_password

    # Enable fallback hotspot (captive portal) in case wifi connection fails
    ap:
      ssid: "ESP32-C6-EVB Fallback Hotspot"
      password: "12345678"

  captive_portal:

  # https://wiki.icbbuy.com/doku.php?id=developmentboard:esp32-c6-evb

  esp32_ble_tracker:
    id: ble_tracker
    max_connections: 5
    scan_parameters:
      interval: 1100ms
      window: 1100ms
      active: true
      continuous: false

  bluetooth_proxy:
    active: true
    connection_slots: 5

  sensor:
    - platform: wifi_signal
      name: Wi-Fi Signal
      update_interval: 60s

  # I2C crashes with the esp-idf version needed for BT but only exposed on the UEXT pins anyway
  # i2c:
  #   sda: 6
  #   scl: 7
  #   frequency: 15kHz

  light:
    - platform: status_led
      name: Status LED
      id: led
      pin:
        number: 8
        inverted: true
        ignore_strapping_warning: true
        mode: output

  binary_sensor:
    - platform: gpio
      name: BOOT Button
      id: boot
      pin:
        number: 9
        inverted: true
        ignore_strapping_warning: true
        mode:
          input: true
          pullup: true
          
    
    - platform: gpio
      name: Input 1
      id: in1
      pin:
        number: 1
        inverted: true
        mode:
          input: true
          pullup: true
    - platform: gpio
      name: Input 2
      id: in2
      pin:
        number: 2
        inverted: true
        mode:
          input: true
          pullup: true
    - platform: gpio
      name: Input 3
      id: in3
      pin:
        number: 3
        inverted: true
        mode:
          input: true
          pullup: true
    - platform: gpio
      name: Input 4
      id: in4
      pin:
        number: 4
        inverted: true
        mode:
          input: true
          pullup: true

  switch:
    - platform: restart
      name: Restart
    - platform: gpio
      name: Relay 1
      id: out1
      pin: 10
    - platform: gpio
      name: Relay 2
      id: out2
      pin: 11
    - platform: gpio
      name: Relay 3
      id: out3
      pin: 22
    - platform: gpio
      name: Relay 4
      id: out4
      pin: 23
3 Likes