Since there is effectively no naturally-occurring infrared (IR) in the night sky but lots of it during the day (even when overcast), would an IR photodetector be a possible solution?