Scenes & schedules
List schedules
GET
/api/schedulesOpen. Open to everyone who can reach Tempolight.
Your schedules, each with next: the next time it runs.
Responses
200OKapplication/json
object[]
idstringrequiredt…
nextstring | null <date-time>The next time it runs (ISO).
namestringUp to 60 characters
timestringHH:MM, or sunrise/sunset with an optional offset in minutes (needs a location in Settings).
daysinteger[]Weekdays, 0 = Sunday.
actionobjectenabledbooleanDefault
trueRequest
curl 'http://localhost:8080/api/schedules'const res = await fetch("http://localhost:8080/api/schedules");
const data = await res.json();
console.log(data);import requests
res = requests.get(
"http://localhost:8080/api/schedules",
)
print(res.json())Response
[
{
"id": "t8f2k1",
"name": "Evening",
"time": "sunset+30",
"days": [
1,
2,
3,
4,
5
],
"action": {
"type": "scene",
"scene": "chill"
},
"enabled": true,
"next": "2026-11-04T17:12:00.000Z"
}
]