-
13:05
-
12:25
-
5:25
-
15:02
-
2:04
-
18:00
-
20:47
-
52:04
-
17:19
-
5:31
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:
- How to create the Matter over Thread Light Switch example application
- How to commission the Switch into a network formed on the Raspberry Pi
- How to allow lights to receive commands from switches
- How to send commands from switches to lights
Next steps:
- Download the Simplicity Studio IDE
- View Matter development documentation
- Discover Silicon Labs Matter solutions, including kits and boards
- Learn about the SparkFun Thing Plus Matter MGM240P
- Learn about the Adafruit RGB LED Matrix board
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