The Unit ToF component reads non-contact distance data using a laser ranging sensor.
| Item | Information |
|---|---|
| Product Name | Unit ToF |
| SKU | U010 |
| Main Function | Laser distance measurement |
| Communication Interface | I2C |
| Default I2C Address | 0x29 |
| ESPHome Component | vl53l0x |
| ESPHome Version Requirement | / |
Unit ToF uses the vl53l0x component to read distance. Set update_interval to configure the update interval and enable long-range mode with long_range.
sensor:
- platform: vl53l0x
name: "Unit ToF Distance"
address: 0x29
update_interval: 60s
long_range: true i2c:
sda: GPIOXX
scl: GPIOXX
scan: true
sensor:
- platform: vl53l0x
name: "VL53L0x Distance"
address: 0x29
update_interval: 60s
long_range: true