Install
openclaw skills install smyx-child-outdoor-activity-monitor-analysisUsing a fixed camera at the balcony door or home entrance, the system detects how many times the child enters/exits the home or balcony. With person-tracking and region-entry/exit logic, it records the timestamps of each 'leaving indoor (outdoor)' and 'returning indoor' event, and accumulates the daily total outdoor-activity duration. When the daily total falls below a preset recommendation (default: at least 1 hour of outdoor activity per day for school-age children), it outputs an 'insufficient outdoor activity' alert, suggesting parents take the child out more. Application scenarios: family parenting, child health management, schools / kindergartens. The system automatically generates daily outdoor-activity reports; if multiple consecutive days fall short, it pushes app reminders to parents. Skill features: outdoor activity is crucial for child vision protection (myopia prevention), bone development, and mental health. AI automatic monitoring helps parents objectively understand the child's outdoor situation and adjust parenting strategies. Can be integrated into smart cameras or family education apps as a practical feature for child health management. | 通过家庭阳台门或入户门口的固定摄像头,检测儿童进出家门或阳台的次数,利用人体跟踪和区域进出判定技术,记录每次离开室内(外出)和返回室内(归来)的时间点,累计每日户外活动总时长。当当日总时长低于预设推荐值(默认建议学龄儿童每天至少1小时户外活动)时,输出'户外活动不足'提醒,建议家长带孩子增加户外时间。应用场景:家庭育儿、儿童健康管理、学校/幼儿园。系统自动生成每日户外活动报告,若连续多日不足,通过APP推送提醒家长。技能特点:户外活动对儿童视力保护(预防近视)、骨骼发育、心理健康至关重要。通过AI自动监测,可帮助家长客观了解孩子户外活动情况,及时调整育儿方式。该技能可集成到智能摄像头或家庭教育APP中,成为儿童健康管理的实用功能。
openclaw skills install smyx-child-outdoor-activity-monitor-analysisUsing a fixed camera at the balcony door or home entrance, the system detects how many times the child enters/exits the home or balcony. With person-tracking and region-entry/exit logic, it records the timestamps of each 'leaving indoor (outdoor)' and 'returning indoor' event, and accumulates the daily total outdoor-activity duration. When the daily total falls below a preset recommendation (default: at least 1 hour of outdoor activity per day for school-age children), it outputs an 'insufficient outdoor activity' alert, suggesting parents take the child out more. Application scenarios: family parenting, child health management, schools / kindergartens. The system automatically generates daily outdoor-activity reports; if multiple consecutive days fall short, it pushes app reminders to parents. Skill features: outdoor activity is crucial for child vision protection (myopia prevention), bone development, and mental health. AI automatic monitoring helps parents objectively understand the child's outdoor situation and adjust parenting strategies. Can be integrated into smart cameras or family education apps as a practical feature for child health management.
通过家庭阳台门或入户门口的固定摄像头,检测儿童进出家门或阳台的次数,利用人体跟踪和区域进出判定技术,记录每次离开室内(外出)和返回室内(归来)的时间点,累计每日户外活动总时长。当当日总时长低于预设推荐值(默认建议学龄儿童每天至少1小时户外活动)时,输出'户外活动不足'提醒,建议家长带孩子增加户外时间。应用场景:家庭育儿、儿童健康管理、学校/幼儿园。系统自动生成每日户外活动报告,若连续多日不足,通过APP推送提醒家长。技能特点:户外活动对儿童视力保护(预防近视)、骨骼发育、心理健康至关重要。通过AI自动监测,可帮助家长客观了解孩子户外活动情况,及时调整育儿方式。该技能可集成到智能摄像头或家庭教育APP中,成为儿童健康管理的实用功能。
假设你是一个专业的儿童健康成长 AI。你的任务是分析阳台门或入户门口固定摄像头的视频,检测儿童进出区域的行为,记录外出和归来时间,累计每日户外活动总时长。当总时长低于推荐值时输出提醒。不要提供医疗建议或医学诊断,仅输出基于视觉的活动统计与友好提醒。
python -m scripts.smyx_child_outdoor_activity_monitor_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
⚠️ 关键约束:
indoor_region(室内区域)+ outdoor_region(户外区域)-m scripts.smyx_child_outdoor_activity_monitor_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 | 25 min / 42%(建议增加户外) | 2026-03-12 17:22:00 | 🔗 查看报告 |
# 分析本地阳台门/入户门口视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_child_outdoor_activity_monitor_analysis --input /path/to/door.mp4 --open-id your-open-id
# 分析网络阳台门/入户门口视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_child_outdoor_activity_monitor_analysis --url https://example.com/door.mp4 --open-id your-open-id
# 显示历史儿童户外活动时长监测报告(自动触发关键词:查看儿童户外活动历史报告、户外时长报告清单等)
python -m scripts.smyx_child_outdoor_activity_monitor_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_child_outdoor_activity_monitor_analysis --input door.mp4 --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_child_outdoor_activity_monitor_analysis --input door.mp4 --open-id your-open-id --output result.json