Control any DroneMobile-connected vehicle via natural language.
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
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 |
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.
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共 1 个版本