They are both trying to use some of the same GPIO pins for two different things.
There is a noled option that “might” fix it. I think its the LED thats messing up the sensor.
sudo ./install-service.sh --on-threshold 55 --off-threshold 40 --delay 2 --noled