Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including node-red-contrib-netbeast with all npm packages installed. Try it out:

node-red-contrib-netbeast lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("node-red-contrib-netbeast/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

node-red-contrib-netbeast v0.1.0

Netbeast nodes for node-red

Netbeast node for Node-RED

We have added a new module to integrate the Netbeast api. It has been developed by Netbeast Team.

##Installation

This will guide you to add the Netbeast node to your Node-RED directory. It's supposed that you have Node-RED installed, if it's not installed and you still want to try the Netbeast node, check out this repository where you can find how to install the Node-RED app we have developed into your Dashboard.

Before you can use the Netbeast node in Node-RED, you will need a Netbeast Dashboard running in your network. Have a look at this useful guide netbeast docs and learn how to install and run the dashboard.

Now you can install the Netbeast node to your Node-RED installation by using this command in your Node-RED root directory:

npm install node-red-contrib-netbeast

It is widely explained in the Node-RED documentation

After installing the Netbeast node you will need to restart Node-RED for it to pick-up the new nodes.

Usage

Once you have installed the Netbeast Dashboard and the Netbeast node for Node-RED, you can follow this instructions to learn how to use the node.

First of all, you have to run the Netbeast Dashboard

beast start --port 8000

Now run Node-RED by using this command in your Node-RED root directory

node red.js

Finally go to your browser. You will find Node-RED running at http://localhost:1880if you are using the default port. If all went fine you will have a new module called netbeast and you will be able to configure node-red to control your devices using Netbeast.

Have a look at Netbeast api for full information about all available topics and arguments you can use.

Here you have the nodes you need to include with the "netbeast" one so it can work propertly.

Using netbeast node

And here you can see an example of what you should write in the inject node.

Using netbeast node: inject

##CONTACT

Netbeast: http://netbeast.co / staff@netbeast.co

##REFERENCES

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free