Wow, Bill, you are way out ahead of me. The crewboat install was nowhere near as sophisticated as you are imagining.
The water heater was not wired to AC. A crewboat is normally not inhabited at the dock, and usually has no generator. Folks like hot water under weigh to wash their hands with and so forth, but that's it.
The water heater came with switch and heating coil. I used the switch as-is to run the pump. The pump came on when the water temperature in the heater tank got below its set-point, and went off again when the heater tank was hot. Just as it would with the ac heating element, only getting the heat from the engine block.
This left one problem: when the engine is cold, the pump runs continually since it cannot heat the water. I solved this by wiring the dc for the pump through a breaker on the accessory panel, so that it would normally be turned off when the boat is unattended.
If I had designed this from scratch, I would have tried to eliminate the hot water heater tank completely by installing a coil in the engine block to heat the water directly.
For use on our Marinettes, you point out the need to incorporate the ac heater, and I hadn't given that a lot of thought. But, I think I will do the following:
=> install an open-below-100 temperature switch in the engine, and an open-above-120 switch on the water tank.
=> wire the pump through both switches so that the pump shuts off when the engine is cold, and shuts off again when the tank is hot enough.
=> leave the ac switch (about 140) and heating element as-is, so that they work at the dock.
The ac element should keep the water hot enough to suppress the pump, but who knows until it's tried.
Again, the elegant solution would be to route the water feed for the hot water tank through a coil in the engine so that the heater gets a hot water feed whenever the engine is warm. This might be practical, I need to climb around the engine and look for a place to put it.
Doug
1975 32' Flybridge Sedan, twin Perkins 6-354 diesels, 1:1.53 velvetdrives, 16 X 19 props. Merritt Island, Florida