Armadillo-IoT G3へNode-REDをインストールする

Raspberry Pi用のインストールを利用

Armadillo-IoT G3のOSは,Debian JessieなのでRaspi用のインストーラを利用します.

Node-REDのインストールドキュメント Running on Raspberry Piを参考にしていきます.

atmark ユーザーをsudoersに追加します


# usermod -a -G sudo atmark




bash <(curl -sL

ステップバイステップで進めていく中で, raspi特有の下記の部分だけは, N を選択します.

Would you like to install the Pi-specific nodes ? [y/N] ?


This can take 20-30 minutes on a Pi 1 - please wait.

  Stop Node-RED                       ✔
  Remove old version of Node-RED      ✔
  Remove old version of node.js       -
  Update node.js LTS                  ✔   Node v6.12.0   Npm 3.10.10
  Clean npm cache                     ✔
  Install Node-RED core               ✔   0.17.5 
  Move global nodes to local          -
  Install extra Pi nodes              -
  Npm rebuild existing nodes          ✔
  Add menu shortcut                   ✔
  Update systemd script               ✔
  Update update script                ✔

Any errors will be logged to   /var/log/nodered-install.log

All done.
  You can now start Node-RED with the command  node-red-start
  or using the icon under   Menu / Programming / Node-RED
  Then point your browser to localhost:1880 or http://{your_pi_ip-address}:1880

Started  2017年 11月 28日 水曜日 22:13:02 JST  -  Finished  2017年 11月 28日 水曜日 22:16:32 JST


node-red-start コマンドで起動します.

atmark@armadillo:~$ node-red-start

デーモンで起動するので, Ctrl+cして抜けてしまっても大丈夫です.

Start Node-RED

Once Node-RED has started, point a browser at http://192.168.xx.xx:1880
On Pi Node-RED works better with the Firefox or Chrome browser

Use   node-red-stop                          to stop Node-RED
Use   node-red-start                         to start Node-RED again
Use   node-red-log                           to view the recent log output
Use   sudo systemctl enable nodered.service  to autostart Node-RED at every boot
Use   sudo systemctl disable nodered.service to disable autostart on boot

To find more nodes and example flows - go to

Starting as a systemd service.
Started Node-RED graphical event wiring tool..
28 Nov 22:18:33 - [info]
Welcome to Node-RED
28 Nov 22:18:33 - [info] Node-RED version: v0.17.5
28 Nov 22:18:33 - [info] Node.js  version: v6.12.0
28 Nov 22:18:33 - [info] Linux 3.14.79-at18 arm LE
28 Nov 22:18:34 - [info] Loading palette nodes
28 Nov 22:18:41 - [warn] ------------------------------------------------------
28 Nov 22:18:41 - [warn] [rpi-gpio] Info : Ignoring Raspberry Pi specific node
28 Nov 22:18:41 - [warn] ------------------------------------------------------
28 Nov 22:18:41 - [info] Settings file  : /home/atmark/.node-red/settings.js
28 Nov 22:18:41 - [info] User directory : /home/atmark/.node-red
28 Nov 22:18:41 - [info] Flows file     : /home/atmark/.node-red/flows_armadillo.json
28 Nov 22:18:41 - [info] Creating new flow file
28 Nov 22:18:41 - [info] Starting flows
28 Nov 22:18:41 - [info] Started flows
28 Nov 22:18:42 - [info] Server now running at

起動したら,ブラウザで http://{Armadillo-IoT G3 IP}:1880/ を入力して表示させます.

停止するときは, node-red-stop コマンドを入力します.

atmark@armadillo:~$ node-red-stop

Stop Node-RED

Use   node-red-start   to start Node-RED again



Armadillo-IoT G3へNode-REDをインストールする” への1件のフィードバック