# Change Hue scene in room?

**URL:** <https://community.homey.app/t/change-hue-scene-in-room/66668>\
**Category:** Apps\
**Created:** [July 29, 2022, 5:08pm UTC](https://community.homey.app/t/change-hue-scene-in-room/66668 "2022-07-29T17:08:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![drberg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/drberg/32/17475_2.png) [@drberg](https://community.homey.app/u/drberg)\
**Post date:** [July 29, 2022, 5:08pm UTC](https://community.homey.app/t/change-hue-scene-in-room/66668/1 "2022-07-29T17:08:03Z")

</div>

I have a motion sensor that turns on lights in a room. At night I want the want a different scene to run in that room, but I can not figure out how to do so.

A couple of scenarios to better describe what I’m after:

```auto
IF the time is between 07 and 19
  AND motion is detected
  THEN set scene for lights in room A to scene X
  THEN turn on lights in room A 
ELSE IF the time is between 19 and 07
  AND motion is detected
  THEN set scene for lights in room A to scene Y
  THEN turn on lights in room A

```

I see that the app has a card “Set the scene `scene`”, but I can’t fugure out how to use it correctly. I have the impression it sets the scene for the whole house.

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [July 29, 2022, 5:15pm UTC](https://community.homey.app/t/change-hue-scene-in-room/66668/2 "2022-07-29T17:15:48Z")

</div>

Take a look at the app: Zone Memory, you can store different “scenes” and start them depending on the time of day.

---

<div class="post-metadata">

**Author:** ![drberg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/drberg/32/17475_2.png) [@drberg](https://community.homey.app/u/drberg)\
**Post date:** [July 29, 2022, 6:00pm UTC](https://community.homey.app/t/change-hue-scene-in-room/66668/3 "2022-07-29T18:00:33Z")

</div>

That app is fantastic! It really helped. Thanks

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [July 29, 2022, 6:08pm UTC](https://community.homey.app/t/change-hue-scene-in-room/66668/4 "2022-07-29T18:08:26Z")

</div>

> [@drberg](#):
>
> couple of scenarios to better describe what I’m after

Homey works with triggers you start ypur example with a condition.  
Always start with:  
When… something happens…  
And… your conditions…  
Then … …

---

<div class="post-metadata">

**Author:** ![drberg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/drberg/32/17475_2.png) [@drberg](https://community.homey.app/u/drberg)\
**Post date:** [July 30, 2022, 7:57am UTC](https://community.homey.app/t/change-hue-scene-in-room/66668/5 "2022-07-30T07:57:11Z")

</div>

It seems to save everything but the color of the bulbs. For example if I save a scene “Savanna Sunset” on the zone, then it pretty much only saves the brightness of the bulbs. Any idea if there’s a way to save the colors as well?

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [July 30, 2022, 8:12am UTC](https://community.homey.app/t/change-hue-scene-in-room/66668/6 "2022-07-30T08:12:48Z")

</div>

> [@\[App\]\[Pro\] Zone Memory - Save and Restore Device Configurations](https://community.homey.app/t/app-pro-zone-memory-save-and-restore-device-configurations/24962/1):
>
> Zone Memory App Store: [Zone Memory](https://homey.app/a/com.sdn.zone-memory)[Frequently Asked Questions](https://community.homey.app/t/zone-memory-save-and-restore-device-configurations/24962/2)[Change Log](https://community.homey.app/t/zone-memory-save-and-restore-device-configurations/24962/2)Supported Languagesuk English de German netherlands Nederlands Permissions homey:manager:api (required for controlling all devices on behalf of the user) Currently Supported Device Classes All device classes known by Homey as of 2020-06-14. The use of some classes in combination with Zone Memory might not make obvious sense. However, even a button might have additional custom capabilities to toggle…

This is all I know, you can put your questions there if you didn’t find an answer.

---

<div class="post-metadata">

**Author:** ![Shakesbeard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/shakesbeard/32/15112_2.png) [@Shakesbeard](https://community.homey.app/u/Shakesbeard)\
**Post date:** [July 30, 2022, 8:28am UTC](https://community.homey.app/t/change-hue-scene-in-room/66668/7 "2022-07-30T08:28:02Z")

</div>

> [@drberg](#):
>
> save the colors

Zone Memory basically saves all data the device’s controlling app exposes. If the color is not saved then it might be an issue of the target app. I recently had someone observe an unexpected behavior with the Hue app and Zone Memory in regards to color or mode.  
The problem is that the Hue app did not report the updated light data when expected. You can check if you have the same issue by checking what the color indicator of light shows in your Homey UI at the moment when you run the Store Device data stuff. Most likely even Homey will show the wrong color/mode. This needs a fix in the Hue app most likely. Or you delay saving the data to Zone Memory until the Hue app has refreshed its own info about the device.

---

<div class="post-metadata">

**Author:** ![drberg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/drberg/32/17475_2.png) [@drberg](https://community.homey.app/u/drberg)\
**Post date:** [July 30, 2022, 5:06pm UTC](https://community.homey.app/t/change-hue-scene-in-room/66668/8 "2022-07-30T17:06:55Z")

</div>

It seems you’re right! When I’ve changed the colors from the Hue app on my phone the bulbs get the correct color, but when I check the Homey app they are all “plain” color in the indicator. I’ll let the devs of the Homey Hue app know this. Thanks!
