Skip to content

Commit bcab90e

Browse files
committed
Saying goodbye
1 parent ce7bde4 commit bcab90e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed
7.86 MB
Loading

content/hardware/03.nano/boards/nano-matter/tutorials/open-thread-border-router/content.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,8 @@ As the *end-device* we are going to use an Arduino Nano Matter configured as **S
294294

295295
![Smart outlet example](assets/outlet-ex.png)
296296

297+
***By default the example will use the built-in LED as an output, you can easily update the code so it controls a GPIO to activate an external relay.***
298+
297299
- Once flashed, open the serial terminal and reset the board. Take note of the **manual pairing code**:
298300

299301
![End-device Matter credentials](assets/pair-code.png)
@@ -357,9 +359,11 @@ To control the Smart Outlet use the following command format:
357359
```
358360

359361
- `onoff`: This specifies that the command pertains to the On/Off cluster, which controls the power state (on/off) of the device.
360-
361362
- `toggle`: This command switches the current state of the device.
362-
363363
- `1`: This is the Node ID of the device receiving the command.
364+
- `0x03`: This is the endpoint ID of the device (fixed to 0x03 for Silicon Labs device).
365+
366+
Every time you run the command the Smart Outlet will toggle, turning on or off the load connected.
367+
368+
![Smart outlet demo](assets/final-demo.gif)
364369

365-
- `0x03`: This is the endpoint ID of the device (fixed to 0x03 for Silicon Labs device).

0 commit comments

Comments
 (0)