Problems using the esp-idf toolchain

i have an esp32 board acting as bluetooth proxy, works perfectly… as suggested by esphome team i started switching the toolchain, so

esp32:
  variant: 'esp32'
  toolchain: 'platformio'
  framework:
    type: 'esp-idf'
    log_level: 'NONE'

has been changed in

esp32:
  variant: 'esp32'
  toolchain: 'esp-idf'    # this is the only line changed in the whole project
  framework:
    type: 'esp-idf'
    log_level: 'NONE'

now my sensors go frequently offline/online; so there are a lot of packets lost

why?! any suggestion to solve the issue?!

thanks

Go back to the toolchain that works.
Especially on plain Esp32.

Just as a datapoint, I recently did a rebuild of a couple of ESP32-S3 with Ethernet, and assuming the esp-idf toolchain was used (now the default for ESP32) things work as a BLE-Proxy with it.

esp32:
  variant: esp32s3
  flash_size: 16MB
  framework:
    type: esp-idf

psram:
  mode: octal
  speed: 80MHz

reverserd back to platformio but the problems remains, at this point should be the changes intruduced with version 2026.7 for the bt proxy… i’m going to reinstall the 2026.6 version

using toolchian: ‘esp-idf’ and 2026.6 gives no issues… so confirmed problems with 2026.7, have to investigate

Since your problem is not toolchain related, you likely need to post your whole code if you want suggestions here. Also have a look at your esphome logs for further hints of the issue.

I should have mentioned above that I used 2026.7.4 for my bt-proxies.

with 2026.8 the bug has been solved