Quantcast
Channel: MultiTech Developer Resources » All Posts
Viewing all articles
Browse latest Browse all 7111

Reply To: Adding nodes to node-red

$
0
0

Nothing is easy is it? Thanks to this thread I was finally able to add a node to Node-RED on the Conduit. Here’s a summary:

  • cd /opt/node-red/nodes
    • The default $HOME/.node-red/nodes seems to be disabled, so you need install in the installation directory, which also means your additions will be gone if you upgrade the firmware.
  • npm install node-red-contrib-the-new-node
    • npm exists since AEP 1.2.2
  • Restart the Conduit using the web interface under the Commands menu.
    • Oddly, restarting node-red is not enough. There is a mysterious hidden file at /var/config/app/install/development/.config.json which needs to contain the new node. Somehow a restart causes this to happen.
    • node-red takes minutes to start. Monitor /var/log/app/node-red.log to see progress.
  • This reply was modified 19 hours, 2 minutes ago by  Heath Raftery.

Viewing all articles
Browse latest Browse all 7111

Trending Articles