Inline hot water temperature sensor?

You might want to try an integrated solutions such as this:

http://readytemp.com/

It has a neat feature where a momentary contact switch (eg MIMOlite) can request circulation, but it will only circlulate if the in-pipe temp sensor is below the target temperature.

More info here:

and here: