Install npm
$ sudo pacman -S npm
Getting Started
node-red
[happy@localhost ~]$ node-red
9 Mar 11:13:48 - [info]
Welcome to Node-RED
===================
9 Mar 11:13:48 - [info] Node-RED version: v0.16.2
9 Mar 11:13:48 - [info] Node.js version: v7.5.0
9 Mar 11:13:48 - [info] Linux 4.8.13-1-ARCH x64 LE
9 Mar 11:13:48 - [info] Loading palette nodes
9 Mar 11:13:48 - [warn] ------------------------------------------------------
9 Mar 11:13:48 - [warn] [rpi-gpio] Info : Ignoring Raspberry Pi specific node
9 Mar 11:13:48 - [warn] ------------------------------------------------------
9 Mar 11:13:48 - [info] Settings file : /home/freeman/.node-red/settings.js
9 Mar 11:13:48 - [info] User directory : /home/freeman/.node-red
9 Mar 11:13:48 - [info] Flows file : /home/freeman/.node-red/flows_localhost.json
9 Mar 11:13:48 - [info] Creating new flow file
9 Mar 11:13:48 - [info] Server now running at http://127.0.0.1:1880/
9 Mar 11:13:48 - [info] Starting flows
9 Mar 11:13:48 - [info] Started flows
Open the webpage, and type “http://127.0.0.1:1880/“. Start to create your internet of thing.Want more support function about xbee.
This requires the following npm packages to work properly:
node-red-node-serialport
xbee-api
Install these via npm, inside your node-red directory:
cd ~/.node-red
npm install node-red-node-serialport xbee-api node-red-contrib-zblight
Reference:
- npm is the package manager for JavaScript
- Node-RED A visual tool for wiring the Internet of Things
- node-red-contrib-zblight
- node-red-node-serialport
0 意見:
張貼留言