INA219 Thermoelectric Generator

Post the datasheet of the Peltier element, and a diagram/image of the setup, and the sketch you're using.
Without all of that you won't get any meaningful help.
Leo..