When thermoelectric systems meet the Feynman ratchet: harmonic response and feedback