And something else I later installed in my recirculation system is an electronic countdown timer that I use in cold weather camping to help prevent the lines to and from my water heater from freezing. I can set a timing interval on this device, and at the end of the countdown the existing time-delay relay is triggered and water will flow through the system back to the freshwater tank. Then the countdown starts over and the cycle repeats as long as I have it enabled. Here is a link:
https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1
I have a tank-style water heater, but I suspect it would work similarly on a tankless heater to fire the heater and circulate the lines.