用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/18816132863/xiaoyi-claw-omega-final --skill lock-cateye命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | lock-cateye |
| description | 智能门锁猫眼设置技能。用于设置智慧猫眼相关功能,包括猫眼开关、逗留抓拍、实时视频、畸变矫正等。不支持查询操作。 |
本技能用于控制门锁的猫眼相关设置,包括猫眼开关、逗留抓拍、实时视频、畸变矫正等。不支持查询操作。
catEyeSetting当用户提到以下关键词时,应加载本技能:
| 功能 | 参数 | 参数说明 | 功能作用 |
|---|---|---|---|
| 智慧猫眼开关 | peepholeEnableSwitch | 0=关闭,1=打开 | 当发生安全事件或有人按门铃,门锁会进行录像或拍照 |
| 逗留抓拍开关 | staySnapshotSwitch | 0=关闭,1=打开 | 当检测到门外有人逗留会录像 |
| 实时视频 | liveVideoSwitch,liveVideoDuration,callValidPeriod | liveVideoSwitch:功能开关,2=关闭,1=打开 liveVideoDuration:实时视频开启时间,0-全天,1-自定义时间。不支持自定义修改。 callValidPeriod:呼叫有效期:0-1分钟,1-2分钟,2-3分钟,3-4分钟,4-5分钟。不支持自定义修改。 | 开启后,门锁首页可随时查看实时画面,但会相应减少门锁续航 |
| 畸变矫正 | distortionCorrectionSwitch | 0=关闭,1=打开 | 开启后画面更接近真实场景 |
| 按门铃亮内屏开关 | autoPowerScreen | 0=关闭,1=打开 | 开启后,按门铃门锁内屏自动显示门外情况 |
| 逗留多久开始录像 | stayDuration | 取值范围0、3、6、12、17、27、57,(0=立即录像,1=3s,3=6s...57=60s) | 当检测到门外有人逗留时,过多长时间开始录像 |
| 录像最大时长 | shootingDuration | 取值范围0-2,对应6-30秒(0=6s,1=15s,2=30s) | 逗留录像的最大时长 |
| 开门中断逗留抓拍 | openDoorStopShooting | 0-关闭,1-打开 | 开启后,在抓拍逗留视频期间开门,抓拍的视频将不保存;关闭后,可以提升逗留抓拍的有效性和灵敏度 |
| 抓拍灵敏度 | shootingDuration | 取值范围0、2,(0:灵敏度低,识别距离1m;2:灵敏度高,识别距离2m) | 逗留抓拍的灵敏度 |
| 抓拍录像分辨率 | resolution | 0=1080p,1=2k | 逗留抓拍录像的分辨率 |
| 参数 | 取值范围 | 说明 |
|---|---|---|
stayDuration | 0-27 | 逗留时长,对应3-30秒(0=3s,1=4s,2=5s...27=30s) |
node common-skill/bin/smarthome-claw.js control_device \
--dev-id "xxx" \
--prod-id "xxx" \
--operation "POST" \
--sid "catEyeSetting" \
--data '{"peepholeEnableSwitch": 1}' \
--verbose
node common-skill/bin/smarthome-claw.js control_device \
--dev-id "xxx" \
--prod-id "xxx" \
--operation "POST" \
--sid "catEyeSetting" \
--data '{"peepholeEnableSwitch": 0}' \
--verbose
node common-skill/bin/smarthome-claw.js control_device \
--dev-id "xxx" \
--prod-id "xxx" \
--operation "POST" \
--sid "catEyeSetting" \
--data '{"staySnapshotSwitch": 1}' \
--verbose
node common-skill/bin/smarthome-claw.js control_device \
--dev-id "xxx" \
--prod-id "xxx" \
--operation "POST" \
--sid "catEyeSetting" \
--data '{"staySnapshotSwitch": 0}' \
--verbose
node common-skill/bin/smarthome-claw.js control_device \
--dev-id "xxx" \
--prod-id "xxx" \
--operation "POST" \
--sid "catEyeSetting" \
--data '{"liveVideoSwitch": 1, "liveVideoDuration":0, "callValidPeriod": 0}' \
--verbose
node common-skill/bin/smarthome-claw.js control_device \
--dev-id "xxx" \
--prod-id "xxx" \
--operation "POST" \
--sid "catEyeSetting" \
--data '{"liveVideoSwitch": 2}' \
--verbose
node common-skill/bin/smarthome-claw.js control_device \
--dev-id "xxx" \
--prod-id "xxx" \
--operation "POST" \
--sid "catEyeSetting" \
--data '{"distortionCorrectionSwitch": 1}' \
--verbose
node common-skill/bin/smarthome-claw.js control_device \
--dev-id "xxx" \
--prod-id "xxx" \
--operation "POST" \
--sid "catEyeSetting" \
--data '{"distortionCorrectionSwitch": 0}' \
--verbose
node common-skill/bin/smarthome-claw.js control_device \
--dev-id "xxx" \
--prod-id "xxx" \
--operation "POST" \
--sid "catEyeSetting" \
--data '{"autoPowerScreen": 1}' \
--verbose
node common-skill/bin/smarthome-claw.js control_device \
--dev-id "xxx" \
--prod-id "xxx" \
--operation "POST" \
--sid "catEyeSetting" \
--data '{"autoPowerScreen": 0}' \
--verbose
node common-skill/bin/smarthome-claw.js control_device \
--dev-id "xxx" \
--prod-id "xxx" \
--operation "POST" \
--sid "catEyeSetting" \
--data '{"stayDuration": 6}' \
--verbose