Docs

Devices

Start thermal relief

Starts temporary max heating or cooling on one or more zones (heat ≈ 45°C, cool ≈ 10°C) for a limited duration, then automatically restores the previous zone state.

POST
/v1/devices/{serial}/thermal-relief

Use for "warm the bed up now" / "cool me down" requests; use set_zone for a specific target temperature.

Request parameters

Headers
Authorization string required

Your API key as a bearer token: Bearer os_…. Make one on the API keys page; see Authentication.

Path parameters
  • serial string required

    Device serial number (from list_devices, e.g. "AA:BB:CC:DD:EE:FF")

Body application/json
  • type enum<string> required

    Relief type: heat (max warm) or cool (max cold)

    Possible values: heat cool

  • zones string[] required min items 1

    Zone ids to apply relief to (from list_devices), e.g. ["zone_a"]

  • duration_minutes integer default 30 min 1max 120

    Duration in minutes, 1–120. Defaults to 30.

Response parameters

200 OK application/json
  • success boolean required
  • zones object[] required

    Every zone of the bed after the change

Errors

Every error answers { "error": { "code", "message" } }.

StatusCodeMeaning
400invalidInvalid input.
401unauthorizedMissing or unsupported API key.
403forbiddenNot allowed on this device or user.
429rate_limitedRate limit exceeded.
503unavailableNot available for this account.
Also an MCP tool: start_thermal_relief