> For the complete documentation index, see [llms.txt](https://homey.solweb.no/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://homey.solweb.no/lighting/scenes.md).

# 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.*
