LOCALNODELAB
UniFi & Frigate SizerBy S. Hossain•LocalNodeLab

UniFi Protect & Frigate Storage & PoE Power Sizer [4K & 2K Cameras]

Calculate NVR storage retention in Terabytes and 802.3af/at PoE switch headroom across 4K and 2K camera streams.

UniFi Protect & Frigate Storage & PoE Power Sizer

Calculate NVR storage retention in Terabytes and 802.3af/at PoE switch headroom across 4K and 2K camera streams.

H.265 / Smart Detections
1 cam16 cams32 cams
Total Stream Bitrate
54.6 Mbps
~6.8 MB/s continuous I/O
Daily Intake
590 GB/day
Per 24-hour cycle
Target HDD Sizing
20.4 TB
Includes 15% ZFS reserve
PoE Power Budget
61 Watts
Includes 20% startup buffer
Lab Storage Recommendation
2x 16TB Western Digital Purple Pro (RAID 1 / SHR)

Engineered for 24/7 AllFrame streaming, low write-jitter, and high endurance in UDM Pro or Frigate ZFS pools.

Lab Switching Recommendation
UniFi Switch 16 PoE (USW-16-PoE, 42W-95W Budget)

Delivers reliable 802.3at PoE+ power delivery with per-port telemetry and 10G SFP+ uplink capability.

Engineering Methodology & Mathematical Proof

Surveillance Network Engineering: Storage Retention & PoE Power Budgets

Designing a high-reliability smart home surveillance infrastructure requires calculating two critical constraints: storage capacity for target retention days and PoE power budgets on network switches.

1. Daily Video Storage Math

The raw daily ingest rate per camera stream is calculated via:

Daily_Ingest_GB = (Bitrate_Mbps * 3600 * 24) / (8 * 1000)
Total_Retention_TB = [(Daily_Ingest_GB * Camera_Count * Retention_Days) / 1000] * 1.15

The 1.15 factor reserves 15% free space required by ZFS pools or standard ext4 filesystems to prevent fragmentation and write cliff slowdowns.

2. H.265 vs H.264 Efficiency

  • H.264 (AVC): Standard surveillance format. Requires ~14-16 Mbps for crisp 4K30 footage without macroblocking.
  • H.265 (HEVC): Advanced compression supported by modern IP cameras. Delivers equivalent visual clarity at 9-10 Mbps, yielding a 35% to 40% reduction in disk storage requirements.

3. Switch PoE Power Budgeting & Peak Draw

PoE cameras draw variable current based on environmental conditions. A camera idling at 6W during daylight will spike to 12.5W when the IR-cut filter engages, infrared LEDs illuminate, and optical zoom motors activate. Always size PoE switches with at least a 20% overhead margin above cumulative peak ratings.

Lab Tested Hardware for this Profile

Verified Benchmarks
Lab Tested 4K Optical Zoom£379 / $449

Ubiquiti UniFi Protect G4 Pro 4K PoE Camera

Our primary optical test camera in the lab, delivering uncompromising 4K clarity and zero-friction RTSPS integration.

RAM/Bandwidth: 4K30 + RTSPS to Frigate
Idle Draw: 6W
Lab Tested Core Gateway & NVR£329 / $379

Ubiquiti UniFi Dream Machine Pro (UDM Pro)

The core gateway powering our entire lab test facility, handling dual 10GbE routing, VLAN isolation, and camera recording flawlessly.

RAM/Bandwidth: 3.5" NVR Bay + 10G SFP+ WAN/LAN
Idle Draw: 19W
Lab Backbone: Best Silent 10GbE Switch£229 / $269

Ubiquiti UniFi 10G Aggregation Switch (USW-Aggregation)

The silent heart of our 10GbE lab, providing 160 Gbps non-blocking switching between NAS pools and Proxmox compute nodes.

RAM/Bandwidth: 8x 10G SFP+ Ports (160 Gbps)
Idle Draw: 11W
Best Frigate Night Vision£89 / $99

Reolink ColorX CX410 PoE Camera

The definitive camera sensor for local Frigate AI NVRs - eliminates black & white infrared blur and insect false alarms.

RAM/Bandwidth: MicroSD 256GB + RTSP/ONVIF
Idle Draw: 4W

Frequently Asked Questions

Q:How much hard drive storage do 4K surveillance cameras consume per day?

A 4K camera (such as the UniFi Protect G4 Pro or Reolink CX810) streaming at 14 Mbps consumes approximately 145 GB per 24 hours under continuous H.264 recording. Utilizing H.265 compression reduces this to ~95 GB per day. For 6 cameras recording 24/7 with 30 days retention, you need at least 18TB of usable storage.

Q:What PoE power budget do I need for UniFi Protect 4K cameras?

UniFi G4 Pro cameras require 802.3at PoE+ power, consuming up to 12.5W during cold night operation when infrared illumination and optical zoom motors engage. A 6-camera rig requires a PoE budget of at least 75W, making a 24-port switch like the USW-Pro-24-PoE (400W budget) ideal.

Q:Can I stream UniFi Protect G4 Pro cameras into Frigate NVR simultaneously?

Yes. UniFi Protect provides native RTSPS/RTSP feeds for each camera. You can configure Frigate NVR to ingest the high-resolution RTSP stream for local object detection and 24/7 continuous archiving while still utilizing the UniFi Protect mobile app for instant notifications.

Related Hardware Calculators

All 7 Tools