I'm looking into doing something similar and was under the impression that you were supposed to take the PID measurement at the tap as this is where the wort will be hottest. Effectively you don't want to overheat your wort due to heat loss when transferring from the tap to the lid, obviously...