# Help with "set relative dim-level"

**URL:** <https://community.homey.app/t/help-with-set-relative-dim-level/11251>\
**Category:** Flows\
**Created:** [March 31, 2019, 8:38pm UTC](https://community.homey.app/t/help-with-set-relative-dim-level/11251 "2019-03-31T20:38:28Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![luvis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/luvis/32/2742_2.png) [@luvis](https://community.homey.app/u/luvis)\
**Post date:** [March 31, 2019, 8:38pm UTC](https://community.homey.app/t/help-with-set-relative-dim-level/11251/1 "2019-03-31T20:38:28Z")

</div>

I would be very grateful if someone could give me an example on how “set relative dim-level” works. I have a light switch with the option to “long-press” and would like to use it to dim the lights gradually. If I understand the function correctly, relative dim-level is what I need? Or if someone has a better option that’s fine too.  
Thanks

---

<div class="post-metadata">

**Author:** ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)\
**Post date:** [April 1, 2019, 4:56pm UTC](https://community.homey.app/t/help-with-set-relative-dim-level/11251/2 "2019-04-01T16:56:36Z")

</div>

Check out this recent thread:[Relatief dim niveau](https://community.homey.app/t/relatief-dim-niveau/10955/2)  
Its in dutch, but goole might help you translate.  
It also shows example flows.

---

<div class="post-metadata">

**Author:** ![luvis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/luvis/32/2742_2.png) [@luvis](https://community.homey.app/u/luvis)\
**Post date:** [April 1, 2019, 6:32pm UTC](https://community.homey.app/t/help-with-set-relative-dim-level/11251/4 "2019-04-01T18:32:11Z")

</div>

Thank you that is very helpful!

---

<div class="post-metadata">

**Author:** ![luvis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/luvis/32/2742_2.png) [@luvis](https://community.homey.app/u/luvis)\
**Post date:** [April 1, 2019, 6:32pm UTC](https://community.homey.app/t/help-with-set-relative-dim-level/11251/5 "2019-04-01T18:32:41Z")

</div>

Thanks that helps!

---

<div class="post-metadata">

**Author:** ![luvis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/luvis/32/2742_2.png) [@luvis](https://community.homey.app/u/luvis)\
**Post date:** [April 3, 2019, 1:40pm UTC](https://community.homey.app/t/help-with-set-relative-dim-level/11251/6 "2019-04-03T13:40:37Z")

</div>

So I’ve understood how it works according to the previous messages but for some reason it only works once, what might I be doing wrong? If I turn my light off it’s “shining” at 0% correct? So if I choose relative dim level 20%, it should shine 20% brighter than 0. So far so good. Now if I run the same flow again, I assumed it should change from 20% to 40%, however this does not happen, it keeps shining at 20%.  
I know I have chosen relative dim-level because if I manually dim a light to let’s say 50% and run the flow, it goes to 70%. But if I run the flow again, nothing happens.

Any idea?

---

<div class="post-metadata">

**Author:** ![luvis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/luvis/32/2742_2.png) [@luvis](https://community.homey.app/u/luvis)\
**Post date:** [April 3, 2019, 4:18pm UTC](https://community.homey.app/t/help-with-set-relative-dim-level/11251/8 "2019-04-03T16:18:50Z")

</div>

![Screenshot_20190403-181553](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/c/c3e4d6166f40ee50a0fc73882a1c98f116304199.jpeg) ![Screenshot_20190403-181757](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/3/31c6493f2ba0abbef0f1371d391f68e4bccebe17.jpeg)  
It’s not much of a flow but this is it…

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [April 3, 2019, 4:35pm UTC](https://community.homey.app/t/help-with-set-relative-dim-level/11251/10 "2019-04-03T16:35:38Z")

</div>

Just tested this. With another trigger or with the test button like Roy stated it works like a charm. Can u try another trigger or, like @RoyWissenburg mentioned, try the test button to see what happens?

---

<div class="post-metadata">

**Author:** ![luvis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/luvis/32/2742_2.png) [@luvis](https://community.homey.app/u/luvis)\
**Post date:** [April 3, 2019, 4:42pm UTC](https://community.homey.app/t/help-with-set-relative-dim-level/11251/11 "2019-04-03T16:42:51Z")

</div>

I just tried “dim to” and set it to 20% and its actually not as bright as when usin relative dim to 20% from zero…so I guess that’s where the issue is… No difference if I press the test button…

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [April 3, 2019, 4:55pm UTC](https://community.homey.app/t/help-with-set-relative-dim-level/11251/12 "2019-04-03T16:55:03Z")

</div>

In Holland we say: Meten is weten. Like “not as bright” can mean a lot of things.

---

<div class="post-metadata">

**Author:** ![luvis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/luvis/32/2742_2.png) [@luvis](https://community.homey.app/u/luvis)\
**Post date:** [April 3, 2019, 5:04pm UTC](https://community.homey.app/t/help-with-set-relative-dim-level/11251/13 "2019-04-03T17:04:35Z")

</div>

Well basically if I turn the light off and then use relative dim 20%,the light dims to about 80%.whereas if I use basic “dim to” and 20%, the light actually dims to 20% which is a lot less bright than 80%

---

<div class="post-metadata">

**Author:** ![luvis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/luvis/32/2742_2.png) [@luvis](https://community.homey.app/u/luvis)\
**Post date:** [April 3, 2019, 5:12pm UTC](https://community.homey.app/t/help-with-set-relative-dim-level/11251/15 "2019-04-03T17:12:35Z")

</div>

Same behavior. It’s the relative dim that refuses to work in my flow… It just dims to the same value every time and stays there…

---

<div class="post-metadata">

**Author:** ![luvis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/luvis/32/2742_2.png) [@luvis](https://community.homey.app/u/luvis)\
**Post date:** [April 3, 2019, 5:34pm UTC](https://community.homey.app/t/help-with-set-relative-dim-level/11251/17 "2019-04-03T17:34:19Z")

</div>

Interesting. I tried what you said. If I use the dim to value first and set it to 20% and after that I use the relative dim and set it to whatever like 10% it works, both with the physical button and the test button. However if I turn the light off and press the relative dim it goes all the way to about 80% so its only from when the light is off that it doesn’t work.

---

<div class="post-metadata">

**Author:** ![luvis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/luvis/32/2742_2.png) [@luvis](https://community.homey.app/u/luvis)\
**Post date:** [April 3, 2019, 6:29pm UTC](https://community.homey.app/t/help-with-set-relative-dim-level/11251/19 "2019-04-03T18:29:04Z")

</div>

Got it, I will fix my flow accordingly 😊 Thanks for the help!

---

<div class="post-metadata">

**Author:** ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)\
**Post date:** [April 3, 2019, 6:36pm UTC](https://community.homey.app/t/help-with-set-relative-dim-level/11251/20 "2019-04-03T18:36:39Z")

</div>

Are you using LEDs?  
LEDs are hard to dim at the lower %,

It is related to very low load they have (thats why fibaro has a bypass in case you use leds)  
(“This Dimmer Bypass makes it possible to dim light sources with minimum power consumption, such as e.g. single 0,5Watt LED”)

I have 4 philips led spots connected to the same dimmer.  
When I switch it on absolute to 15%, 2 of the leds go on, 2 just stay off.  
When I switch it on absolute to 20%, 2 of the leds go on, 2 sometimes go on right away, sometimes it takes a few seconds and then they pop on too.

My advice: test your flows at higher dim %, if it works fine lower the percentage.

---

<div class="post-metadata">

**Author:** ![luvis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/luvis/32/2742_2.png) [@luvis](https://community.homey.app/u/luvis)\
**Post date:** [April 3, 2019, 6:48pm UTC](https://community.homey.app/t/help-with-set-relative-dim-level/11251/21 "2019-04-03T18:48:45Z")

</div>

Yeah maybe you’re right, Its similar to my ikea spots, I have 8 of them and they behsve very randomly as well. Thanks for the tips I’ll test it out!
