> 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/ewelink-remote.md).

# อุปกรณ์ย่อย eWeLink-Remote

คุณสามารถเปลี่ยน CUBE OS ให้เป็นเกตเวย์ระยะไกล eWeLink Remote เพื่ออนุญาตการรวมอุปกรณ์ย่อย เช่น [**S-MATE 2**](https://sonoff.tech/en-us/products/sonoff-s-mate-extreme-switch-mate/58) **หรือ** [**R5**](https://sonoff.tech/en-us/products/sonoff-switchman-r5-scene-controller/58).

{% hint style="info" %}
**eWeLink-Remote control คืออะไร？**

eWeLink-Remote Control เป็นโซลูชันรีโมทคอนโทรลแบบใหม่เฉพาะสำหรับอุปกรณ์ SONOFF ซึ่งให้การควบคุมอุปกรณ์บ้านที่สะดวกขึ้น น่าเชื่อถือมากขึ้น และระยะไกลมากขึ้น

สำหรับรายละเอียดเพิ่มเติม โปรดดู:

<https://sonoff.tech/news-and-events/what-is-ewelink-remote-control/>
{% endhint %}

## 1. เปิดใช้งาน eWeLink-Remote Control ใน Pilot

{% stepper %}
{% step %}
จากแถบด้านซ้าย ไปที่ **คุณสมบัติของ Pilot**.

<figure><img src="/files/db187328e01b7f7a0595bbe120168ee5cc1d0dd2" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
ค้นหา **eWeLink-Remote Control** และคลิก **ดูเพิ่มเติม** . สลับสวิตช์เพื่อ **enable** เปิดใช้งานฟีเจอร์นี้

<figure><img src="/files/b7887d9edddad8d3a5b1b29d37432096ddb3fae1" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
เมื่อเปิดใช้งาน CUBE OS จะเริ่มโปรโตคอล eWeLink-Remote และเตรียมรับสัญญาณจากอุปกรณ์ที่เข้ากันได้
{% endstep %}
{% endstepper %}

## 2. เพิ่มอุปกรณ์ย่อย eWeLink-Remote (ใช้ R5 เป็นตัวอย่าง)

{% stepper %}
{% step %}
กลับไปที่ **หน้าแรก** คลิกที่ **“+”** ไอคอนมุมขวาบน เลือก **อุปกรณ์ย่อย eWeLink-Remote** จากรายการ

<figure><img src="/files/6764cedbfa8a6a8c25baeda193b667d2efcbd588" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
คลิก **จับคู่** เพื่อเข้าสู่โหมดจับคู่

<figure><img src="/files/8bfe545f7fdf8b6ac870d6c42b110970d8b5ab21" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
บน **SONOFF R5**กดปุ่มใดก็ได้หนึ่งครั้ง นี่จะส่งสัญญาณจับคู่
{% endstep %}

{% step %}
เมื่อจับคู่สำเร็จ R5 จะปรากฏในรายการอุปกรณ์ของคุณ

<figure><img src="/files/bb1b8f18bd0a79a5789fc6b5c83784dd0d2ebee0" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## 3. กำหนดค่า Smart Scenes สำหรับอุปกรณ์ย่อย eWeLink-Remote

หลังจากเพิ่มอุปกรณ์ย่อย eWeLink-Remote แล้ว คุณสามารถเชื่อมต่อกับอุปกรณ์สมาร์ทอื่นๆ ผ่าน **ฉากอัจฉริยะ**.

{% stepper %}
{% step %}
ไปที่ **หน้าฉาก** ภายใต้

<figure><img src="/files/4d410d31147eb4499396ee7f00e33c3010a0d307" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
แท็บ **ฉากอัจฉริยะ** คลิก **เพิ่มฉาก**.

<div align="left"><figure><img src="/files/33fe585c92e60e23b067f8f04190d7d2142f5cad" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
ตั้งค่า **ถ้า** เงื่อนไข:

**เพิ่มอุปกรณ์อัจฉริยะ → SONOFF R5 → เปิดปุ่มไร้สาย → ช่อง 1 → คลิก → เสร็จสิ้น.**
{% endstep %}

{% step %}
ตั้งค่า **จากนั้น** การกระทำ:

**เพิ่มอุปกรณ์อัจฉริยะ → SONOFF B05-BL → เปิดใช้งานสวิตช์ → เปิด → เสร็จสิ้น.**
{% endstep %}

{% step %}
บันทึกฉากอัจฉริยะของคุณ

<figure><img src="/files/8fe3186efad9ff31699a2372183fc09a55be64d9" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

ตอนนี้เมื่อคุณกดปุ่ม R5 ไฟ B05-BL ที่เชื่อมต่อจะสว่างโดยอัตโนมัติ.


---

# 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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
