LaunchKit · 2026
Back to Skills

thingsboard-skill

Manage ThingsBoard devices, dashboards, telemetry.

6
1.6k downloads
by @hoangnv170752

Setup & Installation

openclaw skills install @hoangnv170752/thingsboard-skill

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install thingsboard-skill

What This Skill Does

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.

When to use it

  • 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

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

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

AGENT
  1. 1Authenticate against TB_URL using TB_USERNAME and TB_PASSWORD to obtain a JWT token
  2. 2Fetch the device list and extract the first device's UUID
  3. 3Query telemetry keys for that device to confirm 'temperature' exists
  4. 4Calculate START_TS and END_TS as millisecond epoch values spanning the last hour
  5. 5Request timeseries data for 'temperature' within that range and return the parsed JSON
OUTPUT

A JSON array of timestamped temperature readings from the past hour

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

ThingsBoard server instance (self-hosted or cloud) with REST API accessTB_URL environment variable set to the server addressTB_USERNAME environment variable set to a valid account emailTB_PASSWORD environment variable set to the account password