# 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="/files/tkp8m5i9f46ZaopslsLX" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Add RTSP Camera

Select Add `RTSP Camera`.

<figure><img src="/files/jDq520waFKpIfflKHQtU" 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="/files/9nsmfgjkYs7UawsQkIQK" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Go Live

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

<figure><img src="/files/snfGczjyn7xJFGTfWEjw" 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="/files/BAOwWWf4Vh7kO9pkDoMF" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Discover your cameras

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

<figure><img src="/files/LL0NwSVzZcyTFYUWV5or" 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="/files/xQnQKZXzGJGntYfZKFhI" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Go Live

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

<figure><img src="/files/kuCcv4WvbZqqOnS93bW0" 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="/files/lwfdMxwrLLfE8LsRENwE" 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="/files/APqh9JUIXPK7DPujHXC1" 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="/files/9yrixbBO4HHcW43vAxvf" alt="" data-size="line"> to add them to the main panel to view. And remove any with the close button <img src="/files/o5dkMalz6DPxEFctse11" alt="" data-size="line">.

<figure><img src="/files/zyQJ8GilWX0VseTzFSbR" 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="/files/54P3YQ5H7d7oqfr69x19" 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="/files/uxdxvZfrhlNkc16um2d7" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cube.ewelink.cc/getting-started/add-devices/cameras.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
