"Sniffing" into a Boiler's LED panel (Central Heating)

Can you put another temp sensor on the boiler water output pipe to detect when the boiler runs ( pipe hot )