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

@metz-connect/node-red-ewio2

v1.0.1

Published

Provides nodes to access EWIO2 interfaces like IOs and metering - from Node-RED

Downloads

26

Readme

@metz-connect/node-red-ewio2

Description

Nodes to integrate EWIO2 data logger and EWIO2 Ethernet I/Os of Metz Connect into Node-RED.

The following nodes are included:

  • EWIO2 (configuration node): Establishes connection to EWIO2 data logger or Ethernet I/O of Metz Connect
  • EWIO2 - Digital OUT: Set digital output of EWIO2
  • EWIO2 - Analog OUT: Set analog output of EWIO2
  • EWIO2 - Digital IN: Read digital input of EWIO2
  • EWIO2 - Analog IN: Read analog input of EWIO2
  • EWIO2 - Metering: Read metering value of EWIO2

Installation

To be able to use EWIO2 Node-RED nodes, a EWIO2 device is required. The latest firmware version of EWIO2 provides Node-RED functionality. Please update your EWIO2 to the newest version.

Nevertheless you can install EWIO2 Node-RED nodes with any Node-RED instance. Therefore you can install it via Manage palette and search for @metz-connect/node-red-ewio2 in Install tab.

It is also possible to install EWIO2 Node-RED nodes manually with command line in your Node-RED user directory:

npm install @metz-connect/node-red-ewio2

After manually installation a restart of Node-RED is required.

Usage

Help menu of Node-RED editor shows detailed documentation about every node.

Nodes

This section shows the general usage of the EWIO2 Node-RED nodes and gives some hints about their usage.

EWIO2

Configuration node to establish connection to EWIO2 and handle communication between Node-RED and EWIO2.

Host is required, this is the hostname or IP address of EWIO2. If no EWIO2 is available, no further configurations are possible.

Secure connections (SSL/TLS) are possible. Threrefore the tls-config node of Node-RED is included.

EWIO2 - Digital OUT

Connection to EWIO2 via EWIO2 node is necessary, to load configuration of digital outputs and to set a value of a digital output.

EWIO2 - Analog OUT

Connection to EWIO2 via EWIO2 node is necessary, to load configuration of analog outputs and to set a value of a analog output.

EWIO2 - Digital IN

Connection to EWIO2 via EWIO2 node is necessary, to load configuration of digital inputs and to get a value of a digital input.

Port can be configured as signal input (boolean values) or as pulse counter (number values).

The Node reactes to... section handles when node should be active:

  • Input signal at node: Node listens to input signals and handles them
  • Rising edge at EWIO2, Falling edge at EWIO2 or Change in value at EWIO2: Node listens to changes at digital input of EWIO2 and provides an output when value has changed

EWIO2 - Analog IN

Connection to EWIO2 via EWIO2 node is necessary, to load configuration of analog inputs and to get a value of a analog input.

Configuration of analog input can be updated in nodes configuration menu. Every change in configuration has immediately an effect at EWIO2!

The Node reactes to... section handles when node should be active:

  • Input signal at node: Node listens to input signals and handles them
  • Change in value at EWIO2: Node listens to changes at analog input of EWIO2 and provides an output when value has changed

EWIO2 - Metering

Connection to EWIO2 via EWIO2 node is necessary to load configuration of meters and datapoints and to get measured values.

Configuration of meters and datapoints must be done previously at EWIO2 web-interface.

Default output of node is of datatype number, for example: 3.86 may be the output of a measurement. Output can be configured with Additional node output values.... If at least one flag is set, output datatype changes to Object. When for example both flags are set the output of the above mentioned node may be:

{
    "value":3.86,
    "timestamp":"2023-09-11 13:48:00",
    "flags":"S;A;P;G;N;I;T;D"
}

EWIO2 Web interface

Node-RED is integrated into EWIO2 Web interface. The menu items Node-RED -> Editor and Node-RED -> Dashboard are available. Node-RED can be configured within menu System -> Node-RED. Dashboard is accessible without login to EWIO2 Web interface

License

BSD-3-Clause