Install Node.js on Wago Device

Documentation by this readme-file:

1 Like

To install Node-RED on the host, once Node.JS is installed;

npm install -g --unsafe-perm node-red
node-red start

Note: most palette modules will install, however some that depend on Python3 and will not install on the PFC200 (like node-red-contrib-modbus).

1 Like

Guess Node.js / Node-Red native on the CC100 will free up som resources as well. Not sure if the home assistant module also could use Python3 though. I need to research this some more and give it a go. I only run Node-Red on the CC100 so would have been nice to get rid of docker.

1 Like

I’m not sure the Docker overhead is really revelant in term of ressources…
Docker will make updates much easier.
For instance you can stop the actual version, try to run the updated version, and if there is any issue you can still go back and improve the availability of the system.
Quentin

2 Likes

I think we need both possibilities (docker + direct install) because poeple thinks differently about the techology. Docker is great, its so simple at first sight, but there is a lot of things to learn also here. Then we must difference between using docker in a “real-life” developement/production environment versus just testing/demo purpose. Just for testing node.js / Grafana on our platform it may be easier to start with a direct install, and then maybe move on to docker later if needed. Different applications support for ARMv7l would also be something to think about wathever needs to be installed.

1 Like