Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

thingsboard-skill

bởi hoangnv170752

Data & Analytics
1.6kLượt tải do clawskills.sh công bố
6Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Manage ThingsBoard devices, dashboards, telemetry.

Mô tả

Kỹ năng này làm gì

Manages ThingsBoard IoT platform resources through its REST API. Covers devices, telemetry data, dashboards, assets, and user accounts. Authentication is handled via JWT tokens with automatic refresh support.

Provides direct CLI access to ThingsBoard's full REST API without requiring the web UI, enabling automation and scripting of IoT data workflows.

Khi nào nên dùng

  • Query latest sensor readings from IoT devices
  • List and inspect all registered tenant devices
  • Pull historical telemetry data for a specific time range
  • Make a dashboard publicly accessible without credentials
  • Audit tenant users and customer accounts

Quy trình ví dụ

ĐẦU VÀO

User asks: Get the last hour of temperature data from my first device

AGENT
  1. 1

    Authenticate against TB_URL using TB_USERNAME and TB_PASSWORD to obtain a JWT token

  2. 2

    Fetch the device list and extract the first device's UUID

  3. 3

    Query telemetry keys for that device to confirm 'temperature' exists

  4. 4

    Calculate START_TS and END_TS as millisecond epoch values spanning the last hour

  5. 5

    Request timeseries data for 'temperature' within that range and return the parsed JSON

ĐẦU RA

A JSON array of timestamped temperature readings from the past hour

Yêu cầu

  • ThingsBoard server instance (self-hosted or cloud) with REST API access
  • TB_URL environment variable set to the server address
  • TB_USERNAME environment variable set to a valid account email
  • TB_PASSWORD environment variable set to the account password

Cài đặt

clawhub install hoangnv170752/thingsboard-skill

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết