node-red-contrib-mobius-flow-lighting

Node-RED lighting control nodes for Mobius Flow

Usage no npm install needed!

<script type="module">
  import nodeRedContribMobiusFlowLighting from 'https://cdn.skypack.dev/node-red-contrib-mobius-flow-lighting';
</script>

README

node-red-contrib-mobius-flow-lighting

Version

Copyright 2016 Interior Automation under the BSD-3-Clause license.

A collection of Node-RED nodes for lighting control.

This module includes nodes providing the logic for various control regime types such as local control, daylight harvesting, time control and various conditioning nodes to aid in converting signals from devices such as switches and PIRs to be compatible with the control regime nodes.

Install

Run the following command in the root directory of your Node-RED install:

npm install node-red-contrib-mobius-flow-lighting

Conditioning Nodes

Switch-On

Evaluates a configurable boolean value in the payload and converts it to a sw-on or dim-up-start message to indicate to a control regime than an ON switch has been pushed or held.

Switch-Off

Evaluates a configurable boolean value in the payload and converts it to a sw-off or dim-dn-start message to indicate to a control regime than an OFF switch has been pushed or held.

Switch-Toggle

Evaluates a configurable boolean value in the payload and converts it to a sw-toggle or dim-bi-start message to indicate to a control regime than a TOGGLE switch has been pushed or held.

PD

Evaluates a configurable boolean value in the payload and converts it to a pd-presence message to indicate to a control regime than a PD has detected PRESENCE.

Control Regime Nodes

Control regime nodes take some form of trigger and provide a lighting level output based on their internal logic.

Local Control

A simple control regime for offices, stairwells, breakout areas, toilets etc. This control regime takes switches and PDs as inputs and sets the lighting output to the Activated level for a period of time, after which it drops back to the Dormant level. An optional Warning level can be set with its own timeout to indicate that if no further triggers are received the Dormant level will be set. It is possible to to disable all timers for areas requiring a simple ON/OFF switch.

If PDs are used they can be set to Absence Only mode. This is useful in meeting rooms in presentation mode, where a switch is used to turn the lights on and off. The lights will remain on while there are people in the room but automatically switch off after a period of absence, but do not switch on when a PD is triggered.

This control regime does not support manual dimming.

Manual Dimming Control

A manual dimming control regime for offices, meeting rooms etc. This control regime takes switches and PDs as inputs and sets the lighting output to the Activated level for a period of time, after which it drops back to the Dormant level. It is possible to to disable all timers for areas requiring a simple ON/OFF switch.

If PDs are used they can be set to Absence Only mode. This is useful in meeting rooms in presentation mode, where a switch is used to turn the lights on and off. The lights will remain on while there are people in the room but automatically switch off after a period of absence, but do not switch on when a PD is triggered.

A 'quick' push of the ON or OFF side of the switch will set the lights to the Activated or Dormant levels and holding the ON or OFF side of the switch will dim the zone up or down. Releasing the switch during dimming will set the new Activated level. If a TOGGLE switch is used the lights will toggle ON or OFF for a short push and dim up or down for a long push. The dim direction is determined by the current level.

Time Control

Not yet implemented.

Daylight Harvesting

Not yet implemented.

Updates

Version 0.0.2

Conditioning nodes now have a green status dot for one second to indicate that they were triggered.