Double click switch

Moderator: leecollings

Post Reply
nickgosling
Posts: 33
Joined: Wednesday 06 January 2016 10:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Double click switch

Post by nickgosling »

Hi,

Is there an easy way to get LUA code to evaluate when the last time a switch was pressed. I currently have a Qubino module to activate scenes but want to set a scene if I double click the secondary input button instead of single click.
That way I can set a different scene with the same button. I currently have dummy switches that flip flip and it works but its all a bit fiddly.

I would like to either cycle through scenes or set a scene based on a single, double or even triple click.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest