This is safe for millivolt stove? Do all thermostats have the jumper?Why not just hook up a 24 Volt transformer to RC And C this will power the thermostat just fine!
Take the jumper out from RC And RH, Hook up a wire from RH and W back to the pellet stove to make the stove work and you are done. No need for relays etc.