
My allsky camera is the DIY design by the Allsky Team, and the software installation and setup is on GitHub. An initial build was built to determine what worked and didn’t work before settling on a final design. One of the first things I did was tempoarily mount the camera on a tripod outside on a dark night, and using the Focus Metric in the live image display of Allsky, I dialed in the focus.
The slowest part of the whole build was coming up with a weather-proof housing, but I first needed to decide where to mount it before I could design one. Since I already have an Ethernet switch in the garage, because the LAN connection to the dome passes through it, I figured it was as good a place as any to install the camera. The pipe the camera sits on in the photo is 2″ PVC that’s painted to match the garage trim. It’s anchored to the eve and then curves in and is secured to a junction box on the front wall.
The bulge in the pipe is a coupling that allows for rotating the camera for the North adjustment, and the top half of the pipe can be pulled down for cleaning the dome.

This is a Raspberry Pi 4B with 8GB of RAM and a 256GB SDcard, which is the brains of the camera setup. I purchased a metal housing and a fan cooler for it and even painted the case Raspberry color. It just seemed fitting. It is powered by an external “wallwart” power supply made specifically for a Pi.

The camera is the ZWO ASI120MM-S with its included 150MM wide angle lens. The lens doesn’t give me 100% sky coverage, but it will do until I can find a 180 degree one.
The Allsky instructions say not to use a ZWO ASI120MM, because it is slow and causes problems. But that is the original USB2.0 version and this is an updated -S superspeed USB 3.0 camera, which works just fine.
If money was no object, I would buy a ZWO color camera with a square sensor and around 8 Megapixels, but this is still a good camera.

I had a leftover piece of round aluminum stock from making the shutter track spacers for the dome, so I attached it to the back of the camera as a heatsink of sorts. Not sure how much it helps, but I figure it can’t hurt.

The camera housing is a 4-inch PVC cap on a 4-inch to 2-inch reducer. Originally I used a 4″ dome (shown), but it’s slightly too large for the 4″ cap, which made screwing it down difficult, so I swapped it out for a 3.5″ cap (seen below) which fits perfectly.
Since I am so close to power and Ethernet it’s not necessary to mount the Pi inside the housing, which simplifies the design. The Pi is mounted on the wall inside the garage along with the Ethernet switch, and it’s only about 15-feet from the camera to the Pi.

The top of the cap is painted flat black and around the sides it’s forest green to match the garage trim. The hole is just large enough to fit the lens through because the sun will fade the anodized camera finish if left exposed. It also turns the black anodized lens a copper-gold color, but not much I can do about that.
The instructions say a dew heater is optional, but it’s not, unless maybe I moved to a dry desert somewhere. So far this summer, the clear dome has dewed over nearly every night in our humid environment. The four terminal lugs around the lens hole are for the dew heater resistors.

Inside the cap are a couple of standoffs for securing the camera in place, plus two solder lugs for the dew heater power connections. The green color inside is just overspray from painting.

Everything is in place now except the clear dome. The four dew heater resistors are 47 ohm 3-watts connected as two sets of two in series, and then the two sets wired in parallel. So the final resistance (including tolerances) is 48 ohms, but at 12-watts total. The power source is an adjustable-voltage wall wart so that the wattage can be adjusted if needed. The preliminary dew heater specifics are listed below (the dew heater is still being tested so the final specs could change).
Range Volts R Temp Amps Pwr
(Actual) C F
_______________________________
12 12.2VDC 60 140 .254 3
9 9.7VDC 50 124 .202 2
7.5 8.4VDC 46 115 .175 1.5
"R Temp" is the temperature of the resistors
"Range" is the switch position of the P.S.
"Pwr" is wattage out

The inside view shows how the camera is secured. A short, right-angle USB 3.0 cable for the camera connection is needed due to tight spacing between the housing and the camera. The short cable plugs into a 15-ft active extension cable from the Pi.
The red/black pair of wires is the DC power for the dew heater. The dew heater power supply plugs into an AC timer that switches it on at dusk and off at dawn.

And this is a top view with the dome in place. All that’s left is to apply a bead of silicon sealant between the top cap and dome, as a gasket, and then screw the dome in place.
This is a sample video timelapse I made when testing my initial build. Afterwards I pulled the camera down and corrected the issues I found (such as needing a dew heater). Now it’s going back up.
Page last updated 11/24/2026