Cli Anything Rms

HKUDS/CLI-Anything/skills/cli-anything-rms

作者 HKUDS34f519533bc175d2fe287ab8316b0dd99bb9cc43無授權條款70K 個星標收錄於 2026年12月4日更新於 2026年12月4日儲存庫2 週前更新

Teltonika RMS device management and monitoring CLI

僅含說明DevOps 與雲端
AI 產生的概覽

用於透過 RMS REST API 管理 Teltonika RMS 路由器、閘道器與 IoT 裝置的命令列工具。

功能
提供存取 Teltonika RMS REST API 的命令列介面,依裝置、公司、使用者、標籤、警示、設定、遠端存取、日誌、位置、點數、檔案、報告、熱點、密碼、SMTP 與驗證等命令群組組織。每個命令群組支援列出、取得、建立、更新或刪除對應資源,並支援 JSON 輸出與互動模式。也可在本機儲存 API 權杖與預設筆數等設定。
適用情境
需要在終端機中檢視或管理 Teltonika RMS 裝置資源時使用,例如列出線上裝置、查看裝置警示、查詢位置歷史、建立遠端存取工作階段或產生報告。
執行需求
需要 Python 與 pip 安裝此工具套件,需要連線至 Teltonika RMS REST API 的網路存取,並透過 RMS_API_TOKEN 環境變數或 config 指令提供 RMS API 權杖。不附帶指令碼,僅為說明文件。

AI 概覽如何產生和驗證

cli-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 devices
  • devices get <device_id> — Get device details
  • devices update <device_id> [--name NAME] [--tag TAG] — Update device
  • devices delete <device_id> — Delete device

companies

  • companies list [--limit N] [--offset N] — List companies
  • companies get <company_id> — Get company details
  • companies create --name NAME — Create company
  • companies update <company_id> [--name NAME] — Update company
  • companies delete <company_id> — Delete company

users

  • users list [--limit N] [--offset N] — List users
  • users get <user_id> — Get user details
  • users invite --email EMAIL [--role ROLE] — Invite user
  • users update <user_id> [--role ROLE] — Update user
  • users delete <user_id> — Delete user

tags

  • tags list [--limit N] [--offset N] — List tags
  • tags get <tag_id> — Get tag details
  • tags create --name NAME — Create tag
  • tags update <tag_id> [--name NAME] — Update tag
  • tags delete <tag_id> — Delete tag

alerts

  • alerts list [--device DEVICE_ID] [--limit N] [--offset N] — List alerts
  • alerts get <alert_id> — Get alert details
  • alerts delete <alert_id> — Delete alert
  • alerts configs list — List alert configurations
  • alerts configs get <config_id> — Get alert config
  • alerts configs create --data JSON — Create alert config
  • alerts configs update <config_id> --data JSON — Update alert config
  • alerts configs delete <config_id> — Delete alert config

configs

  • configs list [--device DEVICE_ID] [--limit N] [--offset N] — List device configurations
  • configs get <config_id> — Get configuration
  • configs update <config_id> --data JSON — Update configuration

remote-access

  • remote-access list [--device DEVICE_ID] [--limit N] — List sessions
  • remote-access get <session_id> — Get session details
  • remote-access create --device DEVICE_ID [--protocol PROTO] [--port PORT] — Create session
  • remote-access delete <session_id> — Delete session

logs

  • logs list [--device DEVICE_ID] [--limit N] [--offset N] — List logs
  • logs get <log_id> — Get log details
  • logs delete <log_id> — Delete log

location

  • location get <device_id> — Get current device location
  • location history <device_id> [--limit N] [--offset N] — Location history

credits

  • credits list [--limit N] [--offset N] — List credits
  • credits transfer --code CODE — Transfer credits
  • credits codes [--limit N] — List transfer codes

files

  • files list [--limit N] [--offset N] — List files
  • files get <file_id> — Get file details
  • files upload <file_path> — Upload file
  • files delete <file_id> — Delete file

reports

  • reports list [--limit N] [--offset N] — List reports
  • reports get <report_id> — Get report
  • reports create --template TEMPLATE_ID [--name NAME] — Create report
  • reports delete <report_id> — Delete report
  • reports templates list — List report templates

hotspots

  • hotspots list [--device DEVICE_ID] [--limit N] — List hotspots
  • hotspots get <hotspot_id> — Get hotspot details
  • hotspots create --device DEVICE_ID --name NAME — Create hotspot
  • hotspots update <hotspot_id> [--name NAME] — Update hotspot
  • hotspots delete <hotspot_id> — Delete hotspot

passwords

  • passwords get <device_id> — Get device password
  • passwords update <device_id> --password PASSWORD — Update password
  • passwords update <device_id> --password-stdin — Update password (reads from stdin, safer)

smtp

  • smtp list [--limit N] [--offset N] — List SMTP configs
  • smtp get <config_id> — Get SMTP config
  • smtp create --host HOST [--port PORT] [--username USER] [--password PASS] — Create SMTP config
  • smtp update <config_id> [--host HOST] [--port PORT] — Update SMTP config
  • smtp delete <config_id> — Delete SMTP config

auth

  • auth test — Test API connectivity
  • auth status — Show current auth info

config

  • config set <key> <value> — Set configuration (api_token, default_limit)
  • config get [key] — Show configuration
  • config delete <key> — Delete configuration
  • config 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

來源與署名

來源:HKUDS/CLI-Anything位於skills/cli-anything-rms提交34f5195

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

在 README 中新增徽章

向讀者展示該技能已收錄於 SourceWeft,徽章連結到本頁。

「Listed on SourceWeft」徽章預覽
[![Listed on SourceWeft](https://sourceweft.com/badge/skills/gh-hkuds-cli-anything-cli-anything-rms-skills-cli-anything-rms-c2b86672a9a68813.svg)](https://sourceweft.com/skills/gh-hkuds-cli-anything-cli-anything-rms-skills-cli-anything-rms-c2b86672a9a68813?utm_source=readme&utm_medium=badge)

檢舉或申請下架