An infrared photodiode or phototransistor...
[ well, that's near-IR only - far IR is more difficult ]