Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
jowihue:hue_tap [2017/08/21 19:16]
wim
jowihue:hue_tap [2017/08/21 19:17] (current)
wim
Line 1: Line 1:
 ====== Hue Tap ====== ====== Hue Tap ======
  
-If the plugin finds a tap connected to a bridge, a device will be created that will show the last known buttonpress of the device+If the plugin finds a tap connected to a bridge, a device will be created that will show the last known buttonpress of the device\\
 In a previous version of the plugin it was possible to create rules for the Tap with some special functions like switching a scene off when the same button was pressed. This has been removed. This is also possible with the following sample script and event. \\ In a previous version of the plugin it was possible to create rules for the Tap with some special functions like switching a scene off when the same button was pressed. This has been removed. This is also possible with the following sample script and event. \\
 With this script an "​on"​event will be triggerd on a button press. Is another button pressed, then the "​on"​ event is triggered. Is the same button then pressed again, the "​off"​ event will be triggered. Of course the events do not necessary have to perform on or off, they can be any event really.\\ With this script an "​on"​event will be triggerd on a button press. Is another button pressed, then the "​on"​ event is triggered. Is the same button then pressed again, the "​off"​ event will be triggered. Of course the events do not necessary have to perform on or off, they can be any event really.\\