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

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.
Open the camera in the Tapo app
Tap the camera, then the settings icon.
Find the camera account
Go to Advanced Settings → Camera Account.
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:
| Stream | Address | What it is for |
|---|---|---|
| stream1 | rtsp://user:password@192.0.2.30:554/stream1 | The main stream, at the camera's full resolution. Best for recording and for zooming into details later. |
| stream2 | rtsp://user:password@192.0.2.30:554/stream2 | The 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.
- In Find cameras, Vigiora searches the network and lists the cameras it finds with their maker and address. Tick the Tapo camera.
- In Connect cameras, type the camera account's User name and Password, and click Test.
- 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.
- 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.

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#
Which login does Vigiora need: my TP-Link ID or the camera account?#
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.
Related docs#
Add a camera
All the ways to connect a camera: Add a camera.
Recording
Main stream or sub-stream, and disk space: Recording and retention.
Troubleshooting
Missing stream, wrong path or freezes: Troubleshooting cameras.