OpenMarine
Appropriate way to add node-red-contrib-os - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: Node Red (https://forum.openmarine.net/forumdisplay.php?fid=15)
+--- Thread: Appropriate way to add node-red-contrib-os (/showthread.php?tid=5302)



Appropriate way to add node-red-contrib-os - Vladdy - 2024-04-03

Hi
New to this. Searched forum but couldn't find what I think I'm looking for...

I want to read RPi system statistics into Node Red embedded, CPU utilisation, temp, etc. Found this example:  System statistics of Raspberry Pi (flow) - Node-RED (nodered.org)
However this requires that I install the following:

Code:
npm install node-red-contrib-os

What is the correct way to do this for Node Red embedded?
And how might I monitor the success or failure thereof?

I thought I could add it under 'Npm modules to make available' in the Node Red config under SignalK but the documentation on this is very sparse.
Thank you in advance.


RE: Appropriate way to add node-red-contrib-os - PaddyB - 2024-04-03

Best to install node red and raspberry pi monitoring apps in the signalk app store.

The monitoring app writes the data into signalk which can be accessed in node red if you want to do something with it in there

[Image: Ar8XKlz.png]


RE: Appropriate way to add node-red-contrib-os - Vladdy - 2024-04-03

Fabulous, thanks Paddy.