# ONVIF Integration

### 1. Prerequisites

1\)  Camera needs to be configured to Home Wi-Fi / LAN network

2\)  The camera needs to support the Onvif protocol. You can check the instructions provided by the camera manufacturer or consult the manufacturer's technical support.

3\)  Find camera ***IP address***, setup camera login ***username*** and ***password*** in App or web URL. Please refer to the camera manufacturer's instructions for detailed settings.&#x20;

Hint: Usually you can directly google "camera brand + onvif"

**For Example, Tapo camera,**&#x20;

* search "Tapo Onvif"&#x20;
* find this url <https://www.tapo.com/sg/faq/34/> , &#x20;
* follow the instraction to setup you username and password for ONVIF
* Port: 2020

### 2.  Setup camera using ONVIF integration in Home Assistant&#x20;

1\) Go to Settings - Devices & Services - + Add Integration, search Onvif

<figure><img src="https://1561436000-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpCtFemS511EXKjNnjKqg%2Fuploads%2F4C7ACncCDMEu2qD1h1MC%2Fimage.png?alt=media&#x26;token=f957e146-7380-4dab-a4c5-1c51d6766277" alt=""><figcaption></figcaption></figure>

2\) Input information in the pop up box, then click finish

<figure><img src="https://1561436000-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpCtFemS511EXKjNnjKqg%2Fuploads%2FluTteet3g6oqhZdlAiVA%2Fimage.png?alt=media&#x26;token=4f403000-7bfd-4b63-8d30-22f6a00b41e6" alt=""><figcaption></figcaption></figure>

3\) Choose Room, and click finish.&#x20;

<figure><img src="https://1561436000-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpCtFemS511EXKjNnjKqg%2Fuploads%2FTO48aAZzv67SIPtBxGtg%2Fimage.png?alt=media&#x26;token=dbcefb62-4418-4712-8789-06ae4778b47d" alt=""><figcaption></figcaption></figure>

4\) After successfully adding the ONVIF camera, return to the Home Assistant overview, where you can watch the camera video.

<figure><img src="https://1561436000-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpCtFemS511EXKjNnjKqg%2Fuploads%2FYzMp3KdgBUakJTg87sgz%2Fimage.png?alt=media&#x26;token=ad674e19-1fb5-4bc3-af98-e605e0c20c0f" alt=""><figcaption></figcaption></figure>
