diff --git a/Rule-Cookbook.md b/Rule-Cookbook.md index fcad82bc..a4ec07af 100644 --- a/Rule-Cookbook.md +++ b/Rule-Cookbook.md @@ -35,6 +35,8 @@ #### 1. Use long press action on a switch +#### NOTE: This example is for GPIOs defined as switches not buttons + Activate long press action with `Switchmode 5` and shorten long press time to 2 seconds (`Setoption32 20`). Long pressing on switch1 sends `POWER 2` (toggle action) command to the `sonoff02` device