// Integration 02Available for Mac, Linux and Pi
PatrolCraft

Edit your UniFi Protect PTZ patrols in one place

Set dwell time and speed for each preset, turn the camera's auto tracking on or off, and see a snapshot of each stop.

Works withUniFi Protect PTZ cameras
ControlsDwell and speed per preset
Runs onMac, Linux or Raspberry Pi
EditsExisting Protect patrols
Version0.5.0
Tested onUniFi ENVR, AI PTZ Precision camera
Tested withUniFi Protect 7.3.70
Try the demo Interactive simulation. No hardware needed.
// TTY · One-line install

Install with one command in a terminal:

Version 0.5.0. Runs on a Mac, Linux or Raspberry Pi today. Source on GitHub

// 01 Problems PTZ patrol editing solves

03 items
[P-01]

See each stop before you change it

Each preset in a patrol shows up with its snapshot, so you see what the camera sees at that stop.

[P-02]

Give each stop its own timing

Stay longer at the gate and move on quickly past a quiet wall. Dwell time and speed are set per preset.

[P-03]

All your PTZ patrols in one view

Each camera is listed with its patrols right under its tile, so you can review a site's patrols together.

// 02 How PatrolCraft works

Overview

PatrolCraft extends UniFi Protect for sites with PTZ cameras. Set up your patrols in Protect as usual. PatrolCraft lists each PTZ camera with its patrols, shows a snapshot of each preset, and lets you set how long the camera stays at each preset and how fast it moves there. When you start the patrol from PatrolCraft, it runs with your saved settings.

CamerasUniFi PTZ
PatrolsCreate in Protect
EditingExisting patrols
Per presetDwell time · Speed
PreviewSnapshot of each preset

// 03 Patrol editing features for UniFi PTZ cameras

04 items
  • F-01Lists each PTZ camera with its patrols under its tile.[OK]
  • F-02Shows a snapshot of each preset in a patrol.[OK]
  • F-03Edit the patrols you set up in Protect.[OK]
  • F-04Set dwell time and movement speed for each preset.[OK]

// 04 UniFi Protect PTZ patrol FAQ

05 items
Does PatrolCraft create new patrols?

No. Create the patrol in UniFi Protect first, and PatrolCraft lists it so you can edit it.

What can I change in a patrol?

For each preset, you set how long the camera stays there (dwell time) and how fast it moves to it (speed). The patrol editor also lets you turn the camera's auto tracking on or off for people, vehicles, and zoom while tracking.

What happens when I start a patrol?

Start runs the patrol with your saved dwell time and speed. If a patrol has no saved values, it runs as set up in Protect.

Which cameras does it work with?

UniFi PTZ cameras adopted in Protect.

Is the demo connected to real cameras?

No. The demo is a simulation that runs in your browser, with example cameras and patrols.

// 05 What you need to run PatrolCraft

04 items
  • R-01A UniFi console running Protect.[REQ]
  • R-02PTZ cameras that already have patrols set up in Protect.[REQ]
  • R-03A local Protect user with full management access on that console.[REQ]
  • R-04A Mac, Linux computer or Raspberry Pi on the same network as your console.[REQ]

// 06 Questions or bugs?

Reddit

Post them on r/YesTechie_Labs. Feature ideas are welcome too. Please don't post passwords, IP addresses or console details.

// 07 Next step

Labs