apds9960 sensor platform allows you to use your APDS9960 RGB and gesture sensors
SparkFun) with ESPHome.
The I²C is
required to be set up in your configuration for this sensor to work.
# Example configuration entry apds9960: address: 0x39 update_interval: 60s sensor: - platform: apds9960 type: CLEAR name: "APDS9960 Clear Channel" binary_sensor: - platform: apds9960 direction: UP name: "APDS960 Up Movement" # Repeat for each direction
The configuration is made up of three parts: The central component, individual sensors, and direction binary sensors.
address (Optional, int): The I²C address of the sensor. Defaults to
update_interval (Optional, Time): The interval to check the sensor. Defaults to
apds9960 sensor allows you to use your APDS9960 Sensor to perform different
apds9960 binary sensor allows you to use your APDS9960 Sensor to perform different
With some APDS9960 modules the VL pin needs to be supplied with 3.3V for gesture sensing to work. The VL pin provides power for the infrared LED that is used to detect gestures. There may be two pads on the module which, if shorted with a solder joint, cause the main VCC power pin to supply power for the infrared LED as well. However, providing a separate power supply via the VL pin may help to isolate the rest of the circuit from noise created by pulsing the infrared LED at relatively high power.