# Fibaro Button -\> how to program a Dim-Functionality?

**URL:** <https://community.homey.app/t/fibaro-button-how-to-program-a-dim-functionality/50207>\
**Category:** Flows\
**Created:** [August 8, 2021, 6:43pm UTC](https://community.homey.app/t/fibaro-button-how-to-program-a-dim-functionality/50207 "2021-08-08T18:43:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![widameista](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/widameista/32/23333_2.png) [@widameista](https://community.homey.app/u/widameista)\
**Post date:** [August 8, 2021, 6:43pm UTC](https://community.homey.app/t/fibaro-button-how-to-program-a-dim-functionality/50207/1 "2021-08-08T18:43:40Z")

</div>

I have a fibaro Button which controls a FIbaro DImmer2 via Homey.  
I’m thinking how i can program a dim functionality.

My flow was like

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/2/5206b9a783c6eedbbd6c35211698e4983e2e16d0.png)

which works fine for dimming up, then when over 95% it’s going down, but as soon as its under 95% its going up again.

what i want to achieve is that it goes up to 100, then start with 0 again.

any idea, how to achieve that or any other idea to dim with a button? Thanks

---

<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:** [August 9, 2021, 4:55am UTC](https://community.homey.app/t/fibaro-button-how-to-program-a-dim-functionality/50207/2 "2021-08-09T04:55:04Z")

</div>

Did you have seen this tutorial already? Maybe it works for you.

> [@\[HOWTO\]\[PRO\] Dim lights with buttons using transitions](https://community.homey.app/t/howto-dim-lights-with-buttons-using-transitions/49988):
>
> This topic is to explain how you can use long press/release with a button to dim lights. Note that if you use z-wave associations you do not need this tutorial, and dimming will be smoother. But for all other cases, this will do the trick. For this tutorial I implemented one-button dimming, where the lights dim up and down until the button is released. The simpeler version: dim up with one button, dim down with another can be created using the same building blocks with ease if you get this one. …

---

<div class="post-metadata">

**Author:** ![widameista](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/widameista/32/23333_2.png) [@widameista](https://community.homey.app/u/widameista)\
**Post date:** [August 9, 2021, 10:58am UTC](https://community.homey.app/t/fibaro-button-how-to-program-a-dim-functionality/50207/3 "2021-08-09T10:58:25Z")

</div>

thanks for the hint, lead to the right ideas…
