Hi,
I have an ADPS9660 which sends clear channel (color/brightness) data correctly until a gesture is triggered.
After that there are no more clear channel results.
Everything is the latest update.
Any ideas?
Config (PicoW):
# APDS960 on RP2040
i2c:
- id: bus_a
sda: 4
scl: 5
scan: true
apds9960:
address: 0x39
update_interval: 10s
i2c_id: bus_a
led_drive: 50ma
gesture_led_drive: 50ma
sensor:
- platform: apds9960
type: CLEAR
name: "APDS9960 Clear Channel"
binary_sensor:
- platform: apds9960
direction: LEFT
name: "APDS960 Left Movement"
- platform: apds9960
direction: RIGHT
name: "APDS960 Right Movement"
Log:
[09:38:02][C][api:145]: Using noise encryption: NO
[09:38:02][C][improv_serial:032]: Improv Serial:
[09:38:03][D][api:103]: Accepted 192.168.1.93
[09:38:03][D][api.connection:1446]: Home Assistant 2024.10.4 (192.168.1.93): Connected successfully
[09:38:10][D][apds9960:196]: Got clear=0.2% red=0.1% green=0.1% blue=0.1%
[09:38:10][D][sensor:093]: 'APDS9960 Clear Channel': Sending state 0.19684 % with 1 decimals of accuracy
[09:38:20][D][apds9960:196]: Got clear=0.1% red=0.1% green=0.0% blue=0.0%
[09:38:20][D][sensor:093]: 'APDS9960 Clear Channel': Sending state 0.13581 % with 1 decimals of accuracy
[09:38:26][D][apds9960:303]: Got gesture RIGHT
[09:38:26][D][binary_sensor:036]: 'APDS960 Right Movement': Sending state ON
[09:38:26][D][binary_sensor:036]: 'APDS960 Right Movement': Sending state OFF
[09:38:28][D][apds9960:297]: Got gesture LEFT
[09:38:28][D][binary_sensor:036]: 'APDS960 Left Movement': Sending state ON
[09:38:28][D][binary_sensor:036]: 'APDS960 Left Movement': Sending state OFF
[09:38:54][I][safe_mode:041]: Boot seems successful; resetting boot loop counter
[09:38:54][D][rp2040.preferences:117]: Saving preferences to flash...
[09:39:14][D][apds9960:303]: Got gesture RIGHT
[09:39:14][D][binary_sensor:036]: 'APDS960 Right Movement': Sending state ON
[09:39:14][D][binary_sensor:036]: 'APDS960 Right Movement': Sending state OFF
[09:39:15][D][apds9960:297]: Got gesture LEFT
[09:39:15][D][binary_sensor:036]: 'APDS960 Left Movement': Sending state ON
[09:39:15][D][binary_sensor:036]: 'APDS960 Left Movement': Sending state OFF