node-red-contrib-min-off-time
v1.0.3
Published
Minimum OFF time - anti-short-cycle protection for compressors and motors
Maintainers
Readme
node-red-contrib-min-off-time
Ensures output stays OFF for a minimum duration after turning off. Protects compressors and motors from rapid restart (anti-short-cycle).
Install
npm install node-red-contrib-min-off-timeUsage
| msg | Effect |
|-----|--------|
| msg.payload = false | Output OFF, timer starts |
| msg.payload = true (before timer) | Output stays OFF (held) |
| msg.payload = true (after timer) | Output ON immediately |
| msg.bypassMin = true | Ignore minimum, follow input directly |
| msg.reset = true | Force output ON immediately |
Output
{
"input": true,
"output": false,
"held": true,
"remainingMs": 40000,
"minOffTime": 60000
}License
MIT — sr.rpo
