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-ember

v1.1.4

Published

Interface to Ember+ automation standard

Downloads

23

Readme

node-red-contrib-ember

Simple Ember+ client node for broadcast automation (LAWO, DHD, etc.). Ember+ is open source and implemented in hard- and software products. More information can be found here: Ember+ control protocol

install

Inside your node-red directory, install the NPM node-red-contrib-ember package.

npm install node-red-contrib-ember

emberplus-server node

First of all there is at least one emberplus-server node to be configured. Simply set an IP address and a port (usually 9000). It is possible to add several emberplus-server nodes for different targets (for example all your audio mixers). Optionally, provide a coma separated list of paths to limit the tree. If no path provided, the tool will download the entire tree - this could take a long time if the tree is really big.

Select/Create an Ember connection

Define a new Ember connection

emberplus node

Each emberplus node is associated with a previously configured emberplus-server node. Further an object path can be selected if the node should subscribe a specific object in the Ember+ tree. If you don't know the path, click on the looking glass symbol on the right.

Create your node

Input Pin

The input pin of the node takes different type of message payloads. For a Parameter node, the message payload is used to set the value of the parameter. The two types of message payloads are:

  • msg.payload takes the plain value to be set to the specified path. Example:
true
  • msg.payload contains path and value to the specified node. Example:
{"full":{"path":"0.1.0","value":true}}

For a Function node, the input pin is used to pass parameters to invoke the function from the ember server. The message payload types are:

  • msg.payload.args takes a javascript object containing the list of args for the function
[{"type":1,"value":17},{"type":1,"value":88}]
  • msg.payload takes a JSON object string that will be parsed to create the javascript object. The string should be similar to the obejct above.

The argument types are

1 integer
2 real
3 string

Inject a function

Inject a parameter

Output Pin

The data format of the output pin can be configured:

  • plain: msg.payload contains the plain value from the Ember+ object
  • contents: msg.payload.contents contains the contents Ember+ object from the underlying node-emberplus client
  • full: msg.payload.full contains the full Ember+ object from the underlying node-emberplus (including the device path)
  • json: msg.payload contains a JSON object representing the ember element.

For function element, the output is always the response to the invokation of the function.

{"invocationId":2,"success":true,"result":[{"type":"integer","value":105}]}

If needed the inital state may be sent by clicking a corresponding checkbox.

To Be Done

  • [ ] Setting matrix connections
  • [ ] Ember+ server