reachthingsDocs
EN
Dashboard
Get startedCore concepts
Get started

Core concepts

The objects you will meet in the dashboard and in tool responses, and how they relate.

On this page

Device accounts (connections)

A connection is one manufacturer account linked by the user: provider (smartthings, homeconnect, mercedes, …), region and an encrypted credential. Its auth_status is linked, reauth_required (the manufacturer revoked or expired the token; the user reconnects in one click) or disconnected. Devices are discovered from the connection and re-synced on demand; devices that disappear from the manufacturer are marked missing, not deleted.

Devices & capabilities

A device has an opaque device_id, a kind (air_conditioner, smart_plug, lock, vehicle, …), an optional alias the user chose, a control_path and a list of capabilities. Each capability is either read (an attribute such as current_temperature), set (a target that can be observed afterwards, e.g. climate.set_temperature) or execute (a one-off action such as horn.flash). Control capabilities carry a JSON Schema for their parameters, a completion_rule and the verification rule the worker uses. Connectors register only what the device actually reports, so a plug without metering has no power_w.

control_pathMeaning
manufacturer_cloudCommands go through the manufacturer's cloud API
plug_cloudThe device is a smart plug; the appliance behind it is not controlled. See Smart plugs vs appliances
local_helperA Local Agent on the user's network talks to the device (Matter)
manufacturer_cloud
MeaningCommands go through the manufacturer's cloud API
plug_cloud
MeaningThe device is a smart plug; the appliance behind it is not controlled. See Smart plugs vs appliances
local_helper
MeaningA Local Agent on the user's network talks to the device (Matter)

Agents & grants

An agent is an OAuth client (Claude, Claude Code, ChatGPT or your own). The first time it signs in for a user, Reachthings creates an empty grant: scopes (read, write), the devices it may see, the actions it may run per device, actions that need approval every time, and actions that may only be approved on the console page. Grants have a version; a command is re-validated against the current version right before it is sent. Revoking a grant rejects its pending commands with permission_revoked and returns 403 to that agent only.

Commands (runs)

Every execute_device_action call becomes a command with a status, a reason code when it ends badly, verification evidence and an audit of who sent it (azp, tool, request id). The dashboard calls them runs. The full state machine is in Command lifecycle; the response shape is the Command object. The request_key makes creation idempotent: the same key returns the same command.

Approvals

An approval binds one command to the exact device, action and parameters stored on the server (an args_hash). Only the signed-in owner can decide it, either on the dashboard approval page or inside the chat when the client supports MCP elicitation and is a verified client. Approvals expire; an expired approval ends the command as expired with approval_expired.

Schedules

A schedule stores a device action to run once, daily or weekly in the user's IANA timezone. A worker creates a normal command for each run, so permissions, approvals and verification are the same as for an immediate action. Each run is recorded separately (executed, skipped, blocked, failed) and linked to its command. Schedules for actions that need approval start as pending_approval and run only after the owner pre-approves that version in the dashboard. See the schedule tools.

Spaces & plans

A space (home, office, commercial, lab) groups devices in the dashboard. An account has a plan with limits on connections, devices, agents and commands per month; reads are never limited. See Quotas & limits.