Docs Get started
Concepts
Cameras, watches, events, keyframes and integrations: the five things in Percia and how they fit.
The five things below fit together like this.
Camera#
A camera is anything that produces video for Percia:
- a phone, tablet or computer you pair by link or QR code (
percia-cam://<id>), - a camera on your home or office network, pushed by the bridge (also
percia-cam://<id>), - a public video link (
rtsp://,rtsps://,http://,https://), - a video file you upload (
percia-file://<id>), which plays once.
The address you give a watch is called its sourceUrl. You can have up to 50 cameras.
Watch#
A watch is one goal on one camera. A goal is a sentence like "A person is standing at the front door". While the watch is active and the camera sends video, Percia checks the picture against the goal and decides, again and again, whether it is true. A watch has an alert target (your email by default, or a webhook) and can also post to connected tools.
One camera can have up to 10 active watches, and an account up to 20 active watches in all. A watch can be paused and resumed, and it pauses itself after 60 minutes without video.
Read more: Watches and goals.
Event#
An event is one decision "the goal just became true". Percia sends one alert per occurrence: while the goal stays true you are not alerted again. After it clears, the next time it becomes true is a new event.
An event has a reason (written by a vision model), a confidence, the time, and a keyframe. Events are kept and can be listed with GET /api/watches/{id}/events or, across all watches, GET /api/events.
Keyframe and evidence#
A keyframe is the still picture at the moment the goal was met. New watches keep keyframes by default (set media: "off" to store nothing). Keyframes are kept for 1, 3, 7, 14 or 30 days (3 days in the EU, EEA, UK and Switzerland, 7 elsewhere, unless you choose). Percia also cuts short clips for some alerts. Details are in Limits.
Integration#
An integration (or connection) is a place alerts can go: Slack, Discord, Telegram, Home Assistant, IFTTT, Microsoft Teams, PagerDuty, SMS, WhatsApp or a webhook. A person connects each one once, and a rule says that a watch posts to it. Read more: Integrations.
How a decision is made#
Percia reads your goal once when the watch is created: is it something that happens ("a car pulls in") or something that stays true ("the gate is open"), what is the visible evidence, and what look-alikes to ignore. A broad goal ("the baby is in danger") is split into several concrete conditions.
Accounts, keys and scopes#
Everything belongs to an account. The API takes a key (pk_live_...) or an OAuth token. A key has scopes (for example watches:read, watches:write, events:read); a call without the scope answers 403 insufficient_scope naming it. Billing, API keys and adding a destination always need a person signed in: a key cannot do them.
Billing in one line#
Percia charges for camera time: $0.50 per camera-hour, billed by the exact minute, with 10 free minutes every month. See Limits, pricing and credits.
Stuck? Ask in the Percia Discord or email support@percia.ai. This page as Markdown: concepts.md.