Reactor + altHue + Phillips hue dimmer

The Phillips hue dimmer is a controller that allows you to wirelessly control your lights. Recently I was working with amig0 to incorporate it in his altHue plugin. we did successfully as a scene controller
https://www2.meethue.com/en-us/p/hue-dimmer-switch/046677473372

one problem with the scene integration was that if the button was pressed last and you press it again it would do nothing

now add reactor + low poll times = $19 8-12 button scene controller

Hue Dimmer (AND)
Device State: Hue Living Room Dimmer (#598) LastSceneTime changes
Last Activated (OR)
sl03 (AND)
Device State: Hue Living Room Dimmer (#598) sl_SceneActivated equals “3”
sl04 (AND)
Device State: Hue Living Room Dimmer (#598) sl_SceneActivated equals “4”
sl07 (AND)
Device State: Hue Living Room Dimmer (#598) sl_SceneActivated equals “7”
sl08 (AND)
Device State: Hue Living Room Dimmer (#598) sl_SceneActivated equals “8”
sl11 (AND)
Device State: Hue Living Room Dimmer (#598) sl_SceneActivated equals “11”
sl12 (AND)
Device State: Hue Living Room Dimmer (#598) sl_SceneActivated equals “12”
sl15 (AND)
Device State: Hue Living Room Dimmer (#598) sl_SceneActivated equals “15”
sl16 (AND)
Device State: Hue Living Room Dimmer (#598) sl_SceneActivated equals “16”

For each group have id Do something when (group) is TRUE

change your poll times to 2-3 seconds and viola

so when ever you press a button and the LastSceneTime changes it should trigger / trip the reactor because the time changes

1 Like

Nice. What are you doing with the SceneID variable? I don’t see it used anywhere.

i was using it at first but i don’t need it now just forgot to take it out