UNPKG

smart-nodes

Version:

Controls light, shutters and more. Includes common used logic and statistic nodes to control your home.

5 lines 499 B
<script type="text/html" data-help-name="smart_long-press-control"> <p>This node can distinguish how long a button has been pressed. The time from which a button press is considered long can be set in the properties of the node.</p> <p>A long button press is triggered immediately if the maximum time has been exceeded.</p> <p>The node measures the time between <code>msg.payload = true;</code> and <code>msg.payload = false;</code> and outputs a corresponding message.</p> </script>