Home & sleep

Get home settings

GET/api/home
Open. Open to everyone who can reach Tempolight.

The wake-up, sleep timer and ambient plan settings and the home status. wake.key is only there when unlocked.

Responses

200OKapplication/json
wakeobject
sleepobject
planobject
statusobject
Request
curl 'http://localhost:8080/api/home'
Response
{
  "wake": {
    "enabled": true,
    "source": "times",
    "days": [
      "string"
    ],
    "duration": 0,
    "target": "string",
    "endColor": "#ff0066",
    "endBrightness": 0,
    "holdMin": 0,
    "snoozeMin": 0,
    "key": "string"
  },
  "sleep": {
    "minutes": 0
  },
  "plan": {
    "enabled": true,
    "fade": 0,
    "rows": [
      {
        "name": "string",
        "from": "string",
        "to": "string",
        "look": "string",
        "palette": "string",
        "kelvin": 0,
        "brightness": 0
      }
    ]
  },
  "status": {
    "wake": null,
    "nextWake": "2026-11-05T06:30:00.000Z",
    "sleep": {
      "start": "2026-11-04T22:00:00.000Z",
      "end": "2026-11-04T22:30:00.000Z",
      "progress": 0.2,
      "left": 1440
    },
    "plan": null
  }
}
Edit on GitHub