cli-anything-rms
Original:🇺🇸 English
Translated
Teltonika RMS device management and monitoring CLI
14installs
Sourcehkuds/cli-anything
Added on
NPX Install
npx skill4agent add hkuds/cli-anything cli-anything-rmsTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →cli-anything-rms
CLI harness for Teltonika RMS (Remote Management System). Manage routers, gateways, and IoT devices via the RMS REST API.
Installation
bash
pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=rms/agent-harnessAuthentication
Set environment variable or run .
RMS_API_TOKENcli-anything-rms config set api_token <token>Command Groups
devices
- — List devices
devices list [--status online|offline] [--tag TAG] [--limit N] [--offset N] [--sort FIELD] - — Get device details
devices get <device_id> - — Update device
devices update <device_id> [--name NAME] [--tag TAG] - — Delete device
devices delete <device_id>
companies
- — List companies
companies list [--limit N] [--offset N] - — Get company details
companies get <company_id> - — Create company
companies create --name NAME - — Update company
companies update <company_id> [--name NAME] - — Delete company
companies delete <company_id>
users
- — List users
users list [--limit N] [--offset N] - — Get user details
users get <user_id> - — Invite user
users invite --email EMAIL [--role ROLE] - — Update user
users update <user_id> [--role ROLE] - — Delete user
users delete <user_id>
tags
- — List tags
tags list [--limit N] [--offset N] - — Get tag details
tags get <tag_id> - — Create tag
tags create --name NAME - — Update tag
tags update <tag_id> [--name NAME] - — Delete tag
tags delete <tag_id>
alerts
- — List alerts
alerts list [--device DEVICE_ID] [--limit N] [--offset N] - — Get alert details
alerts get <alert_id> - — Delete alert
alerts delete <alert_id> - — List alert configurations
alerts configs list - — Get alert config
alerts configs get <config_id> - — Create alert config
alerts configs create --data JSON - — Update alert config
alerts configs update <config_id> --data JSON - — Delete alert config
alerts configs delete <config_id>
configs
- — List device configurations
configs list [--device DEVICE_ID] [--limit N] [--offset N] - — Get configuration
configs get <config_id> - — Update configuration
configs update <config_id> --data JSON
remote-access
- — List sessions
remote-access list [--device DEVICE_ID] [--limit N] - — Get session details
remote-access get <session_id> - — Create session
remote-access create --device DEVICE_ID [--protocol PROTO] [--port PORT] - — Delete session
remote-access delete <session_id>
logs
- — List logs
logs list [--device DEVICE_ID] [--limit N] [--offset N] - — Get log details
logs get <log_id> - — Delete log
logs delete <log_id>
location
- — Get current device location
location get <device_id> - — Location history
location history <device_id> [--limit N] [--offset N]
credits
- — List credits
credits list [--limit N] [--offset N] - — Transfer credits
credits transfer --code CODE - — List transfer codes
credits codes [--limit N]
files
- — List files
files list [--limit N] [--offset N] - — Get file details
files get <file_id> - — Upload file
files upload <file_path> - — Delete file
files delete <file_id>
reports
- — List reports
reports list [--limit N] [--offset N] - — Get report
reports get <report_id> - — Create report
reports create --template TEMPLATE_ID [--name NAME] - — Delete report
reports delete <report_id> - — List report templates
reports templates list
hotspots
- — List hotspots
hotspots list [--device DEVICE_ID] [--limit N] - — Get hotspot details
hotspots get <hotspot_id> - — Create hotspot
hotspots create --device DEVICE_ID --name NAME - — Update hotspot
hotspots update <hotspot_id> [--name NAME] - — Delete hotspot
hotspots delete <hotspot_id>
passwords
- — Get device password
passwords get <device_id> - — Update password
passwords update <device_id> --password PASSWORD - — Update password (reads from stdin, safer)
passwords update <device_id> --password-stdin
smtp
- — List SMTP configs
smtp list [--limit N] [--offset N] - — Get SMTP config
smtp get <config_id> - — Create SMTP config
smtp create --host HOST [--port PORT] [--username USER] [--password PASS] - — Update SMTP config
smtp update <config_id> [--host HOST] [--port PORT] - — Delete SMTP config
smtp delete <config_id>
auth
- — Test API connectivity
auth test - — Show current auth info
auth status
config
- — Set configuration (api_token, default_limit)
config set <key> <value> - — Show configuration
config get [key] - — Delete configuration
config delete <key> - — Show config file path
config path
Examples
bash
# List all online devices
cli-anything-rms devices list --status online
# Get device details as JSON
cli-anything-rms --json devices get 12345
# Check alerts for a specific device
cli-anything-rms alerts list --device 12345
# Interactive mode
cli-anything-rms