Home & sleep
Cancel the next sunrise
DEL
/api/wakeBrightness 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.Cancels the next sunrise, or skips the next weekly alarm. Answers the home status (also status.home).
Responses
200OKapplication/json
wakeobject | nullnextWakestring | null <date-time>An ISO date and time.
sleepobject | nullplanobject | null403Locked, or not allowed.application/json
errorstringrequiredWhat went wrong, in a sentence for people.
Request
curl -X DELETE 'http://localhost:8080/api/wake'const res = await fetch("http://localhost:8080/api/wake", {
method: "DELETE",
});
const data = await res.json();
console.log(data);import requests
res = requests.delete(
"http://localhost:8080/api/wake",
)
print(res.json())Response
{
"wake": null,
"nextWake": "2026-11-05T06:30:00.000Z",
"sleep": null,
"plan": null
}{
"error": "Locked: add ?key=<your wake-up link key> (Home & sleep page) or unlock with the PIN"
}