This node enables you to control anything, which can be controlled with an on and off command, quite comfortably.
Control your device with the use of a toggle button or force the output with on/off commands. You can use one or more motion detectors and configure a relevant timeout. Configure a timer, after which the device will be turned off, and never forget anymore to power off your light. Send the actuator feedback to the block for more smart features.
The node title shows either "Power Switch" or the configured name, together with the time settings. First value shows the configured timeout, followed by a star, if the option "Override with msg.timeout at 'Off Payload'" is enabled. Second value shows the absolute timeout, if enabled. Examples:
Once installed, find details in the node's manual within Node-RED. Click on the node and navigate to the Help section (or hit CTRL-G followed by H on your keyboard).
You may also be interested in the exmaples coming with the installation. Once installed, in Node-RED go to "Import", choose "Examples" and expand "node-red-contrib-smarthome-powerswitch".
See CHANGELOG.md