Documentation Index
Fetch the complete documentation index at: https://docs.nolongerevil.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Returns the device’s stored weekly temperature schedule.Endpoint
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
serial | string | Yes | Device serial number |
Response
Device Has a Schedule (200 OK)
No Schedule Yet (200 OK)
Response Fields
| Field | Type | Description |
|---|---|---|
serial | string | Device serial |
schedule | object | null | Schedule object, or null if no schedule stored |
schedule.ver | number | Schedule version (always 2) |
schedule.schedule_mode | string | "HEAT", "COOL", or "RANGE" |
schedule.days | object | Day-keyed setpoints (see below) |
object_revision | number | Bucket revision |
object_timestamp | number | Last update timestamp (ms) |
Schedule Day Keys
Day keys are strings"0" through "6", where Monday = "0" and Sunday = "6":
| Key | Day |
|---|---|
"0" | Monday |
"1" | Tuesday |
"2" | Wednesday |
"3" | Thursday |
"4" | Friday |
"5" | Saturday |
"6" | Sunday |
days object are considered to have no scheduled changes.
Setpoint Fields
| Field | Type | Description |
|---|---|---|
type | string | "HEAT", "COOL", or "RANGE" |
time | number | Seconds from midnight (0–86399). E.g., 21600 = 6:00 AM |
temp | number | Target temperature in °C (for HEAT/COOL modes) |
temp-min | number | Minimum temperature in °C (RANGE mode only) |
temp-max | number | Maximum temperature in °C (RANGE mode only) |
entry_type | string | "setpoint" (informational) |
All temperatures in the schedule are in Celsius, regardless of the thermostat’s display scale.
Error (400 Bad Request)
Example
Related
POST /command (set_schedule)
Push a new schedule to the device
Nest Protocol Schedules
Deep dive on schedule format and behavior