安装命令
aios
aios plugin install dawn-light权限
插件只能做 manifest 里声明的事情, 系统会拒绝未声明的访问。
sense:presence:readsense:light:readactuate:light:writememory:habit:read
能力
插件 对外提供的能力接口
- scene
夜间路径场景, 识别到起夜后沿路径渐亮
- wake
日光渐亮, 按本地经纬度与天气推导色温
可调用动作
可在规则或脚本里 显式触发的动作
- pathway.engage
启动夜间路径照明
- wake.schedule
调度日光唤醒
Manifest 预览
一份完整清单 就够了
PLUGIN_MANIFEST.yaml
plugin:
id: dawn-light
name: Dawn Light
vendor: By SidebyStar
stage: beta
topic: home
permissions:
- sense:presence:read
- sense:light:read
- actuate:light:write
- memory:habit:read
capabilities:
- kind: scene
desc: Nighttime pathway scene, gradual wake along the walk
- kind: wake
desc: Daylight ramp, color temperature derived from local coords and weather
actions:
- id: pathway.engage
desc: Engage nighttime pathway lighting
- id: wake.schedule
desc: Schedule the daylight wake
install: aios plugin install dawn-light