diplix / esphome-configuration

my esphome configurations
25 stars 14 forks source link

Ready to try, config ready, but 1 question #5

Open sanderlv opened 3 years ago

sanderlv commented 3 years ago

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 i2cin 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 commented 3 years ago

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