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/nodesseems to be disabled, so you need install in the installation directory, which also means your additions will be gone if you upgrade the firmware.
- The default
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.jsonwhich 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.logto see progress.
- Oddly, restarting node-red is not enough. There is a mysterious hidden file at