Install
openclaw skills install niu-vehicleConnect to NIU smart electric vehicles to retrieve real-time status - battery level, charging status, remaining charge time, location, and total mileage. Als...
openclaw skills install niu-vehicleQuery your NIU electric scooter status - battery, charging, location, and mileage.
curl -s "https://ai-mcp.niu.com/claw/scooter_info?key=$NIU_API_KEY"
Ensure NIU_API_KEY is available. If empty, it will be read from config in order:
$NIU_API_KEY~/.openclaw/openclaw.json/data/.clawdbot/openclaw.jsonexport NIU_API_KEY=$(cat ~/.openclaw/openclaw.json 2>/dev/null | jq -r '.skills.entries["niu-vehicle"].apiKey // empty')
| Field | Type | Description |
|---|---|---|
batteryLevel | number | Battery percentage (0-100) |
estimatedRange | string | Estimated remaining range (km) |
isCharging | boolean | Whether currently charging |
chargingRemainingTime | number | Remaining charge time (minutes) |
location | string | Current scooter location address |
totalMileage | number | Total distance ridden (km) |
lastUpdate | string | Last update timestamp |
{
"status": 0,
"data": {
"batteryLevel": 62,
"estimatedRange": "55",
"isCharging": true,
"chargingRemainingTime": 216,
"location": "XX市 XX楼",
"totalMileage": 172,
"lastUpdate": "2026-03-12 17:37:53"
}
}
| Error | Description |
|---|---|
| HTTP 401/403 | Authentication failed. Check your API key in the OpenClaw dashboard or config file. |
| HTTP 404 | API endpoint not found. Check the API URL. |
| Timeout | Request timed out. Try again later. |