thingsboard-skill
hoangnv170752 제작
Data & Analytics요약
Manage ThingsBoard devices, dashboards, telemetry.
설명
이 스킬이 하는 일
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.
사용 시점
- 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
예시 워크플로
User asks: Get the last hour of temperature data from my first device
- 1
Authenticate against TB_URL using TB_USERNAME and TB_PASSWORD to obtain a JWT token
- 2
Fetch the device list and extract the first device's UUID
- 3
Query telemetry keys for that device to confirm 'temperature' exists
- 4
Calculate START_TS and END_TS as millisecond epoch values spanning the last hour
- 5
Request timeseries data for 'temperature' within that range and return the parsed JSON
A JSON array of timestamped temperature readings from the past hour
요구 사항
- 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
설치
clawhub install hoangnv170752/thingsboard-skillCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.