# Scenes

I create a string variable to set the wanted scene in an area, typically one for each room but sometimes for a whole floor.

In example I have a `scene-2etg` for a scene for the second floor, including kitchen and living room.

| Value    | Meaning                                                                                                        |
| -------- | -------------------------------------------------------------------------------------------------------------- |
| `normal` | Someone present, normal lighting                                                                               |
| `soft`   | Slightly dimmed                                                                                                |
| `dim`    | Dimmed lighting, typically in the morning or evening                                                           |
| `flood`  | Flood lighting. Typically when we clean the house                                                              |
| `night`  | Night lighting. Most lights turned off.                                                                        |
| `nightp` | Night lighting with presence detected. A few dimmed lights turned on to be able to navigate through the house. |

I decided that these scene variables are the only way to control the lighting of that room. I'm fine with a few preset scenes for simplicity.

In some rooms, I'm happy with 2-3 scens, in others I have a lot more.

![](/files/-Ltnf-yC3fjsXV7zi_BQ)

I need one flow for each scene. It is triggered when the scene variables changes. It has a condition of the scene variable to match a specific string value. And the then cards all set the different lighting conditions for that scene. Typically wither **turn off**, or **dim to**.

Collect all the scenes in a folder, and start with one and use duplicate to simplify the setup.

*I do not use scenes to set color temperature, I have a parallell setup for that independently from scenes.*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://homey.solweb.no/lighting/scenes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
