安装命令
aios
aios plugin install matter-bridge权限
插件只能做 manifest 里声明的事情, 系统会拒绝未声明的访问。
connect:matter:readconnect:matter:writefacts:devices:write
能力
插件 对外提供的能力接口
- bridge
Matter / Thread / Wi-Fi / Zigbee 设备统一接入
- sync
与 FactBase 保持设备状态同步
可调用动作
可在规则或脚本里 显式触发的动作
- device.enroll
登记新发现的设备
- device.command
下发跨协议设备指令
Manifest 预览
一份完整清单 就够了
PLUGIN_MANIFEST.yaml
plugin:
id: matter-bridge
name: Matter Bridge
vendor: Partner
stage: beta
topic: infra
permissions:
- connect:matter:read
- connect:matter:write
- facts:devices:write
capabilities:
- kind: bridge
desc: Bridges Matter, Thread, Wi-Fi, Zigbee devices
- kind: sync
desc: Keeps device state in sync with FactBase
actions:
- id: device.enroll
desc: Enroll a newly discovered device
- id: device.command
desc: Send a cross-protocol device command
install: aios plugin install matter-bridge