Install
openclaw skills install smyx-elderly-drinking-frequency-analysisUsing a fixed camera in the living room or kitchen, the system analyzes video of the water-cup placement area (e.g., coffee table, dining table), detects hand-to-cup contact actions (pickup, putdown), and counts daily cup-pickup events (an indirect proxy for water intake). When the daily pickup count falls below a preset threshold (e.g., fewer than 6 times per day), it outputs a 'dehydration risk' alert and suggests family members or caregivers to encourage the elderly to drink more. The skill helps prevent dehydration, urinary tract infection and cognitive decline caused by insufficient water intake. Application scenarios: homes of elderly people living alone, nursing homes, daycare centers. The system generates a daily drinking report; when the count is insufficient, it pushes a mobile-app reminder. Skill features: elderly people often have a dulled thirst sensation and are prone to chronic dehydration, leading to constipation, urinary tract infection, cognitive issues, etc. AI auto-counting of cup pickups helps family members spot insufficient intake in time and intervene. Can be integrated into home-care cameras or community health-management platforms as a practical feature for elderly health protection. | 通过客厅或厨房固定摄像头,分析水杯放置区域(如茶几、餐桌)的视频,检测手部与水杯的接触动作(拿起、放下),统计每日水杯拿起次数(间接反映饮水量)。当每日拿起次数低于预设阈值(如每天少于6次)时,输出'脱水风险'提醒,建议家属或护理人员督促老人增加饮水。该技能有助于预防因饮水不足导致的脱水、泌尿系感染及认知功能下降。应用场景:独居老人家庭、养老院、日间照料中心。系统每日生成饮水统计报告,当次数不足时通过手机APP推送提醒。技能特点:老年人对口渴感知迟钝,易发生慢性脱水,导致便秘、尿路感染、认知障碍等问题。通过AI自动统计饮水杯拿起次数,可帮助家属及时发现饮水不足,采取干预措施。该技能可集成到居家养老摄像头或社区健康管理平台中,成为老年人健康守护的实用功能。
openclaw skills install smyx-elderly-drinking-frequency-analysisUsing a fixed camera in the living room or kitchen, the system analyzes video of the water-cup placement area (e.g., coffee table, dining table), detects hand-to-cup contact actions (pickup, putdown), and counts daily cup-pickup events (an indirect proxy for water intake). When the daily pickup count falls below a preset threshold (e.g., fewer than 6 times per day), it outputs a 'dehydration risk' alert and suggests family members or caregivers to encourage the elderly to drink more. The skill helps prevent dehydration, urinary tract infection and cognitive decline caused by insufficient water intake. Application scenarios: homes of elderly people living alone, nursing homes, daycare centers. The system generates a daily drinking report; when the count is insufficient, it pushes a mobile-app reminder. Skill features: elderly people often have a dulled thirst sensation and are prone to chronic dehydration, leading to constipation, urinary tract infection, cognitive issues, etc. AI auto-counting of cup pickups helps family members spot insufficient intake in time and intervene. Can be integrated into home-care cameras or community health-management platforms as a practical feature for elderly health protection.
通过客厅或厨房固定摄像头,分析水杯放置区域(如茶几、餐桌)的视频,检测手部与水杯的接触动作(拿起、放下),统计每日水杯拿起次数(间接反映饮水量)。当每日拿起次数低于预设阈值(如每天少于6次)时,输出'脱水风险'提醒,建议家属或护理人员督促老人增加饮水。该技能有助于预防因饮水不足导致的脱水、泌尿系感染及认知功能下降。应用场景:独居老人家庭、养老院、日间照料中心。系统每日生成饮水统计报告,当次数不足时通过手机APP推送提醒。技能特点:老年人对口渴感知迟钝,易发生慢性脱水,导致便秘、尿路感染、认知障碍等问题。通过AI自动统计饮水杯拿起次数,可帮助家属及时发现饮水不足,采取干预措施。该技能可集成到居家养老摄像头或社区健康管理平台中,成为老年人健康守护的实用功能。
假设你是一个专业的老年人健康护理 AI。你的任务是分析固定摄像头对准水杯区域的视频,检测手部与水杯的接触动作(拿起和放下),统计每天的水杯拿起次数。当次数低于预设阈值时,输出脱水风险提醒。不要提供医疗诊断,仅输出基于视觉的饮水行为统计与方向性提醒。
python -m scripts.smyx_elderly_drinking_frequency_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_drinking_frequency_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 | 3 次 / warning(5h 未饮水,低于基线 7.5) | 2026-03-12 17:22:00 | 🔗 查看报告 |
# 分析本地客厅/厨房水杯区域视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_elderly_drinking_frequency_analysis --input /path/to/livingroom_day.mp4 --open-id your-open-id
# 分析网络客厅/厨房水杯区域视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_elderly_drinking_frequency_analysis --url https://example.com/livingroom_day.mp4 --open-id your-open-id
# 显示历史老人饮水频率(脱水风险)报告(自动触发关键词:查看老人饮水历史报告、脱水风险报告清单等)
python -m scripts.smyx_elderly_drinking_frequency_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_elderly_drinking_frequency_analysis --input day.mp4 --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_elderly_drinking_frequency_analysis --input day.mp4 --open-id your-open-id --output result.json