esphome-configuration icon indicating copy to clipboard operation
esphome-configuration copied to clipboard

Ready to try, config ready, but 1 question

Open sanderlv opened this issue 3 years ago • 1 comments

Hi, probably a stupid question...

I am on the stop of trying out this cool thing. But where and how do I configure the connection for vl53l1x time of flight sensor? I can not find it in your yaml. May be it is substituted and before I accidentally double the config, better safe than sorry (trouble)

You only have i2c in the yaml...

Is it just a simple as only like this:

i2c:
  sda: 21
  scl: 22
  scan: True

EDIT: please confirm only i2c: is enough.

I have compiled like this (only i2c) on ESP32 D1 Mini and that gives me output:

[14:03:58][C][i2c:028]: I2C Bus:
[14:03:58][C][i2c:029]:   SDA Pin: GPIO21
[14:03:58][C][i2c:030]:   SCL Pin: GPIO22
[14:03:58][C][i2c:031]:   Frequency: 50000 Hz
[14:03:58][I][i2c:033]: Scanning i2c bus for active devices...
[14:03:58][I][i2c:040]: Found i2c device at address 0x29

But no readings (like mentioned in the other thread): https://github.com/diplix/esphome-configuration/issues/2

I also posted my complete debug output there.

I am very much wanting this to work. Please assist.

Thank you!

sanderlv avatar May 08 '21 09:05 sanderlv

Is this dead? I would appreciate some help :-)

sanderlv avatar May 18 '21 09:05 sanderlv