Vigiora

Tento článek zatím není k dispozici v jazyce Čeština. Zde je v angličtině.

Set up a TP-Link Tapo camera with a self-hosted NVR

How to record a Tapo camera on your own Vigiora Server. Create the camera account in the Tapo app, understand stream1 and stream2, connect the camera with the setup wizard or by hand, and get the best picture for recording and AI.

· 4 min čtení · Zobrazit jako Markdown

Sdílet
Step 6 of the setup wizard, Connect cameras, with three cameras connected and a fourth camera's user name and password being tested

TP-Link Tapo cameras are popular because they are affordable and easy to set up with a phone. Out of the box they talk to the Tapo app. With one setting in that app, most mains-powered Tapo cameras also stream to a self-hosted recorder such as Vigiora Server, on your own network, with your own disk.

Step 1: create the camera account#

A Tapo camera has two different logins. Your TP-Link ID is the account you use in the app and the cloud. The camera account is a separate user name and password that only exists on the camera, for recorders on your network. Without it, RTSP and ONVIF don't answer.

  1. Open the camera in the Tapo app

    Tap the camera, then the settings icon.

  2. Find the camera account

    Go to Advanced Settings → Camera Account.

  3. Create the login

    Choose a user name and a strong password, and save. Write them down: this is the login Vigiora will use.

Use a password you don't use anywhere else. The camera account gives access to the video, so treat it like a door key.

Step 2: know the two streams#

Like most cameras, a Tapo camera sends two streams at the same time:

StreamAddressWhat it is for
stream1rtsp://user:password@192.0.2.30:554/stream1The main stream, at the camera's full resolution. Best for recording and for zooming into details later.
stream2rtsp://user:password@192.0.2.30:554/stream2The sub-stream, at a much lower resolution. Light enough for live view on a phone and for motion detection.

Replace the user, password and address with your own. RTSP uses port 554, and ONVIF on Tapo cameras uses port 2020 rather than the more common 80.

If the Tapo app offers a video quality or resolution setting for your model, choose the highest. That sets what stream1 delivers.

Step 3: let the setup wizard connect it#

The easiest way is the setup wizard on a new server, or the camera search on an existing one.

  1. In Find cameras, Vigiora searches the network and lists the cameras it finds with their maker and address. Tick the Tapo camera.
  2. In Connect cameras, type the camera account's User name and Password, and click Test.
  3. Vigiora asks the camera over ONVIF for its main stream and its sub-stream. If that doesn't work, it tries the usual TP-Link Tapo stream addresses. A live picture shows when it has found them.
  4. Rename the camera, from the maker's name to something like Back garden, and add it.

You never type a stream address in the wizard, and the camera is created with its sub-stream.

Two details save time. Vigiora stops at the first refused password and never sends the same wrong password to that camera again for 30 minutes, so a typo doesn't lock the camera. And with several Tapo cameras that share one camera account, you type the login once and use it for all of them.

New cameras added later are found too: Vigiora scans the network every hour and asks whether to set up a new camera. See Automatic camera discovery.

Or add it by hand#

If you prefer, or if the camera isn't found, open Monitors, add a camera, choose (Local / manual RTSP) and the source type RTSP camera, and paste the stream1 address into RTSP URL.

The Add Monitor form on the General tab, with the Name, Vigiora client, Source type and RTSP URL fields
The manual form takes the camera's RTSP address. Screenshot from a Vigiora demo server with sample data.

Save, then open the camera page and check that the picture plays.

Step 4: settings for the best picture#

  • Record the main stream on cameras where you may need to zoom in later: a front door, a gate, a till. Record the sub-stream instead, with Record low quality (sub-stream), on cameras where detail matters less. It saves about 60–80% of disk.
  • Keep the camera on a fixed address. Reserve its address on your router (a DHCP reservation). Vigiora also learns the camera's hardware ID and follows it to a new address, but a reservation is the most reliable.
  • Prefer a cable where the model has an Ethernet port. Wi-Fi works, but a cable gives detection a steadier stream. See PoE or Wi-Fi cameras for AI detection.
  • Turn on AI for the cameras that matter most. The free plan has no camera limit and includes AI on 2 cameras.

Frequently asked questions#

The camera account, created in the Tapo app under Advanced Settings → Camera Account. Your TP-Link ID never goes to Vigiora.

Does the Tapo app keep working?#

Yes. Vigiora reads the camera's streams on your network. The camera stays in the Tapo app, and you can keep using both.

Can Vigiora steer a Tapo pan-tilt camera?#

For cameras on the server's network, Vigiora detects pan/tilt/zoom over ONVIF, and it finds the ONVIF port by itself, including Tapo's port 2020. See PTZ cameras.

  1. Add a camera

    All the ways to connect a camera: Add a camera.

  2. Recording

    Main stream or sub-stream, and disk space: Recording and retention.

  3. Troubleshooting

    Missing stream, wrong path or freezes: Troubleshooting cameras.

Sdílet

Vyzkoušejte to na vlastních kamerách

Vigiora Server je zdarma s neomezeným počtem kamer. AI na 2 kamerách je v rámci akce zdarma. Na počítač s Linuxem ho nainstalujete jedním příkazem.