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-inovelli-notification-calculator

v0.1.1

Published

Node used with Home Assistant to easily control LED notifications for Inovelli Red Series switches

Downloads

51

Readme

Inovelli Notification Calculator

Forked from the exceptionally wonderful https://github.com/pdong/node-contrib-inovelli-status-manager repo.

This node allows you to easily set the appropriate values to send to your Inovelli Red Series switches.

If you notice any problems open an issue or a pull request, I'll respond ASAP. Thanks!

Features

  • Support for OpenZWave, Z-Wave (deprectaed), and Z-Wave JS (Requires Home Assistant 2021.4.0 or newer)
  • Allows all fields to be controlled by the payload of an incoming message
  • Use color-convert library to accept color names, RGB arrays, hexadecimals, or hue value as input
  • Automatically convert input values to proper format (ie. "2 Hours" = 168 for Inovelli math)
  • Detect color input to properly convert to Inovelli's hue range
  • Support for ALL Inovelli Red Series switches
  • Easily clear notifications

image

How to use

This node should be used in conjunction with the node-red–contrib-home-assistant-websocket plaette, and the output should be connected to an api-call-service node. This node will automatically fill in the appropriate fields for that node. Example flows are provided in this repo.

Z-Wave Integration

You are able to choose between Z-Wave JS, OpenZWave, or Z-Wave (deprecated) as your integration. This can also be set via msg.payload.zwave (values: zwave_js, ozw, or zwave).

Entity ID/Node ID

Depending on your Z-Wave integration, you'll have the option to add one ID, or a comma delimited list of IDs, or your corresponding device(s). For Z-Wave JS you can set this entity ID in the Home Assistant call-service node, in this node, or send a message with your ID(s) in the msg.payload.entity_id field. For OZW you cna set the ID(s) in this node or send a messages with your ID(s) in the msg.payload.node_id field.

Switch Type

This option lets you specify your switch model, and can also be configured by sending a message with the switch type in the msg.payload.switchtype field. This accepts the integer value of the effect paramter(s), and also the switch model (eg. lzw36, LZW31-sn, 8, dimmer, switch, fan).

Color

Choose a value between 0 and 360 to determine the hue of your notification. This node will automatically convert that value to Inovelli's hue range (0-255), and it also accepts RGB arrays (255,0,0), color names (Red), or hexadecimals (#ff0000) through msg.payload.color. Range 0-360

Brightness Level

The brightness of your LED Notification, also configurable through msg.payload.brightness. Range: 0-10

Duration

The duration of your LED Notification. The list provided in the node are some generic values, however you can send several format through msg.payload.duration to be more exact (eg. 2 hours, 4 days, 47 seconds). Range: 1-255.

Effect Type

Based on your switch choice, choose between Off, Solid, Chase, Fast Blink, Slow Blink, or Pulse. Also configurable through msg.payload.effect.

Clear Notification

A checkbox to toggle clearing the the current LED Notification, when checked this will clear the current notification for your specified switch. Also configurable by setting msg.payload.clear to a boolean value of true or false.