niu-vehicle

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?'.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "niu-vehicle" with this command: npx skills add qdsang/niu-vehicle

NIU Scooter Status

Query your NIU electric scooter status - battery, charging, location, and mileage.

API Endpoint

curl -s "https://ai-mcp.niu.com/claw/scooter_info?key=$NIU_API_KEY"

Token Resolution

Ensure NIU_API_KEY is available. If empty, it will be read from config in order:

  1. Environment variable: $NIU_API_KEY
  2. Config file: ~/.openclaw/openclaw.json
  3. Config file: /data/.clawdbot/openclaw.json
export NIU_API_KEY=$(cat ~/.openclaw/openclaw.json 2>/dev/null | jq -r '.skills.entries["niu-vehicle"].apiKey // empty')

Response Fields

FieldTypeDescription
batteryLevelnumberBattery percentage (0-100)
estimatedRangestringEstimated remaining range (km)
isChargingbooleanWhether currently charging
chargingRemainingTimenumberRemaining charge time (minutes)
locationstringCurrent scooter location address
totalMileagenumberTotal distance ridden (km)
lastUpdatestringLast update timestamp

Example Response

{
  "status": 0,
  "data": {
    "batteryLevel": 62,
    "estimatedRange": "55",
    "isCharging": true,
    "chargingRemainingTime": 216,
    "location": "XX市 XX楼",
    "totalMileage": 172,
    "lastUpdate": "2026-03-12 17:37:53"
  }
}

Error Handling

ErrorDescription
HTTP 401/403Authentication failed. Check your API key in the OpenClaw dashboard or config file.
HTTP 404API endpoint not found. Check the API URL.
TimeoutRequest timed out. Try again later.

Get API Key

  1. Visit niu.com and log in
  2. Go to「My」→「API-Key Management」
  3. Create or copy your API key

Can Answer

  • 当前电量是多少?
  • 电动车还能跑多远?
  • 车在充电吗?还要充多久?
  • 车子现在在哪里?
  • 总共骑了多少公里?
  • 电池什么时候能充满?

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

说人话

去AI味写作技能:将AI生成的文案改写成真人风格,适用于小红书、抖音、微信公众号、微博。 触发词:去AI味、润色文案、生成正文、human写作。 适用场景:AI生成初稿后,执行去AI味处理,使文案读起来自然、有人味、不像机器写的。

Registry SourceRecently Updated
General

Interview Prep Coach

Prepare candidates for technical, system-design, behavioral, case-study, and leadership interviews through diagnostic intake, timeline-based prep plans, mock...

Registry SourceRecently Updated
General

Cold Call Script Generator

Generate personalized cold call openers, voicemail scripts, cold email opening lines, and full multi-touch outbound sequences for B2B sales reps, SDRs, and f...

Registry SourceRecently Updated
General

Postzee Skill

Generate AI images/videos and post to 30+ social media platforms with Postzee. Use when the user wants to create AI media, generate images or videos, optimiz...

Registry SourceRecently Updated