360 Secure SkillHub
360 安全技能中心

DroneMobile

该 Skill 用自然语言指令调用本地 Python 脚本,经由 DroneMobile 服务远程控制车辆:启动或停止引擎、锁车与解锁、开启后备箱,并输出含温度、电池电压和引擎状态的一行结果。需配置账号凭据环境变量,多车账号可选填设备标识。

bryantegomoh
bryantegomoh
热度 83.73
最近更新 2026-05-18 12:20:52
分类:自动化依赖:代码执行 / 读写文件 / 第三方 API应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add dronemobile
Metadata
name
dronemobile
description
Control vehicles via DroneMobile (Firstech/Compustar remote start systems). Use when the user asks to start their car, stop the engine, lock/unlock doors, open the trunk, check battery voltage, or get vehicle status. Triggers on phrases like "start my car", "remote start", "lock my car", "unlock the car", "check battery", "open trunk", "stop the engine", "vehicle status". Requires DRONEMOBILE_EMAIL and DRONEMOBILE_PASSWORD environment variables. Optionally DRONEMOBILE_DEVICE_KEY for multi-vehicle accounts.

DroneMobile Vehicle Control

Control any DroneMobile-connected vehicle via natural language.

Setup

Set credentials in OpenClaw env (openclaw.json → env):

"DRONEMOBILE_EMAIL": "your@email.com",
"DRONEMOBILE_PASSWORD": "yourpassword",
"DRONEMOBILE_DEVICE_KEY": "40632023374"

DRONEMOBILE_DEVICE_KEY is optional if you have one vehicle — the script auto-selects the first vehicle on the account.

Install the library if not present:

pip install drone-mobile --break-system-packages

Commands

Run scripts/dronemobile.py with the appropriate command:

User asks Command
Start / remote start python3 scripts/dronemobile.py start
Stop engine python3 scripts/dronemobile.py stop
Lock doors python3 scripts/dronemobile.py lock
Unlock doors python3 scripts/dronemobile.py unlock
Open trunk python3 scripts/dronemobile.py trunk
Check battery / status python3 scripts/dronemobile.py status

Output

The script prints a one-line status with key telemetry:

✅ start | Temp: 6°C | Battery: 12.5V | Engine: off

On failure it prints the error and exits with code 1.

Notes

  • Commands are fire-and-forget — the car executes asynchronously. Engine-on status may still show False immediately after start (takes ~30s).
  • Battery below 11.8V = low; below 11.0V = critical.
  • drone-mobile PyPI package has a known bug where response.success is always False. The script reads raw_data['command_success'] directly. PR submitted: https://github.com/bjhiltbrand/drone_mobile_python/pull/18