Skip to content

Can’t flash ESP32 H2 Supermini - Expected an ESP32C6 device #776

@francisp2

Description

@francisp2

Version

2025.7.4

What type of installation are you using?

Home Assistant Add-on

Browser

Chrome

What happened?

Image

esphome:
  name: thread2
  friendly_name: thread2

esp32:
  board: esp32-h2-devkitm-1
  framework:
    type: esp-idf
    sdkconfig_options:
      CONFIG_OPENTHREAD_ENABLED: y
      CONFIG_ENABLE_WIFI_STATION: y
      CONFIG_USE_MINIMAL_MDNS: y
      CONFIG_ESPTOOLPY_FLASHSIZE_4MB: y


# Enable logging
logger:

# Enable Home Assistant API
api:
    
network:
  enable_ipv6: true

openthread:
  tlv: "xxx..0b1f22e4d57e99dde75f0c0402a0f7f8"

ota:
  - platform: esphome
    
sensor:
  - platform: dht
    pin: GPIO2
    temperature:
      name: "Temperature"
    humidity:
      name: "Humidity"
    update_interval: 60s

  # Creates a sensor in Home Assistant with the free memory value.
  - platform: debug
    free:
      name: "Thread2 Heap Free"
      unit_of_measurement: "B" # B for Bytes
      icon: "mdi:memory"

esp32_ble_tracker: 

bluetooth_proxy:
  active: true

debug:
  update_interval: 1min # How often to check the memory.

button:
- platform: safe_mode
  name: Safe Mode Boot
  entity_category: diagnostic

- platform: restart
  name: "Thread2 Restart"
    
binary_sensor:
  - platform: status
    id: thread2_status
    name: "Thread2 Status"


Image

Work-around :

Compiled for manual download, uploaded / flashed with https://web.esphome.io/ , and device is working fine.

How to reproduce

Try to flash an ESP32 H2 supermini
After connecting to the serial port, get this error
Configuration does not match the platform of the connected device
Expected an ESP32C6 device

Expected behavior

Being able to flash the ESP32 H2 Supermini

Relevant log output

none, as compile did not even start

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions