About cli-anything-rms
cli-anything-rms is a command-line interface for managing Teltonika RMS devices and account resources through its REST API. It is suited to operators handling routers, gateways, and IoT devices, with commands spanning device administration, monitoring, and configuration.
Key features
- 01Manage devices, companies, and users
- 02Create and manage alerts and configurations
- 03Control remote-access sessions
- 04Review logs and device locations
- 05Manage files, reports, hotspots, and credits
Use cases
- 01List devices by online status or tag
- 02Check alerts and logs for a device
- 03Create remote-access sessions
- 04Update device settings or passwords
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ hkuds/ cli-anything --skill cli-anything-rmsAfter installing, type/cli-anything-rmsin Claude Code to confirm it loaded.
Details
From the project READMEcli-anything-rms
CLI harness for Teltonika RMS (Remote Management System). Manage routers, gateways, and IoT devices via the RMS REST API.
Installation
pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=rms/agent-harness
Authentication
Set RMS_API_TOKEN environment variable or run cli-anything-rms config set api_token <token>.
Command Groups
devices
devices list [--status online|offline] [--tag TAG] [--limit N] [--offset N] [--sort FIELD]— List devicesdevices get <device_id>— Get device detailsdevices update <device_id> [--name NAME] [--tag TAG]— Update devicedevices delete <device_id>— Delete device
companies
companies list [--limit N] [--offset N]— List companiescompanies get <company_id>— Get company detailscompanies create --name NAME— Create companycompanies update <company_id> [--name NAME]— Update companycompanies delete <company_id>— Delete company
users
users list [--limit N] [--offset N]— List usersusers get <user_id>— Get user detailsusers invite --email EMAIL [--role ROLE]— Invite userusers update <user_id> [--role ROLE]— Update userusers delete <user_id>— Delete user
tags
tags list [--limit N] [--offset N]— List tagstags get <tag_id>— Get tag detailstags create --name NAME— Create tagtags update <tag_id> [--name NAME]— Update tagtags delete <tag_id>— Delete tag
alerts
alerts list [--device DEVICE_ID] [--limit N] [--offset N]— List alertsalerts get <alert_id>— Get alert detailsalerts delete <alert_id>— Delete alertalerts configs list— List alert configurationsalerts configs get <config_id>— Get alert configalerts configs create --data JSON— Create alert configalerts configs update <config_id> --data JSON— Update alert configalerts configs delete <config_id>— Delete alert config
configs
configs list [--device DEVICE_ID] [--limit N] [--offset N]— List device configurationsconfigs get <config_id>— Get configurationconfigs update <config_id> --data JSON— Update configuration
remote-access
remote-access list [--device DEVICE_ID] [--limit N]— List sessionsremote-access get <session_id>— Get session detailsremote-access create --device DEVICE_ID [--protocol PROTO] [--port PORT]— Create sessionremote-access delete <session_id>— Delete session
logs
logs list [--device DEVICE_ID] [--limit N] [--offset N]— List logslogs get <log_id>— Get log detailslogs delete <log_id>— Delete log
location
location get <device_id>— Get current device locationlocation history <device_id> [--limit N] [--offset N]— Location history
credits
credits list [--limit N] [--offset N]— List creditscredits transfer --code CODE— Transfer creditscredits codes [--limit N]— List transfer codes
files
files list [--limit N] [--offset N]— List filesfiles get <file_id>— Get file detailsfiles upload <file_path>— Upload filefiles delete <file_id>— Delete file
reports
reports list [--limit N] [--offset N]— List reportsreports get <report_id>— Get reportreports create --template TEMPLATE_ID [--name NAME]— Create reportreports delete <report_id>— Delete reportreports templates list— List report templates
hotspots
hotspots list [--device DEVICE_ID] [--limit N]— List hotspotshotspots get <hotspot_id>— Get hotspot detailshotspots create --device DEVICE_ID --name NAME— Create hotspothotspots update <hotspot_id> [--name NAME]— Update hotspothotspots delete <hotspot_id>— Delete hotspot
passwords
passwords get <device_id>— Get device passwordpasswords update <device_id> --password PASSWORD— Update passwordpasswords update <device_id> --password-stdin— Update password (reads from stdin, safer)
smtp
smtp list [--limit N] [--offset N]— List SMTP configssmtp get <config_id>— Get SMTP configsmtp create --host HOST [--port PORT] [--username USER] [--password PASS]— Create SMTP configsmtp update <config_id> [--host HOST] [--port PORT]— Update SMTP configsmtp delete <config_id>— Delete SMTP config
auth
auth test— Test API connectivityauth status— Show current auth info
config
config set <key> <value>— Set configuration (api_token, default_limit)config get [key]— Show configurationconfig delete <key>— Delete configurationconfig path— Show config file path
Examples
# 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
Comments
Markdown supported