# Philips hue and Switch dimmer via homey

**URL:** <https://community.homey.app/t/philips-hue-and-switch-dimmer-via-homey/26328>\
**Category:** Questions & Help\
**Created:** [February 23, 2020, 11:45pm UTC](https://community.homey.app/t/philips-hue-and-switch-dimmer-via-homey/26328 "2020-02-23T23:45:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johan\_Willerud](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johan_willerud/32/17556_2.png) [@Johan\_Willerud](https://community.homey.app/u/Johan_Willerud)\
**Post date:** [February 23, 2020, 11:45pm UTC](https://community.homey.app/t/philips-hue-and-switch-dimmer-via-homey/26328/1 "2020-02-23T23:45:59Z")

</div>

Hi, I’ve bought the Phillips hue with the dimmer switch, and I’ve made flows so the on and off and dimming up and down works pretty much as it did before I connected them with homey, but the dimmer switch had one more option, it was if I pushed the on button more times after the lamp turned on it would change the color through a few different preset colors.  
My hue dimmer switch and my hue lamp is now separately connected via homey!  
My question is if this can be done with flows? And eventually how?

---

<div class="post-metadata">

**Author:** ![Marius\_Mammen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marius_mammen/32/12703_2.png) [@Marius\_Mammen](https://community.homey.app/u/Marius_Mammen)\
**Post date:** [March 7, 2020, 6:15pm UTC](https://community.homey.app/t/philips-hue-and-switch-dimmer-via-homey/26328/2 "2020-03-07T18:15:53Z")

</div>

I‘ll try to get an answer regarding this topic as well! PLEASE HELP😀

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [March 8, 2020, 9:55am UTC](https://community.homey.app/t/philips-hue-and-switch-dimmer-via-homey/26328/3 "2020-03-08T09:55:55Z")

</div>

I have asked this before. It is not implemented in the Atom Hue app. I have filed a request a month ago.

---

<div class="post-metadata">

**Author:** ![Marius\_Mammen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marius_mammen/32/12703_2.png) [@Marius\_Mammen](https://community.homey.app/u/Marius_Mammen)\
**Post date:** [March 8, 2020, 12:31pm UTC](https://community.homey.app/t/philips-hue-and-switch-dimmer-via-homey/26328/4 "2020-03-08T12:31:55Z")

</div>

i had opened a german thread. There i got an answer! Here the link [Philips Hue Dimmer + Szenarien](https://community.homey.app/t/philips-hue-dimmer-szenarien/26849/6)

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [March 8, 2020, 4:27pm UTC](https://community.homey.app/t/philips-hue-and-switch-dimmer-via-homey/26328/5 "2020-03-08T16:27:44Z")

</div>

I know a scene can be started with the dimmer switch. But… Only 1 scene, triggered by an ON command.

The dimmer / switch itself (so, without Homey) can start 5 scenes by multiple pressing the ON button.

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [March 8, 2020, 4:58pm UTC](https://community.homey.app/t/philips-hue-and-switch-dimmer-via-homey/26328/6 "2020-03-08T16:58:38Z")

</div>

The **hue api** does _not_ bring out the _amount of times_ a button was pressed, it only offers what button was pressed last, and what type of press it was:

- initial press;
- hold;
- short released;
- long released;

and as it is you only can poll the state, a 50 millisecond or so poll rate isn’t very advised to catch it software wise, the current 2 seconds is already the limit, if not already too fast.

So this is not possible to implement into the bridge app unless philips adds this in their api.  
They could add the 4 “press” types, not sure if they have or not, don’t use dimmer switches myself.

---

<div class="post-metadata">

**Author:** ![Osorkon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/osorkon/32/43026_2.png) [@Osorkon](https://community.homey.app/u/Osorkon)\
**Post date:** [March 8, 2020, 8:04pm UTC](https://community.homey.app/t/philips-hue-and-switch-dimmer-via-homey/26328/7 "2020-03-08T20:04:41Z")

</div>

> [@Eternity](#):
>
> I know a scene can be started with the dimmer switch. But… Only 1 scene, triggered by an ON command.

You can start any number of scenes, triggered by an On command. Just use a variable.  
In a fixed order and, if you want, also randomly.

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [March 8, 2020, 8:12pm UTC](https://community.homey.app/t/philips-hue-and-switch-dimmer-via-homey/26328/8 "2020-03-08T20:12:54Z")

</div>

Clever!

And I have to confess I even had made a similar flow in the past (with a Fibaro switch):

[https://homey.app/f/SGt1-2](https://homey.app/f/SGt1-2)
