# Hue Motion Sensor action

**URL:** <https://community.homey.app/t/hue-motion-sensor-action/23012>\
**Category:** Questions & Help\
**Created:** [December 23, 2019, 2:53pm UTC](https://community.homey.app/t/hue-motion-sensor-action/23012 "2019-12-23T14:53:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arnold\_vd\_Linden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnold_vd_linden/32/19336_2.png) [@Arnold\_vd\_Linden](https://community.homey.app/u/Arnold_vd_Linden)\
**Post date:** [December 23, 2019, 2:53pm UTC](https://community.homey.app/t/hue-motion-sensor-action/23012/1 "2019-12-23T14:53:04Z")

</div>

In the original Hue app you can set that when motion is detected the lamps go to a specific state and after the they go to the previous state. If that was a dim level or off.

I want to simulate this also in a Homey flow but don’t know if it possible.  
Anyone already done this?

The only thing I have at the moment is: [Shared Flow | Homey](https://homey.app/f/Z01fPY)

---

<div class="post-metadata">

**Author:** ![Martijn\_Hoogenbosch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_hoogenbosch/32/10647_2.png) [@Martijn\_Hoogenbosch](https://community.homey.app/u/Martijn_Hoogenbosch)\
**Post date:** [December 25, 2019, 8:37am UTC](https://community.homey.app/t/hue-motion-sensor-action/23012/2 "2019-12-25T08:37:00Z")

</div>

That’s possible but you have to build it yourself. Push the settings to a variable (dim, color, etc) and then after motion settings have been applied for a certain time revert back to the settings.

---

<div class="post-metadata">

**Author:** ![aste](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aste/32/9729_2.png) [@aste](https://community.homey.app/u/aste)\
**Post date:** [February 21, 2020, 10:54pm UTC](https://community.homey.app/t/hue-motion-sensor-action/23012/3 "2020-02-21T22:54:13Z")

</div>

I know how to read and set dim level in flows, but how do you read and set color?

---

<div class="post-metadata">

**Author:** ![Arnold\_vd\_Linden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnold_vd_linden/32/19336_2.png) [@Arnold\_vd\_Linden](https://community.homey.app/u/Arnold_vd_Linden)\
**Post date:** [February 22, 2020, 10:57am UTC](https://community.homey.app/t/hue-motion-sensor-action/23012/4 "2020-02-22T10:57:00Z")

</div>

It’s not possible to read out the color and set it to a variable.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [February 22, 2020, 1:11pm UTC](https://community.homey.app/t/hue-motion-sensor-action/23012/5 "2020-02-22T13:11:22Z")

</div>

Try this App, maybe it helps.

> **[Zone Memory](https://homey.app/de-de/app/com.sdn.zone-memory/Zone-Memory/)**
>
> Speichern und Wiederherstellen von Geräteeinstellungen oder ganzer Zonen

---

<div class="post-metadata">

**Author:** ![Arnold\_vd\_Linden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnold_vd_linden/32/19336_2.png) [@Arnold\_vd\_Linden](https://community.homey.app/u/Arnold_vd_Linden)\
**Post date:** [February 22, 2020, 2:23pm UTC](https://community.homey.app/t/hue-motion-sensor-action/23012/6 "2020-02-22T14:23:49Z")

</div>

Thank you.  
Looks like this one will work for the solution I want to use it for.
