@ralphwetzel/node-red-systeminformation does not load in ui node tools

The client side setup of this node is a bit special:

  1. Prior to registering its type, it's fetching data from the runtime.
  2. Type registration as well runs async (due to 1. )

Despite it's not a common pattern, it's valid operation or/and report issues if failing...

After running import example console says @ralphwetzel/systeminformation: Runtime module not responding. Setup canceled.

Colin, Manage Palette

image

Great! Thank you!
Do you use any middleware?

What do you get back when you try to open http://<your_host_ip_here>:1880/@ralphwetzel/systeminformation/api in a browser. <your_host_ip_here> could as well be localhost.

Unauthorized

Same here
http://192.168.0.3:1880/@ralphwetzel/systeminformation/api
Unauthorized

Yep!
Thank you all. Looks like it's an issue of a wrong application of permissions.
I'll create a fix, soon...

image

One final assumption here @vk4tux & @Buckskin: You should have authAdmin enabled in settings.js.

I've altered the endpoint now to not require any permissions. This should fix the issue reported here. v1.1.0 is already available.

Thank you very much for your contribution to get this solved! :clap:

1 Like

Now I see it , I downloaded the two files from github and replaced, restarted NR and now is in nodes > systeminformation.

1 Like

Testing Log In

image

1 Like

Yes. Thank you, working OK now

If someone has a comprehensive flow showing all parameter, all disks, diskspace etc, I would be very keen to try it please ?

Not quite sure what you are after but this gives an output of ALL parameters collected

[{"id":"2ab135baedb09084","type":"systeminformation","z":"aa9a87195d3159a2","name":"","group":"General","func":"getAllData","params":{"srv":"","iface":""},"poll":false,"interval":2,"onchangeonly":false,"x":1550,"y":1060,"wires":[["d026cbeb73ac5228"]]},{"id":"5ee80c0b2c83f542","type":"inject","z":"aa9a87195d3159a2","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":1280,"y":1060,"wires":[["2ab135baedb09084"]]},{"id":"d026cbeb73ac5228","type":"debug","z":"aa9a87195d3159a2","name":"System Information","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1830,"y":1060,"wires":[]}]

Thanks, but I was looking for a template display for dashboard, showing all details incl all drives in array with free space etc. I do not have the ability to setup that much detail in function code etc.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.