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-sm-ioplus

v1.0.3

Published

A Node-RED collection of nodes to control Sequent Microsystems Home Automation Card

Downloads

26

Readme

node-red-contrib-sm-ioplus

The Node-RED nodes for the Home Automation card

Command line installation

For first time installation, clone the repository:

~$ git clone https://github.com/SequentMicrosystems/ioplus-rpi.git

If you already cloned the repository, update to the latest version:

$ cd /ioplus-rpi/  
~/ioplus-rpi$ git pull

Install the Node-RED nodes:

$ cd /.node-red
/.node-red$ npm install /ioplus-rpi/node-red-contrib-sm-ioplus

Restart the Node-RED service

~$ node-red-stop
~$ node-red-start

Node-RED installation

On the Node-RED home screen click on the Menu icon on the top toolbar right corner: menu

then "Manage Palette": manage

then "Install" tab: install

Search for "ioplus" and click "Install" again: search

Sequent Microsystems nodes for the Home Automation card will be displayed on the Node-RED palette

Usage

IOPLUS RELAY

This node controls the relays of the card. Set the "relay" parameter to [1..8] to control one relay, or set it to 0 for all relays. The card stack level and relay number can be set in the node dialog box or dynamically through msg.stack and msg.relay. The payload of the input message contains the state of one relay or an eight bit number with the state of all 8 relays.

IOPLUS 0-10V out

This node controls one 0-10V output channel. The card stack level and channel number can be set in the node dialog box or dynamically through msg.stack and msg.channel. The value in volts is set dynamically as a number between 0..10 through msg.payload.

IOPLUS ADC in

This node reads one analog input channel. The card stack level and channel number can be set in the node dialog box or dynamically through msg.stack and msg.channel. Reading is triggered by the message input. The output can be found in the output message payload as a number representing the voltage.

IOPLUS OPT cnt

This node reads the optically coupled input counter and sets the counting edges for one channel. The card stack level and channel number can be set in the node dialog box or dynamically through msg.stack and msg.channel. Rising and/or falling edge counting can be enabled/diabled from the node dialog screen. Edge settings are sent to the card when the node is deployed, when the flow starts or a different channel is selected through msg.channel. Reading is triggered by the message input. The output can be found in the output message payload as a number.

IOPLUS OPT in

This node reads the state of one optically coupled input channel. The card stack level and channel number can be set in the node dialog box or dynamically through msg.stack and msg.channel. Reading is triggered by the message input. The output can be found in the output message payload as a boolean value.

IOPLUS OD out

This node controls one open drain output channel. The card stack level and channel number can be set in the node dialog box or dynamically through msg.stack and msg.channel. The value is set dynamically as a number between 0..100%through msg.payload.

Credits

This node is using the I2C-bus package from @fivdi. The inspiration for this node came from @nielsnl68 work with node-red-contrib-i2c. We thank them for the great job.