Scenes & Automations
Scenes
Scenes are saved presets that control multiple devices at once.
Built-in Scenes
| Scene | Actions |
|---|---|
| Good Morning | Lights on warm, blinds open, coffee machine on |
| Movie Night | Lights dim, TV backlight on, blinds close |
| Good Night | All lights off, doors locked, alarm armed |
| Away | Lights off, thermostat eco, cameras active |
Creating Scenes
In the dashboard: Home > Scenes > New Scene
Or via chat: “Create a scene called ‘Reading’ that dims the living room to 40% and turns on the desk lamp”
API
# List scenes
curl http://localhost:9100/api/home/scenes
# Activate a scene
curl -X POST http://localhost:9100/api/home/scenes/movie-night/activateAutomations
Automations run actions based on triggers.
Trigger Types
| Trigger | Example |
|---|---|
| Time | ”Every day at 7am” |
| Sensor | ”When motion detected in hallway” |
| Presence | ”When everyone leaves home” |
| Solar | ”When solar production exceeds 3kW” |
| Device state | ”When front door opens” |
Creating Automations
Via chat: “When I leave home, turn off all lights and arm the alarm”
Or in the dashboard: Home > Automations > New
Example
{
"name": "Night lights",
"trigger": { "type": "time", "at": "22:00" },
"conditions": [
{ "type": "presence", "state": "home" }
],
"actions": [
{ "entity": "light.living_room", "action": "dim", "brightness": 20 },
{ "entity": "light.hallway", "action": "off" }
]
}