> For the complete documentation index, see [llms.txt](https://cube.ewelink.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cube.ewelink.cc/english-th/getting-started/add-devices/cameras.md).

# กล้อง

## 1. ก่อนที่คุณจะดำเนินการต่อ

โปรดตรวจสอบให้แน่ใจว่าคุณได้:

1. เชื่อมต่อกล้องของคุณกับเครือข่ายภายในบ้านผ่าน Ethernet หรือ Wi‑Fi
2. ตรวจสอบให้แน่ใจว่ากล้องและโฮสต์ CUBE OS อยู่ใน LAN เดียวกัน (หรือ VLAN, ซับเน็ต เดียวกัน)
3. **โปรดปฏิบัติตามคำแนะนำอย่างเป็นทางการของผู้ผลิตเพื่อเปิดใช้งานฟีเจอร์ RTSP/ONVIF** และรับข้อมูลต่อไปนี้ (สำหรับกล้อง SONOFF คุณสามารถค้นหาข้อมูลที่ต้องการได้จากหน้าการตั้งค่าของอุปกรณ์ ภายใต้ `การตั้งค่าเพิ่มเติม` รายการ):
   * ที่อยู่สตรีมมิ่ง RTSP ซึ่งมีลักษณะเช่น \`rtsp\://username:password\@192.168.0.201:554/av\_stream/ch0\`
   * ชื่อผู้ใช้และรหัสผ่าน (หากไม่ได้ให้มาในลิงก์ที่คุณได้รับ)

## 2. เพิ่มกล้องที่รองรับ RTSP

{% stepper %}
{% step %}

### การเข้าถึง CUBE OS ผ่านเบราว์เซอร์&#x20;

เข้าสู่ระบบโฮสต์ CUBE OS ของคุณ คลิกที่ `+` ปุ่ม จากนั้นเลือก `เพิ่มอุปกรณ์`.

<figure><img src="https://2689310717-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&amp;token=7f3b580d-6891-45da-be85-5b64dce18178" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### เพิ่มกล้อง RTSP

เลือก เพิ่ม `กล้อง RTSP`.

<figure><img src="https://2689310717-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&amp;token=9bd862d3-4b86-4f51-84db-5ba673c5b108" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### กรอกข้อมูลรับรอง

ตั้งชื่อให้กล้องของคุณ และป้อนที่อยู่สตรีมที่ได้รับจาก [ขั้นตอนที่ 1](#id-2.-add-rtsp-enabled-cameras). หากที่อยู่ไม่มีข้อมูลการยืนยันตัวตน โปรดป้อนชื่อผู้ใช้ RTSP และรหัสผ่านด้วยตนเอง

<figure><img src="https://2689310717-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&amp;token=771e11d0-b196-4351-9e89-5d6b4cd9a450" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### ถ่ายทอดสด

กลับไปที่หน้าทุกอุปกรณ์ คลิกที่กล้องเพื่อเริ่มสตรีม

<figure><img src="https://2689310717-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&amp;token=8e08d495-4393-4ba4-b646-0aec3cebea09" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## 3. เพิ่มกล้อง ONVIF

{% stepper %}
{% step %}

### การเข้าถึง CUBE OS ผ่านเบราว์เซอร์

เข้าสู่ระบบโฮสต์ CUBE OS ของคุณ คลิกที่ `+` ปุ่ม จากนั้นเลือก `เพิ่มอุปกรณ์`.

<figure><img src="https://2689310717-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&amp;token=9f870ae4-d055-496c-bdd1-56270a63a960" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### ค้นพบกล้องของคุณ

คลิก เริ่มการตั้งค่า เพื่อค้นหากล้องในเครือข่ายท้องถิ่นของคุณ

<figure><img src="https://2689310717-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&amp;token=23d7393b-d059-48db-9b25-85f1e70e02c4" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### กรอกข้อมูลรับรอง

ค้นหาอุปกรณ์ที่ปรากฏในรายการที่คุณต้องการเพิ่ม แล้วคลิก `เพิ่ม`จากนั้นกรอกข้อมูลการยืนยันตัวตนที่คุณได้รับจาก [ขั้นตอนที่ 1](#id-3.-add-onvif-cameras) หากมี

<figure><img src="https://2689310717-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&amp;token=c706fb3a-e167-450c-bbf0-9a1096f6f7cd" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### ถ่ายทอดสด

กลับไปที่หน้าทุกอุปกรณ์ คลิกที่กล้องเพื่อเริ่มสตรีม

<figure><img src="https://2689310717-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&amp;token=c83c9540-9aed-43ef-98b6-407b7409e11a" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## 4. มุมมองหลายกล้อง

{% hint style="info" %}
คุณสามารถดูได้สูงสุด 10 กล้องพร้อมกัน ประสบการณ์จริงขึ้นอยู่กับประสิทธิภาพของ CUBE OS ของคุณ
{% endhint %}

{% stepper %}
{% step %}
ไปที่คอนโซลเว็บของ CUBE OS ของคุณ แล้วไปที่แท็บ ทุกอุปกรณ์ (แท็บเริ่มต้น) เลือกกล้องเพื่อเริ่ม ระบบจะแสดงป๊อปอัพที่มุม โปรดรอจนกว่าจะเริ่มสตรีมได้

<figure><img src="https://2689310717-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&amp;token=851085a6-d313-4cb3-b44d-d7d153869dd5" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
บนป๊อปอัพ ให้คลิกไอคอนมุมมองหลายกล้อง — ที่มุมด้านขวาล่าง  <img src="https://2689310717-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&amp;token=7da0989c-e544-454c-ae0f-d156a745d646" alt="" data-size="line">&#x20;
{% endstep %}

{% step %}
ไปยังกล้องที่คุณต้องการสตรีมจากรายการ แล้วคลิกปุ่ม เพิ่ม <img src="https://2689310717-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&amp;token=4e524fc3-f954-476a-884a-9499702e9e0c" alt="" data-size="line"> เพื่อเพิ่มพวกมันไปยังแผงหลักเพื่อดู และลบรายการใด ๆ ด้วยปุ่มปิด <img src="https://2689310717-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&amp;token=1322f7be-6186-44d7-8fa5-f6a00dab17ae" alt="" data-size="line">.

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

{% hint style="info" %}
คุณสามารถเพิ่มกล้องได้สูงสุดสี่ตัวลงในแผงหลัก
{% endhint %}
{% endstep %}

{% step %}
เพื่อซูมเข้าที่มุมมองของกล้องใด ๆ ให้คลิกไอคอนซูม <img src="https://2689310717-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&amp;token=7754a14d-d071-426f-a28f-9a5eec793ad4" alt="" data-size="line"> บนแผงหลัก

ในมุมมองที่ซูม คุณยังสามารถสลับกล้องอย่างรวดเร็วจากรายการแบบเลื่อนลงได้

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
