Skip to content
This repository has been archived by the owner on Jul 18, 2020. It is now read-only.

Buttons Events

Hyrules edited this page Nov 12, 2017 · 7 revisions

When you create a rule with a sensor that has one or more button event refer to theses codes :

Hue Tap button events :

Button id Tap Button
34 Button 1 (whole button)
16 Button 2
17 Button 3
18 Button 4

Hue Dimmer buttons events :

Button Action Dimmer Button
1000 INITIAL_PRESS Button 1 (ON)
1001 HOLD
1002 SHORT_RELEASED
1003 LONG_RELEASED
2000 INITIAL_PRESS Button 2 (DIM UP)
2001 HOLD
2002 SHORT_RELEASED
2003 LONG_RELEASED
3000 INITIAL_PRESS Button 3 (DIM DOWN)
3001 HOLD
3002 SHORT_RELEASED
3003 LONG_RELEASED
4000 INITIAL_PRESS Button 4 (OFF)
4001 HOLD
4002 SHORT_RELEASED
4003 LONG_RELEASED
Clone this wiki locally