Video Material

MAT-114: Quick Start - Matter over Thread Light Switch

This material is 4 of 6 in the Matter 110: Matter Developer Journey.

Learn about developing Matter devices using Silicon Lab's secure, intelligent, connected microcontrollers

Overview

Explore the Matter over Thread Light Switch example application from the Simplicity Studio IDE using Silicon Labs low-power EFR32MG24 multi-protocol microcontroller. This video uses a Raspberry Pi as an OpenThread Border Router and Adafruit RGB LED matrix boards are used to enhance the light devices. In this video you will learn:

  1. How to create the Matter over Thread Light Switch example application
  2. How to commission the Switch into a network formed on the Raspberry Pi
  3. How to allow lights to receive commands from switches
  4. How to send commands from switches to lights

Next steps:

Related videos:

Mattertool commands used in this video:

// General
mattertool help 
// Network
mattertool startThread
mattertool getThreadDataset
// Lights commission
mattertool bleThread -n 100
mattertool bleThread -n 101
// Lights control
mattertool on -n 100
mattertool off -n 100
mattertool toggle -n 100
// Switches commission
mattertool bleThread -n 200
mattertool bleThread -n 201
// Lights access control list 100, single switch 200
mattertool accesscontrol write acl '[ { "fabricIndex" : 1 , "privilege" : 5 , "authMode" : 2 , "subjects" : [ 112233 ] , "targets" : null } , { "fabricIndex" : 1 , "privilege" : 3 , "authMode" : 2 , "subjects" : [ 200 ] , "targets" : null } ]' 100 0
mattertool accesscontrol read acl 100 0
// Switch bind 200, single light 100
mattertool binding write binding '[ { "fabricIndex" : 1 , "node" : 100 , "endpoint" : 1 , "cluster" : 6 } ]' 200 1
mattertool binding read binding 200 1
// Light access control list 101, all switches 200, 201
mattertool accesscontrol write acl '[ { "fabricIndex" : 1 , "privilege" : 5 , "authMode" : 2 , "subjects" : [ 112233 ] , "targets" : null } , { "fabricIndex" : 1 , "privilege" : 3 , "authMode" : 2 , "subjects" : [ 200, 201 ] , "targets" : null } ]' 101 0
mattertool accesscontrol read acl 101 0
// Switch bind 201, one light 101
mattertool binding write binding '[ { "fabricIndex" : 1 , "node" : 101 , "endpoint" : 1 , "cluster" : 6 } ]' 201 1
mattertool binding read binding 201 1
// Switch bind 200, two lights 100, 101
mattertool binding write binding '[ { "fabricIndex" : 1 , "node" : 100 , "endpoint" : 1 , "cluster" : 6 } , { "fabricIndex" : 1 , "node" : 101 , "endpoint" : 1 , "cluster" : 6 } ]' 200 1
mattertool binding read binding 200 1

Prerequisites:

MAT-111: Matter over Thread Light

MAT-112: OpenThread Border Router

Hardware Required:

EFR32xG24 Explorer Kit

Raspberry Pi

Close
Loading Results
Close