openapi: 3.0.3 info: title: Sensibo AC States Timers API description: The Sensibo API gives developers full control over Sensibo smart AC controllers and air quality monitors ("pods") - Sensibo Sky, Air, Air Pro, and Elements. Over REST you can list the devices on an account, read the latest temperature, humidity, and air quality measurements, pull up to seven days of historical measurements, get and set the air conditioner state (power, mode, target temperature, fan, swing), configure the Climate React smart-mode automation, and manage schedules and timers. Authentication is a per-account API key passed as the `apiKey` query parameter, generated at https://home.sensibo.com/me/api. OAuth2 is available for commercial integrations (contact support@sensibo.com). Schedules and timers are exposed by Sensibo as a legacy ("v1") surface but are served under the same home.sensibo.com host. This document is grounded in Sensibo's published OpenAPI (sensibo.openapi.yaml) and support documentation; request and response schemas are modeled representatively. version: 2.0.0 contact: name: Sensibo Support url: https://support.sensibo.com/api/ email: support@sensibo.com license: name: Proprietary url: https://sensibo.com/pages/terms-of-service servers: - url: https://home.sensibo.com/api/v2 description: Sensibo API v2 security: - apiKey: [] tags: - name: Timers description: One-shot countdown timers that apply an AC state. paths: /pods/{device_id}/timer: get: operationId: getTimer tags: - Timers summary: Get the current timer description: Returns the active countdown timer for the pod, if any. parameters: - $ref: '#/components/parameters/DeviceId' responses: '200': description: The active timer. content: application/json: schema: type: object properties: status: type: string example: success result: $ref: '#/components/schemas/Timer' '401': $ref: '#/components/responses/Unauthorized' '429': $ref: '#/components/responses/RateLimited' put: operationId: setTimer tags: - Timers summary: Set a timer description: Sets a one-shot countdown timer that applies a target AC state after a number of minutes. parameters: - $ref: '#/components/parameters/DeviceId' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/Timer' example: minutesFromNow: 30 acState: 'on': false responses: '200': description: The timer was set. content: application/json: schema: type: object properties: status: type: string example: success '401': $ref: '#/components/responses/Unauthorized' '429': $ref: '#/components/responses/RateLimited' delete: operationId: deleteTimer tags: - Timers summary: Delete a timer description: Clears the active countdown timer for the pod. parameters: - $ref: '#/components/parameters/DeviceId' responses: '200': description: The timer was cleared. content: application/json: schema: type: object properties: status: type: string example: success '401': $ref: '#/components/responses/Unauthorized' '429': $ref: '#/components/responses/RateLimited' components: responses: Unauthorized: description: Missing or invalid apiKey. content: application/json: schema: $ref: '#/components/schemas/Error' RateLimited: description: 'Too many requests. Requests are rate limited; a 429 indicates the limit was exceeded. Sending an `Accept-Encoding: gzip` header raises the effective limit.' content: application/json: schema: $ref: '#/components/schemas/Error' parameters: DeviceId: name: device_id in: path required: true description: The pod (device) identifier. schema: type: string schemas: AcState: type: object description: The state of the air conditioner. properties: 'on': type: boolean mode: type: string description: Operating mode. example: cool enum: - cool - heat - fan - dry - auto targetTemperature: type: number example: 22 temperatureUnit: type: string enum: - C - F example: C fanLevel: type: string example: auto swing: type: string example: stopped Timer: type: object description: A one-shot countdown timer. properties: id: type: string nullable: true minutesFromNow: type: integer example: 30 targetTimeLocal: type: string acState: $ref: '#/components/schemas/AcState' Error: type: object properties: status: type: string example: failure reason: type: string securitySchemes: apiKey: type: apiKey in: query name: apiKey description: Per-account API key generated at https://home.sensibo.com/me/api and passed as the apiKey query parameter on every request.