Connect to NIU smart electric vehicles to retrieve real-time status - battery level, charging status, remaining charge time, location, and total mileage. Also answer questions like 'how much battery left?', 'is charging?', 'where is my scooter?', 'total km ridden?'.
查询您的 NIU 电动滑板车状态 - 电池、充电、位置和里程。
bash
curl -s https://ai-mcp.niu.com/claw/scooterinfo?key=$NIUAPI_KEY
确保 NIUAPIKEY 可用。如果为空,将按顺序从配置中读取:
bash
export NIUAPIKEY=$(cat ~/.openclaw/openclaw.json 2>/dev/null | jq -r .skills.entries[niu-vehicle].apiKey // empty)
| 字段 | 类型 | 描述 |
|---|---|---|
| batteryLevel | 数字 | 电池百分比(0-100) |
| estimatedRange |
json
{
status: 0,
data: {
batteryLevel: 62,
estimatedRange: 55,
isCharging: true,
chargingRemainingTime: 216,
location: XX市 XX楼,
totalMileage: 172,
lastUpdate: 2026-03-12 17:37:53
}
}
| 错误 | 描述 |
|---|---|
| HTTP 401/403 | 认证失败。请在 OpenClaw 仪表盘或配置文件中检查您的 API 密钥。 |
| HTTP 404 |
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 niu-vehicle-1776118931 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 niu-vehicle-1776118931 技能
skillhub install niu-vehicle-1776118931
文件大小: 1.92 KB | 发布时间: 2026-4-15 13:36