# Cameras

## 1. Before you move on

Please make sure you have:

1. Connect your camera to your home network either via Ethernet or Wi-Fi.
2. Ensure your camera and your CUBE OS host are on the same LAN (or VLAN, subnet).
3. **Please follow the vendor's official guide to enable the RTSP/ONVIF feature,** and obtain the following information (For SONOFF cameras, you can find the required information on the device's settings page, listed under the `More Settings` entry.):
   * RTSP Streaming Address, which looks like \`rtsp\://username:password\@192.168.0.201:554/av\_stream/ch0\`
   * User name and password (if not provided in the link you obtained)

## 2. Add RTSP-enabled cameras

{% stepper %}
{% step %}

### Access to CUBE OS via browser.&#x20;

Log in to your CUBE OS host, click on the `+` button, then select `Add Device`.

<figure><img src="https://67406449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCnF8kmk9yw3yiy2mRerq%2Fuploads%2FaJLOWJrut7M0OJy6Nj2O%2FScreenshot%202024-12-13%20at%2015.03.52.png?alt=media&#x26;token=7f3b580d-6891-45da-be85-5b64dce18178" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Add RTSP Camera

Select Add `RTSP Camera`.

<figure><img src="https://67406449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCnF8kmk9yw3yiy2mRerq%2Fuploads%2FpqFbOc6woSNf7K4iQVHQ%2FScreenshot%202024-12-13%20at%2015.04.11.png?alt=media&#x26;token=9bd862d3-4b86-4f51-84db-5ba673c5b108" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Fill credentials

Give your camera a name, and input the stream address obtained from [Step 1](#id-2.-add-rtsp-enabled-cameras). If the address does not contain authentication information, please input the RTSP Username and Password manually.

<figure><img src="https://67406449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCnF8kmk9yw3yiy2mRerq%2Fuploads%2F4fsoRgmr19wkXOqSCSzQ%2FScreenshot%202024-12-13%20at%2015.06.23.png?alt=media&#x26;token=771e11d0-b196-4351-9e89-5d6b4cd9a450" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Go Live

Back to the All Devices page, click on the camera to stream.

<figure><img src="https://67406449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCnF8kmk9yw3yiy2mRerq%2Fuploads%2FX2ImjzYytcuz3dbeuvMT%2FScreenshot%202024-12-13%20at%2015.07.43.png?alt=media&#x26;token=8e08d495-4393-4ba4-b646-0aec3cebea09" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## 3. Add ONVIF Cameras

{% stepper %}
{% step %}

### Access to CUBE OS via browser

Log in to your CUBE OS host, click on the `+` button, then select `Add Device`.

<figure><img src="https://67406449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCnF8kmk9yw3yiy2mRerq%2Fuploads%2FOqvgv09JHzA9CWFLCp29%2FScreenshot%202024-12-13%20at%2015.03.52.png?alt=media&#x26;token=9f870ae4-d055-496c-bdd1-56270a63a960" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Discover your cameras

Click on the Start Setup to discover cameras on your local network.

<figure><img src="https://67406449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCnF8kmk9yw3yiy2mRerq%2Fuploads%2FshOL8uUAWOuLhrMBoasl%2FScreenshot%202024-12-13%20at%2017.46.30.png?alt=media&#x26;token=23d7393b-d059-48db-9b25-85f1e70e02c4" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Fill in credentials

Find the listed devices you want to add, and click `Add`, then fll in the authentication information you obtained from [Step 1](#id-3.-add-onvif-cameras) if there is any.

<figure><img src="https://67406449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCnF8kmk9yw3yiy2mRerq%2Fuploads%2FWE29BgY5SB5zeJRYdhQb%2FScreenshot%202024-12-13%20at%2017.46.35.png?alt=media&#x26;token=c706fb3a-e167-450c-bbf0-9a1096f6f7cd" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Go Live

Back to the All Devices page, click on the camera to stream.

<figure><img src="https://67406449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCnF8kmk9yw3yiy2mRerq%2Fuploads%2FsxYBjlHE2DioId89pdaE%2FScreenshot%202024-12-16%20at%2014.52.26.png?alt=media&#x26;token=c83c9540-9aed-43ef-98b6-407b7409e11a" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## 4. Multi-View for Cameras

{% hint style="info" %}
You can only view 10 cameras at the same time. The actual experience depends on your CUBE OS' performance.
{% endhint %}

{% stepper %}
{% step %}
Visit your CUBE OS' web console, and navigate to the All Devices tab (the default one). And select a camera to start, a pop-up will show in the corner. Please wait until it manages to stream.

<figure><img src="https://67406449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCnF8kmk9yw3yiy2mRerq%2Fuploads%2FTelnMjpme7pb4IQYGLVA%2FScreenshot%202025-01-02%20at%2016.10.58.png?alt=media&#x26;token=851085a6-d313-4cb3-b44d-d7d153869dd5" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
On the pop-up, click on the Multi-View icon – the one in the right-button corner  <img src="https://67406449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCnF8kmk9yw3yiy2mRerq%2Fuploads%2FiewGcZbkGIBnnWss3IVt%2FScreenshot%202025-01-02%20at%2017.20.07.png?alt=media&#x26;token=7da0989c-e544-454c-ae0f-d156a745d646" alt="" data-size="line">&#x20;
{% endstep %}

{% step %}
Navigate to the cameras you want to stream from the list, then click the Add button <img src="https://67406449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCnF8kmk9yw3yiy2mRerq%2Fuploads%2FZSrraYBxVPfassCxRqwI%2FScreenshot%202025-01-02%20at%2017.28.01.png?alt=media&#x26;token=4e524fc3-f954-476a-884a-9499702e9e0c" alt="" data-size="line"> to add them to the main panel to view. And remove any with the close button <img src="https://67406449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCnF8kmk9yw3yiy2mRerq%2Fuploads%2FXEh62ykBLr04TYuvax9n%2FScreenshot%202025-01-02%20at%2017.37.55.png?alt=media&#x26;token=1322f7be-6186-44d7-8fa5-f6a00dab17ae" alt="" data-size="line">.

<figure><img src="https://67406449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCnF8kmk9yw3yiy2mRerq%2Fuploads%2FwmA7vitjDLzyd651FTvZ%2Fimage.png?alt=media&#x26;token=b13e9ec4-73f6-4784-836e-00312aca118a" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You can add up to four cameras to the main panel.
{% endhint %}
{% endstep %}

{% step %}
To zoom in on any camera view, click the Zoom icon <img src="https://67406449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCnF8kmk9yw3yiy2mRerq%2Fuploads%2F0z5xjeievljUSoDolsdS%2FScreenshot%202025-01-02%20at%2017.38.58.png?alt=media&#x26;token=7754a14d-d071-426f-a28f-9a5eec793ad4" alt="" data-size="line"> on the main panel.

On the zoomed view, you can also quickly switch between cameras from the dropdown list.

<figure><img src="https://67406449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCnF8kmk9yw3yiy2mRerq%2Fuploads%2FZRdBA7PhTbl1ZKZmy2Fq%2Fimage.png?alt=media&#x26;token=7415b2d7-3442-422c-a10c-6423da5a6abe" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}
