@tbowmo/node-red-staircase-timer 0.1.1

Staircase timer node for Node-RED with support for sunrise, sunset etc. timers

npm install @tbowmo/node-red-staircase-timer

Node-red-staircase-timer

Quality Gate Status Sonar cloud test Build status

A Node-RED staircase type timer, turns on output for a specified time when triggered by an input with payload specified. can be disabled by light level (use a lux sensor for input f.ex.) and also overall disable until it's enabled again

Install

Either use the palette manager in Node-RED to install the plugin, or use a terminal to install directly in your local installation of Node-RED:

npm install @tbowmo/node-red-staircase-timer

Once installed, restart your node-red server, and you will have a set of new nodes available in your palette under timers.

Output

The node has a single output, which provides a standard node-red object:

{
    payload: object, string, number // as setup in the node
    topic: string // (as setup in the node)
}

Input

If payload is present (not undefined) the output will be triggered, unless the node is either disabled or the light level is above the set threshold

Optional properties on input message

property type description
disable boolean If set to true, then the node is disabled. If the timer is actively running, then the current timeout is handled as usual.
ligt_sensor number This is used to inform the node of the current light level. If the light level is above the set threshold, then the timer will be disabled

Node Info

Version: 0.1.1
Updated 2 hours ago
License: GPL-2.0
Rating: not yet rated

Categories

Actions

Rate:

Downloads

0 in the last week

Nodes

  • stairtimer

Keywords

  • node-red
  • timer

Maintainers