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-enoceanip-dcnext

v0.1.4

Published

I/O nodes for Node-RED to communicate with EnOcean API. Copyright (c) 2024 DC Next GmbH

Downloads

8

Readme

enoceanip

I/O nodes for Node-RED to communicate with EnOcean REST API. This API comes along with a certain software bundle containing neccessary translation of Enocean serial protocol, administration and learn in functionality of Enocean devices. Once configured and connected to EnOcean REST API, Node-RED is kept informed continously by receiving JSON messages including Enocean telegrams that have been occured on Enocean radio.

Enoceanip covers two nodes that seperate incoming and outgoing communication to EnOcean REST API. A configuration node will organize several API credentials and held them safe of being exported.

Image of enoceanip sample

Prerequisites

  • node.js v0.10.41
  • npm 1.4.29
  • Node-RED 0.13.1

may run on different set up as well

or

How to install

This process describes how to retrieve and integrate enoceanip in Node-RED (http://npmjs.org).

  • Install via Node-Red-Ui (recommended)
  • Manual installation:
  1. Open terminal and go to your local Node-RED folder. e.g. cd ~/.node-red
  2. Execute npm command to install node npm install node-red-contrib-enoceanip-dcnext
  3. Restart Node-RED
  4. Reload Node-RED Web UI
  5. Find "enocean" nodes underneath categories Input and Output

What to configure

  1. Drag and drop the enocean nodes to your canvas
  2. Configure API related settings. Open an enocean node edit screen and create or select an API connection. They can be managed via Node-RED menu->view->configuration sidebar.
  3. After deploying Node-RED flow, status indicator should change
  4. Configure/learn in enocean devices via software bundles Webinterface http://Hostname-Of-API/dcgw/enocean/newdevice (Note: If filtermode (http://Hostname-Of-API/dcgw/admin/enoceanchip) has been turned off, you will receive any event happening on enocean radio)

Public gateway / debug

pw: user

Use sample flow

A sample flow is provided that includes a couple of predefined requests for enocean out and reveal its equivalent REST calls.

  • Open flows/sampleFlow.json in any editor and copy its content while using the import function in Node-RED menu bar in the upper right corner.
  • simply start Node-RED with node-red sampleFlow.json

Quickstart

Once your set up is done, you need to provide API-Origin by specifying host, port and credentials. This information will be held in a configuration node and is available to other enocean nodes as well. But your credentials are saved securely and won't be part of any exports. In case you've activated JSON encryption please prepend host field by https protocol instead of http protocol.

node - enocean out

Usage, API resources
Change device state
How state should look like?
State and FunctionGroups

A state is represented by a set of key-value pairs and is encapsulated in a functionGroup. Each functionGroup specify the communication direction (to/from) in addition. FunctionGroups therefore represent information that can be held or had been hold by enocean telegrams. However, enocean profiles - widely used to organize EnOcean communication- sometimes specify more than one telegram or functionGroup per profile. Each device communicates by using at least one EnOcean equipment profile (EEP).

The function names with their interface specification can be retrieved anytime through HTTP requests in a syntax: All profiles /profiles Single profile/profiles/f6-02-01 Ask the device /devices/DEVICE-ID/profile

node - enocean in

Events
Filter options:

Copyright (c) 2024 Digital Concepts