TOF10120 Time Of Flight Distance Sensor¶
tof10120 sensor platform allows you to use TOF10120 optical time of flight sensor (datasheet)
with ESPHome to measure distances. The sensor works optically by emitting short infrared pulses
and measuring the time it takes the light to be reflected back.
The sensor can measure distances in range 10-180 centimeters, though that figure depends significantly on several conditions like surface reflectance, field of view, temperature etc. .
The I²C Bus is required to be set up in your configuration for this sensor to work.
# Example configuration entry sensor: - platform: tof10120 name: "TOF10120 Distance" update_interval: 5s
name (Required, string): The name of the sensor.
update_interval (Optional, Time): The interval to check the sensor. Defaults to
address (Optional, int): Manually specify the I^2C address of the sensor. Defaults to
id (Optional, ID): Manually specify the ID used for code generation.
All other options from Sensor.