4010VCNL sensors

Has anyone had any success using these sensors with a raspberry pi?

I’m using the adafruit python libraries at https://github.com/adafruit/Adafruit_Python_VCNL40xx, and the ambient light readings seem reasonable, but I don’t think the proximity readings are. I seem to be getting values in the range 2190-2210 in the readings, unless I’m really (mm) close to the sensor, then the values jump. I understand it’s a logarithmic sensor, but I’m only really seeing significant change in that really close distance range.

I think that I should be able to change the sensitivity by changing the LED current somehow in the setup, but not sure if this is the right thing to be doing… given that if I decide to use this sensor, I’m going to need more than one, I’ll then have to use an i2c multiplexer, since they have hardwired i2c addresses, I’m not sure it’s worth messing about with it any further… I might just look for a more simple solution…