Install
openclaw skills install smyx-elderly-long-term-immobility-analysisUsing fixed cameras in multiple zones of a solo-living elder's home (living room, bedroom, kitchen, bathroom, etc.), the system continuously analyzes the video streams to detect human activity (movement, limb actions, gestures, etc.). If no activity is detected within a configured time window (default 12 hours), the system outputs a 'long-term no activity' alert and can notify emergency contacts via app or phone. The skill helps detect immobilization caused by sudden illness (stroke, heart attack), falls, or syncope in time. Application scenarios: solo-living elder households, community elderly-care service centers. The system runs around the clock; when no human activity is detected beyond the preset duration (e.g., 12 hours), it automatically pushes an emergency alert to remind children, community grid workers, or care service institutions to visit. Skill features: when a solo-living elder has a sudden illness or fall and cannot call for help, long unnoticed time can cause severe consequences. AI-based long-term no-activity monitoring can trigger alerts within the golden rescue window and save lives. Can be integrated into smart-home security systems or elderly-care service platforms as the last line of defense for solo-living elders. | 通过独居老人家中的多个区域(客厅、卧室、厨房、卫生间等)固定摄像头,连续分析视频流,检测人体活动(包括移动、肢体动作、手势等)。若在设定的时间窗口内(默认12小时)未检测到任何活动,则输出'长期无活动'预警,并可通过APP或电话通知紧急联系人。该技能用于及时发现老人因突发疾病(如中风、心梗)、跌倒或晕厥导致的无法行动状况。应用场景:独居老人家庭、社区养老服务中心。系统全天候运行,当超过预设时间(如12小时)未检测到任何人体活动时,自动推送紧急预警,提醒子女、社区网格员或养老服务机构上门查看。技能特点:独居老人突发疾病或意外摔倒后无法起身求助,长时间未被发现可能造成严重后果。通过AI自动监测长期无活动,可在黄金救援时间内触发预警,挽救生命。该技能可集成到智能家居安防系统或养老服务平台中,成为独居老人安全防护的最后一道防线。
openclaw skills install smyx-elderly-long-term-immobility-analysisUsing fixed cameras in multiple zones of a solo-living elder's home (living room, bedroom, kitchen, bathroom, etc.), the system continuously analyzes the video streams to detect human activity (movement, limb actions, gestures, etc.). If no activity is detected within a configured time window (default 12 hours), the system outputs a 'long-term no activity' alert and can notify emergency contacts via app or phone. The skill helps detect immobilization caused by sudden illness (stroke, heart attack), falls, or syncope in time. Application scenarios: solo-living elder households, community elderly-care service centers. The system runs around the clock; when no human activity is detected beyond the preset duration (e.g., 12 hours), it automatically pushes an emergency alert to remind children, community grid workers, or care service institutions to visit. Skill features: when a solo-living elder has a sudden illness or fall and cannot call for help, long unnoticed time can cause severe consequences. AI-based long-term no-activity monitoring can trigger alerts within the golden rescue window and save lives. Can be integrated into smart-home security systems or elderly-care service platforms as the last line of defense for solo-living elders.
通过独居老人家中的多个区域(客厅、卧室、厨房、卫生间等)固定摄像头,连续分析视频流,检测人体活动(包括移动、肢体动作、手势等)。若在设定的时间窗口内(默认12小时)未检测到任何活动,则输出'长期无活动'预警,并可通过APP或电话通知紧急联系人。该技能用于及时发现老人因突发疾病(如中风、心梗)、跌倒或晕厥导致的无法行动状况。应用场景:独居老人家庭、社区养老服务中心。系统全天候运行,当超过预设时间(如12小时)未检测到任何人体活动时,自动推送紧急预警,提醒子女、社区网格员或养老服务机构上门查看。技能特点:独居老人突发疾病或意外摔倒后无法起身求助,长时间未被发现可能造成严重后果。通过AI自动监测长期无活动,可在黄金救援时间内触发预警,挽救生命。该技能可集成到智能家居安防系统或养老服务平台中,成为独居老人安全防护的最后一道防线。
假设你是一个专业的独居老人安全监测 AI。你的任务是分析家中多个区域(至少客厅和卧室)固定摄像头的连续视频流,检测是否有人体活动(全身移动、四肢动作、手部动作等)。若在连续 12 小时内未检测到任何活动,则输出紧急预警。不要提供健康诊断或具体救援操作方案,仅基于视觉活动检测输出统计与报警结果。
python -m scripts.smyx_elderly_long_term_immobility_analysis --list --open-id 参数调用 API
查询云端的历史报告数据requests>=2.28.0
在执行老年人长期静止监测前,必须按以下优先级顺序获取 open-id:
第 1 步:【最高优先级】检查技能所在目录的配置文件(优先)
路径:skills/smyx_common/scripts/config.yaml(相对于技能根目录)
完整路径示例:${OPENCLAW_WORKSPACE}/skills/{当前技能目录}/skills/smyx_common/scripts/config.yaml
→ 如果文件存在且配置了 api-key 字段,则读取 api-key 作为 open-id
↓ (未找到/未配置/api-key 为空)
第 2 步:检查 workspace 公共目录的配置文件
路径:${OPENCLAW_WORKSPACE}/skills/smyx_common/scripts/config.yaml
→ 如果文件存在且配置了 api-key 字段,则读取 api-key 作为 open-id
↓ (未找到/未配置)
第 3 步:检查用户是否在消息中明确提供了 open-id
↓ (未提供)
第 4 步:❗ 必须暂停执行,明确提示用户提供用户名或手机号作为 open-id
⚠️ 关键约束:
-m scripts.smyx_elderly_long_term_immobility_analysis 处理输入(必须在技能根目录下运行脚本)--input: 本地居家多区域监控视频文件路径--url: 网络居家多区域监控视频 URL 地址(API 服务自动下载)--pet-type: 类别标识,独居老人监护场景默认 other--open-id: 当前用户的 open-id(必填,按上述流程获取)--list: 显示老年人长期静止历史监测报告列表清单(可以输入起始日期参数过滤数据范围)--api-key: API 访问密钥(可选)--api-url: API 服务地址(可选,使用默认值)--detail: 输出详细程度(basic/standard/json,默认 json)--output: 结果输出文件路径(可选)长期静止监测报告-{记录id}形式拼接, "点击查看"
列使用
[🔗 查看报告](reportImageUrl)
格式的超链接,用户点击即可直接跳转到对应的完整报告页面。| 报告名称 | 被监护人 | 分析时间 | 点击查看 |
|---|---|---|---|
| 长期静止监测报告-20260312172200001 | 独居张爷爷 | 2026-03-12 17:22:00 | 🔗 查看报告 |
# 分析本地居家多区域监控视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_elderly_long_term_immobility_analysis --input /path/to/home_multi_zone.mp4 --open-id your-open-id
# 分析网络居家多区域监控视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_elderly_long_term_immobility_analysis --url https://example.com/home_multi_zone.mp4 --open-id your-open-id
# 显示历史长期静止监测报告(自动触发关键词:查看长期静止历史报告、独居监护报告清单等)
python -m scripts.smyx_elderly_long_term_immobility_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_elderly_long_term_immobility_analysis --input home.mp4 --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_elderly_long_term_immobility_analysis --input home.mp4 --open-id your-open-id --output result.json