Wrong readings from voltage divider

You haven't discussed your test environment.
Even though they're "IR", those devices are highly susceptible to ambient, visible light.
They need to be placed inside an optically-isolated, "light-sealed", box or tube.