npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

node-red-contrib-mobius-flow-lighting

v1.0.5

Published

Node-RED lighting control nodes for Mobius Flow

Downloads

37

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.