detection of temperature stimulus
The series of events in which a temperature stimulus (hot or cold) is received and converted into a molecular signal.
GO:0016048 · biological process
Also called: detection of temperature · detection of thermal stimulus · perception of temperature