Blog

Building a Pi Frigate NVR with Axzez's Interceptor 1U Case

Axzez 1U Interceptor Case with Raspberry Pi NVR

In today's video, I walked through setting up Axzez's Interceptor 1U case with a Raspberry Pi as a Frigate NVR, or Network Video Recorder.

Doing so allows me to plug multiple PoE security cameras straight into the back of the device, and record their IP video streams to disk (the case has space for up to 3 hard drives or SSDs). And by adding on a USB Coral TPU, I can also run inference on frames where motion is detected, and identify people, cars, bikes, and more using built-in object recognition models.

Axzez 1U Interceptor Case with network and Coral TPU plugged in

Resetting and upgrading old Hikvision IP Cameras

Hikvision security camera installed in drop ceiling

This guide isn't definitive, but it is a good reference point as I am wiping out some Hikvision IP cameras I inherited in my new office space. They were all paired with an annoying proprietary Hikvision NVR, and I wanted to wipe them and use them on a new isolated VLAN with my new Raspberry Pi Frigate-based NVR setup.

The cameras I have are Hikvision model number DS-2CD2122FWD-IS, but this guide should apply to many of the cameras from that era.

Hikvision security camera reset button location

Photographing the 2024 Total Solar Eclipse (results)

The path of totality for the 2017 Total Solar Eclipse ran right through my backyard, and it was my first experience photographing totality. Total solar eclipses, when the moon completely covers the sun, are rare. After this year's eclipse, the lower 48 United States will see a brief bit of totality up around Montana in 2044, and a major event across the US in 2045—and I'll be near retirement!

2024 Total Solar Eclipse composite photo by Jeff Geerling
See the full-size image of the eclipse composite on Flickr.

The above photograph is a composite image of all the stages of the 2024 eclipse. I took the pictures in the midst of a few thousand people scattered Fruitland, Missouri, during the April 8, 2024 Total Solar Eclipse.

Radxa's SATA HAT makes compact Pi 5 NAS

Radxa's latest iteration of its Penta SATA HAT has been retooled to work with the Raspberry Pi 5.

Radxa Penta SATA HAT for Raspberry Pi 5 with a Pi mug

The Pi 5 includes a PCIe connector, which allows the SATA hat to interface directly via a JMB585 SATA to PCIe bridge, rather than relying on the older Dual/Quad SATA HAT's SATA-to-USB-to-PCIe setup.

Does the direct PCIe connection help? Yes.

Is the Pi 5 noticeably faster than the Pi 4 for NAS applications? Yes.

Radxa Penta SATA HAT installed on Pi 5 with Drives next to it

Is the Pi 5 + Penta SATA HAT the ultimate low-power NAS solution? Maybe.

macOS Finder is still bad at network file copies

In what is becoming a kind of hobby for me, I've just finished testing another tiny NAS—more on that tomorrow.

But as I was testing, I started getting frustrated with the fact I've never been able to get a Raspberry Pi—regardless of internal storage speeds, even with 800+ MB/sec PCIe-based storage—to consistently write more than around 100 MB/sec write speeds over the network, with either Samba or NFS.

NFS would be more consistent... but it ran around 82 MB/sec:

NFS file copy to Raspberry Pi 5 stalled at 80 MB per second

Samba would peak around 115 MB/sec, but it was wildly inconsistent, averaging around 70 MB/sec:

Samba file copy to Raspberry Pi 5 wild undulations

I have a problem: I use macOS1.