I want to use a ESPeasy to get more control over my Tradfri panels. I want to use my wall push buttons for this which are currently connected to a eltako impulse relay in the junction box. The existing impulse relay should be replaced by a WeMos D1 with ESPeasy were I want to connect my push buttons potential free.
To realize this I want to use the internal rule system of ESPeasy. A rule for
press (switch on/off) and
long press (dim) can be found on Let’s Control It
on Button#State=1 do timerSet,1,1 endon on rules#timer=1 do if [Button#State]=0 //Action if button is short pressed else //Action if button is still pressed endif endon
But how can I realize
double press? I want to use this to switch between the scenes.