Node-RED: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 30: | Line 30: | ||
25 Feb 22:51:10 - [info] Started flows | 25 Feb 22:51:10 - [info] Started flows | ||
</source> | </source> | ||
If you started a '''screen''' before the command can run it in the background. | |||
<h2>Using the Node-RED</h2> | |||
You can open it in a browser http://home.local:1880 if you installed the Avahi daemon, else can open on the http://device_ip:188. |
Revision as of 10:35, 6 June 2017
Installing Node-RED
First install the Node.js.
When that working install the Node-RED , with command:
sudo npm install -g --unsafe-perm node-red
Running the Node-RED
If installed globally (-g) , just simply need to enter the command:
$ node-red
Welcome to Node-RED
===================
25 Feb 22:51:09 - [info] Node-RED version: v0.14.6
25 Feb 22:51:09 - [info] Node.js version: v4.6.0
25 Feb 22:51:09 - [info] Loading palette nodes
25 Feb 22:51:10 - [warn] ------------------------------------------
25 Feb 22:51:10 - [warn] [rpi-gpio] Info : Ignoring Raspberry Pi specific node
25 Feb 22:51:10 - [warn] ------------------------------------------
25 Feb 22:51:10 - [info] Settings file : /home/nol/.node-red/settings.js
25 Feb 22:51:10 - [info] User Directory : /home/nol/.node-red
25 Feb 22:51:10 - [info] Server now running at http://127.0.0.1:1880/
25 Feb 22:51:10 - [info] Creating new flows file : flows_noltop.json
25 Feb 22:51:10 - [info] Starting flows
25 Feb 22:51:10 - [info] Started flows
If you started a screen before the command can run it in the background.
Using the Node-RED
You can open it in a browser http://home.local:1880 if you installed the Avahi daemon, else can open on the http://device_ip:188.