esphome / esphome/issues

VL53L0X doesn't work under esp-idf framework

Open
#5,458 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
313
Forks
40
PR merge metrics
No merged PRs in 30d

Description

### The problem

The Sensor Component VL53L0X Time Of Flight Distance Sensor doesn't work when the esp-idf framework is used, but works under Arduino framework.
There are no errors, it just doesn't give any values. But it is found by the I2C scan.

### Which version of ESPHome has the issue?

2023.12.9

### What type of installation are you using?

Home Assistant Add-on

### Which version of Home Assistant has the issue?

2024.1.5

### What platform are you using?

ESP32

### Board

Wemos S2 mini

### Component causing the issue

_No response_

### Example YAML snippet

```yaml
Doesn't work:

esp32:
board: lolin_s2_mini
framework:
type: esp-idf
version: recommended
# Custom sdkconfig options
sdkconfig_options:
COMPILER_OPTIMIZATION_SIZE: y
# Advanced tweaking options
advanced:
ignore_efuse_mac_crc: false

Works:

esp32:
board: lolin_s2_mini
```

### Anything in the logs that might be useful for us?

_No response_

### Additional information

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.