Home & sleep

Snooze the sunrise

POST/api/wake/snooze
Brightness or link key. Like the brightness guest area, or with the wake-up link key (x-tempolight-key header, ?key= or key in the body), which opens the wake and sleep calls only.

Snoozes a running sunrise. Answers the home status (also status.home).

Request body application/json optional

minutesinteger

Snooze for this long (default: the wake-up's snooze setting).

keystring

The wake-up link key, instead of the header or ?key=.

Responses

200OKapplication/json
wakeobject | null
nextWakestring | null <date-time>

An ISO date and time.

sleepobject | null
planobject | null
403Locked, or not allowed.application/json
errorstringrequired

What went wrong, in a sentence for people.

Request
curl -X POST 'http://localhost:8080/api/wake/snooze' \
  -H 'content-type: application/json' \
  -d '{
  "minutes": 9
}'
Response
{
  "wake": null,
  "nextWake": "2026-11-05T06:30:00.000Z",
  "sleep": null,
  "plan": null
}
Edit on GitHub