Adding a new node type to Node-RED
Adding a new node type to Node-RED: follow the steps below:
TWO: search your package, for example Watson developer cloud to use IBM Watson APIs directly on node.js / node-RED environment:
THREE: click on git-hub link repository and download the package:
FOUR: access to your node-RED application dashboard on Blue-mix
FIVE: click on EDIT CODE to work with DevOps environment and import the package in to nodes directory:
SIX: edit package.json configuration file to add the new imported package definition:
SEVEN: redeploy the application using the play button in previous DevOps environment.
Based on package installed type you should be able to use new package in bluemix-settings.js by require directive
so you can use the new APIs in any function node
otherwise if the new node can be used directly by its graphical shape you will able to see it in node’s menu, for example I added the freeboard and emoncms nodes, two web dashboard nodes usefully to visualize graphically the IoT sensor data:
All comments are welcomed !