当前位置:网站首页>启明云端分享| 通过Matter协议实例演示开关通过matter协议来做到对灯亮灭的控制
启明云端分享| 通过Matter协议实例演示开关通过matter协议来做到对灯亮灭的控制
2022-06-12 14:36:00 【启明智显】
提示:作为Espressif(乐鑫科技)大中华区合作伙伴及sigmastar(厦门星宸)VAD合作伙伴,启明云端不仅用心整理了你在开发过程中可能会遇到的问题以及快速上手的简明教程供开发小伙伴参考。同时也用心整理了乐鑫及星宸科技的新产品、新方案的主要特点及应用!希望你能第一时间了解并快速用上好的方案和产品!
前言
作为CSA连接标准联盟(前Zigbee联盟)的活跃成员,乐鑫在Matter协议发起之初就加入了Matter计划,ESP32、ESP32-S、ESP32-C等系列芯片,均已支持构建基于Wi-Fi 协议的Matter设备。ESP32-H2的推出,也使构建基于Thread协议的Matter设备成为可能。此视频是启明云端技术小伙伴通过Matter协议实例演示开关通过matter协议来做到对灯亮灭的控制。不涉及前期环境的搭建。
环境搭建及使用命令参考:
https://github.com/project-chip/connectedhomeip/tree/master/ex
amples/all-clusters-app/esp32
学习资料:https://zhuanlan.zhihu.com/p/459731857

演示步骤:
1、配置好环境并安装好对应软件后,需要在指定的路径下激活软件包
2、连接一个设备,对他进行配网,这里先连接了“开关”
source ./scripts/activate.sh
激活软件包
./out/debug/chip-tool pairing ble-wifi 12344321 WT 0987654321 20202021 3840
开关配网

3、连接另一个设备进行配网,这里连接了“LED灯“
```bash
./out/debug/chip-tool pairing ble-wifi 12344322 WT 0987654321 20202021 3840
灯配网

4、设置灯的ACL,以让开关可以控制它
```bash
./out/debug/chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege":
5, "authMode": 2, "subjects": [ 112233, 12344321 ], "targets": null}]' 12344322 0
设置灯acl
详见视频
启明云端分享|通过MATTER协议控制照明DEMO
边栏推荐
- QT realize picture dragging
- [system. Currenttimemillis()] current timestamp: the number of milliseconds that have elapsed since the current system time was 0:00:00 on January 1, 1970
- Autofac浅学(2)
- New technology: efficient self-monitoring visual pre training, local occlusion no longer need to worry!
- Tu oses le croire? Il m'a fallu deux jours pour développer un système de gestion.
- Copy word content to excel and automatically divide it into multiple columns
- Perfect ending | detailed explanation of the implementation principle of go Distributed Link Tracking
- En langage C, la fonction principale appelle une autre fonction et assemble le Code pour comprendre
- Player practice 26 adding slider and window maximization
- selenium-webdriver之断言
猜你喜欢

PMP敏捷知识点

能链智电登陆纳斯达克:贝恩是股东 成中国充电服务第一股
![[Writeup]BUU SQL COURSE1[入门级]](/img/eb/1b2541b04ca231cb07f1f3706f51c7.png)
[Writeup]BUU SQL COURSE1[入门级]

Reverse order of Excel

基于TensorRT的深度学习模型部署实战教程!

Two methods of QT using threads

Conversion of player's actual 10 pixel format and size

Dataset and dataframe in sparksql

Leetcode 2176. Count equal and divisible pairs in an array

Leetcode 2185. Counts the string containing the given prefix
随机推荐
C secret arts script Chapter 2 (detailed explanation of pointer) (Section 1)
你敢信?开发一个管理系统我只用了两天
C secret arts script Chapter 5 (structure) (Section 2)
NetCore结合CAP事件总线实现分布式事务——消息(2)
QT multi thread drawing and real-time refreshing method
Producers (send syncask requests) and consumers (with xxxask monitoring and Implementation)
New technology: efficient self-monitoring visual pre training, local occlusion no longer need to worry!
数据的收集
C secret script Chapter 1: data storage (in-depth analysis)
Can you believe it? It took me only two days to develop a management system
华为设备配置H虚拟专用网
[wechat applet] 6.1 applet configuration file
Player actual combat 25 unpacking module add close
【Calendar】1. For globalization 2 But only date can be formatted by SDF 3 Month to -1 4 Week from Sunday is the first day
G++ error in compiling Win32 program: undefined reference to '__ imp_ GetStockObject‘
NetCore结合CAP事件总线实现分布式事务——入门(1)
模块八
用游戏来讲序列化与反序列化机制
Module yaml error: Unexpected key in data: static_context [line 9 col 3]
JS (III) convert ES6 syntax to Es5 syntax