介绍
# Dexcom CGM
通过 Dexcom G6/G7 连续血糖监测仪进行实时血糖监测。
## 设置
设置环境变量: ```bash export DEXCOM_USER="[email protected]" export DEXCOM_PASSWORD="your-password" export DEXCOM_REGION="ous" # or "us" (optional, defaults to "ous") ```
或在 `~/.clawdbot/clawdbot.json` 中配置: ```json5 { skills: { "dexcom": { env: { DEXCOM_USER: "[email protected]", DEXCOM_PASSWORD: "your-password", DEXCOM_REGION: "ous" } } } } ```
## 使用
**格式化报告:** ```bash uv run {baseDir}/scripts/glucose.py now ```
**原始 JSON:** ```bash uv run {baseDir}/scripts/glucose.py json ```
## 示例输出
``` 🩸 Glucose: 100 mg/dL (5.6 mmol/L) 📈 Trend: steady ➡️ 🎯 Status: 🟢 In range ⏰ 2026-01-18 09:30:00 ```
## 要求
- 已启用 Share 功能的 Dexcom G6 或 G7 - uv (Python 包管理器) - 有效的 Dexcom Share 凭据