How to install other modules in QNAP QIoT Suite Lite NodeRED?

How to install other modules in QNAP QIoT Suite Lite NodeRED?

In this tutorial, you will learn how to install other modules in QNAP QIoT Suite Lite NodeRED:

  1. Using UI to install NodeRED(npm) (Official Plugin)
  2. Manually to install NodeRED (Official Plugin)
  3. Manually to install Zip.file (Non-official Plugin)

Note: If UI do not display the node after installing then please install by manually.

 

1. Using UI to install NodeRED(npm) (Official Plugin)

  1. Go to QIoT Suite Lite >  Choose IoT Application > Go to Rule
  2. Click Menu > Choose Manage palette
  3.  Choose Install page and search your modules name, click install

  4. Pop-up warning message (There will be different Plugin installation, please refer to each Plugin instructions) and click install

  5. It will appear green frame as below (If appear red frame, it means do not support for this Plugin). If you already installed but do not show the node and please refresh your web page.


2. Manually to install NodeRED (Official Plugin)

  1. SSH into NAS
  2. Go into qiot-node-red Container:
    system-docker exec -ti qiot-node-red bash
  3. Move folder to node_modules:

    cd /usr/local/lib/node_modules/node-red/node_modules/ 
  4. Install NodeRED plugin:
    npm install node-red-contrib-webduino
  5. Restart all process:
    supervisorctl restart all
  6. See the NodeRED node as below:

 

3. Manually to install Zip.file (Non-official Plugin)

  1. Copy Zip file to NAS and unzip (e.g., Public folder)
  2. SSH into NAS
  3. Change to Plugin content(e.g., cd/share/public)
  4. Move the unzip file to QIoT Suite Lite NodeRED modules folder :
    mv node-red-contrib-CHT `/sbin/getcfg QIoT Install_Path -f /etc/config/qpkg.conf`/qiot-node-red/node-red/node_modules/
  5. Restart all the NodeRED porcess:
    system-docker exec -ti qiot-node-red supervisorctl restart all
  6. See the NodeRED node as below:

(note: If you are using GCC compiler or changing the OS interface then you may can not work unless installed successfully )

Related posts

Leave a Reply