A warning: Putting cameras in direct sunlight can make the camera go over temp and fail.
My experience was with a camera I painted Plasti Dip black and put in a west-facing garage window behind an uncoated plain piece of glass. It was summer. So there were several factors making the sun worse: The garage was hot, the camera was black, and sunlight was unfiltered coming through the glass.
THE CAMERA HIT A WHOPPING 170 DEGREES, and that was in late September in northern Indiana!!! Imagine what it might have been back in July & August, or in Arizona. The camera was down very often, often requiring power-cycling to get it back up again. I never would have guessed the camera would have gotten so hot there.
I moved the cam from sitting on the sill up against the glass to being mounted a few inches away at the top of the window, and cut the effect of heat down to around 100 degrees, worse case. The garage is warm in the summer, and the camera is always warmer than its environment. So I now attribute most of the camera’s temperature to that.
The camera is working perfectly now, but I wanted to warn everyone to think about your camera’s environment, especially if you are having trouble with it!
P.S – There are many ways to measure a temperature as hot as 170 degrees, but most simple liquid thermometers won’t cut it.
I happened to have a Bluetooth temperature sensor on hand, which could easily sit on top of the camera so it could see the camera’s temp, and not just the environment. It could measure the 170 degrees, but it was only rated for 140. So sometimes Bluetooth didn’t work @ 170, but the sensor still kept putting measurements in storage for later retrieval. The camera also waited until about 145 to fail.
So this is not a recommendation, just showing you the sensor I happened to have on hand to use:
BTW, if you buy something like this, a temp sensor that can alert you if a temp gets out of range, then make sure your phone only reads the sensors on demand if you aren’t using the monitor feature. Polling all sensors every minute over Bluetooth can kill your phone battery quickly. On my iPhone, I do that by turning background app refresh off for this app, and only loading the app when I need to collect the temps.
The nice thing about this sensor it stores weeks of 1-minute apart measurements, so you can lazily find the hottest point of the day. It also works well within something, like a Humidor.