# Control dimmer using push button

**URL:** <https://community.homey.app/t/control-dimmer-using-push-button/47014>\
**Category:** Flows\
**Tags:** z-wave\
**Created:** [May 3, 2021, 2:51pm UTC](https://community.homey.app/t/control-dimmer-using-push-button/47014 "2021-05-03T14:51:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [May 3, 2021, 4:13pm UTC](https://community.homey.app/t/control-dimmer-using-push-button/47014/2 "2021-05-03T16:13:26Z")

</div>

Have a look here:

> [@Easiest flow for button held dim](https://community.homey.app/t/easiest-flow-for-button-held-dim/10727/9):
>
> I have actually been working on this for a bit of late, so maybe what I have done can be of use for you. I am using a Xiaomi button that has the long-press function and an IKEA Tradfri bulb, I am also using the transitions app that @viix suggested. On long-press, I check what the DimUP boolean is saying (true = dim UP), if it is true I start a transition from the current dimlevel of the bulb to 1 in 5 seconds with 0.5s steps. If it is false, I go to 0. At the same time I tell the bulb to star…

---

_[View the full topic](https://community.homey.app/t/control-dimmer-using-push-button/47014)._
