You just want to build an HERMS? The plumbing part is easy, just put a copper or stainless steel (first one is more effective whereas second one is more durable and easy to clean) submerged in the hot water pot, connected to your recirculation system.
If you wanna do it manually just stick a digital thermometer inside the mash tun and turn on the system (you should have a pump somewhere) every time you feel like doing it
If automatic, just assemble the same thing but with an electric valve somewhere (those that open the circuit when they receive electric current). And instead of a thermometer use an etc 200. Problem solved for less than $50