Overview
The Node-RED for groov View nodes must be installed before they can be used. There are several possible methods, depending upon how you are running Node-RED.
Install groov View Nodes
Option 1 - Install from within Node-RED (including GRV-EPIC-PR1 and GROOV-AR1)
- Make sure that your Node-RED runtime can access the Internet.
- If you’re using Node-RED on a groov EPIC processor or groov Edge Appliance, then the device must be able to access the Internet when installing nodes. Details on this are in the groov EPIC Troubleshooting and groov Edge Appliance Troubleshooting sections..
- Open the Node-RED editor in your browser.
- Click the menu icon (the “hamburger”) in the upper right corner of the editor, and then select the Manage palette menu item. This will open the “Manage palette” view.
- Click the Install tab.
- In the search field, enter node-red-contrib-groov. It should return with one entry.
- Click the install button. It will take a few moments to process.
- Click Done to close the Manage palette view.
- The groov Read and Write nodes should now be in the list of available nodes.
Option 2 - Install Manually with NPM
On a computer, Node-RED nodes can be installed from the command line, either “locally” for the current user, or “globally” for all users on a system. For a typical single-user computer, it doesn’t matter much which method you use.
Install Globally for All Users
On Windows, to install the groov View nodes globally, open a command prompt window and enter:
npm install -g node-red-contrib-groov
On Linux systems, you will very likely need to prepend the command with “sudo”, like this:
sudo npm install -g node-red-contrib-groov
Then run or restart Node-RED.
Install Locally for Current User
To install for only the current user, you must be in their .node-red directory, and do not use the -g option.
For Windows:
cd C:\Users\<username>\.node-red
npm install node-red-contrib-groov
For Linux:
cd ~/.node-red
npm install node-red-contrib-groov
Then run or restart Node-RED.
Next Step
If you’re new to Node-RED, continue to our Node-RED Hello, world! example.
If you already know Node-RED, you can jump to groov View Project Configuration.