---
# System prepended metadata

title: SQA of Smart Plug
tags: [Matter]

---

# 1. 配對
> $ chip-tool pairing code-wifi 0x01 [ssid] [password] MT:KIS1842C006L.Z0E310 --bypass-attestation-verifier true
> ssid: AP名稱
> password: AP密碼

# 2. 負載上電
> $ chip-tool onoff on 0x01 1
> $ chip-tool onoff read on-off 0x01 1
> ![](https://hackmd.io/_uploads/rkw-H5wMa.png)
> 有看到"OnOff: TRUE"字樣表示上電成功

# 3. 負載關閉
> $ chip-tool onoff off 0x01 1
> $ chip-tool onoff read on-off 0x01 1
> ![](https://hackmd.io/_uploads/H1S5BcPM6.png)
> 有看到"OnOff: FALSE"字樣表示關閉成功

# 4. 查詢功率
> $ chip-tool levelcontrol read current-level 0x01 1
> ![](https://hackmd.io/_uploads/ry-F89wf6.png)
> 有看到"CurrentLevel: 數字"字樣表示查訊成功，數字為目前功率。
