Raspberry Pi TetherBox
https://demo.timeline.is/help/tetherboxes/raspberry-pi
Last updated: November 25, 2026
Table of Contents

Raspberry Pi TetherBox

Build a compact TetherBox with Raspberry Pi 5. You assemble the hardware and connect it to the internet; TetherX installs the software remotely.

 1. Get the Parts

Warning: Use the microSD card for the system, not continuous video recording. Footage needs a separate recording drive; USB memory sticks are not suitable either.

Use USB recording storage with these AI HATs. The HAT uses the Pi's PCIe connection, so you cannot simply add a second M.2 storage HAT.

 2. Choose the AI HAT

The HAT is an add-on board that gives your Pi AI detection. Choose it by how many cameras need AI:

Official board Hailo chip Approximate AI capacity
AI HAT+ 13 TOPS (opens in a new tab) Hailo-8L Up to 4 cameras
AI HAT+ 26 TOPS (opens in a new tab) Hailo-8 Up to 8 cameras
AI HAT+ 2 (opens in a new tab) Hailo-10H Up to 8 cameras

These are our planning figures for AI using a roughly 1-megapixel stream, such as a 720p sub-stream. Capacity depends on the AI model and settings; see Hailo AI Accelerators.

The Pi 5 can record up to 10 cameras, depending on the workload. Only the cameras receiving AI analysis count towards the AI limits above. See CPU Recommendations for recording capacity.

  • AI HAT+ on a Pi 5. The photo shows the 26 TOPS model and its connecting ribbon.
    • Raspberry Pi AI HAT+ 26 TOPS mounted on a Pi 5 with PCIe ribbon and spacers
  • AI HAT+ 2 on a Pi 5. Its heatsink is not shown here; fit the supplied heatsink when building your unit.
    • Raspberry Pi AI HAT+ 2 mounted on a Pi 5 before fitting its heatsink

Photos: Raspberry Pi Ltd, AI HAT documentation (opens in a new tab), CC BY-SA 4.0 (opens in a new tab). Reproduced unchanged.

 3. Put It Together

Keep the power disconnected while assembling. Use the official illustrated instructions (opens in a new tab) alongside these steps:

  1. Fit the Active Cooler and connect its fan to the Pi.
  2. For AI HAT+ 2, fit the supplied HAT heatsink too.
  3. Fit the HAT using its spacers, stacking header and PCIe ribbon. Secure both ends of the ribbon.
  4. Fit the case, leaving the fan and air vents clear.
  5. Connect Ethernet and the recording drive. Prepare the microSD card before switching on.

Warning: Good cooling and power are essential. Overheating can slow recording and AI; an unsuitable supply can cause restarts or drive disconnections. Use active cooling, a ventilated case and the official power supply.

 4. Prepare the Card and Start the Pi

Use Raspberry Pi Imager (opens in a new tab) on your computer:

  1. Select Raspberry Pi 5 and Raspberry Pi OS Lite (64-bit), Debian 13 Trixie.
  2. Select your microSD card. Writing the image erases it, so check you have picked the correct card.
  3. In the customisation settings, create a temporary user called tetherx with a strong password, and enable SSH (remote command-line access).
  4. Write and verify the card, insert it into the Pi, then connect power.
  5. Find the Pi's IP address in your router's device list. Test SSH from a computer on the same network, replacing PI_LAN_IP below with that address:
ssh tetherx@PI_LAN_IP
sudo -v

The second command checks that the account has administrator access, which TetherX needs for installation.

 5. Let TetherX Connect

We need temporary SSH access to finish the installation. Choose one route:

Cloudflare Tunnel

This works without opening a router port. You need a Cloudflare account and a domain managed through Cloudflare.

  1. Go to Networking → Tunnels in Cloudflare. Create a tunnel and follow its Linux ARM64 instructions to install cloudflared on the Pi as a service.
  2. Add a hostname, such as pi-setup.example.com, with service type SSH and address localhost:22.
  3. Protect it with a self-hosted Cloudflare Access application, allowing only the support identities agreed with TetherX.

Use Cloudflare's setup guide (opens in a new tab) for the full steps. TetherX's connecting computer also needs client-side cloudflared (opens in a new tab); Cloudflare login and the Pi's SSH login are both required.

Port Forwarding

Ask your network administrator to reserve the Pi's local IP address and forward an external TCP port to port 22 on the Pi. Restrict access to the source IP addresses agreed with TetherX, then test from outside the site.

This needs a reachable public IP address. If your provider uses carrier-grade NAT, common on mobile connections, use Cloudflare Tunnel instead.

Ready for Installation

Contact TetherX with your chosen HAT, camera count, recording-drive size and connection details. Share the hostname or public IP, SSH port and temporary account details through the agreed support channel.

Keep the Pi powered on and connected. TetherX installs the software and removes the temporary account. Confirm recording playback and AI detection work, then remove the temporary tunnel or port forwarding when we confirm it is no longer needed.

Tip: Building several units? A Deployment TetherBox can set them up over your local network. See TetherBox Deployment Guide.

Already have a Pi 4? It remains compatible for up to 4 recording cameras, but these AI HATs require Pi 5.

Last updated: November 25, 2026