Node-red-contrib-s2 on MPII GX - Opportunity Loads

Hi,

I would like to test the new OL function. I have had separate systems for diverting excess solar to boilers, hottub, heaters, heatpumps,.. for many years but the option to integrate these in VenusOS would be very nice and would make this setup more user-friendly (which in turn means that it would in the future be suited for use at other managed sites).

I am however unable to install the S2 node. The installation fails and Nodered palette log only displays:

2026-10-10T11:26:08.492Z Install : node-red-contrib-s2 0.9.6

2026-10-10T11:26:08.831Z /usr/bin/node /usr/lib/node_modules/node-red/node_modules/npm/bin/npm-cli.js install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --omit=dev --omit=peer --engine-strict – node-red-contrib-s2@0.9.6
2026-10-10T11:27:28.819Z rc=null"

My first guess was limited RAM and the system log ‘OOM kills’ confirm this:

[58374.844226] simple-upnpd invoked oom-killer: gfp_mask=0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), order=0, oom_score_adj=0
[58377.268113] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),task=npm install nod,pid=11433,uid=993
[58377.277607] Out of memory: Killed process 11433 (npm install nod) total-vm:282596kB, anon-rss:111448kB, file-rss:0kB, shmem-rss:0kB, UID:993 pgtables:436kB oom_score_adj:0
[136578.296863] gui invoked oom-killer: gfp_mask=0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), order=0, oom_score_adj=0
[136580.700508] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),task=npm install nod,pid=3907,uid=993
[136580.709958] Out of memory: Killed process 3907 (npm install nod) total-vm:270832kB, anon-rss:99908kB, file-rss:92kB, shmem-rss:0kB, UID:993 pgtables:438kB oom_score_adj:0
[137908.593143] dbus-daemon invoked oom-killer: gfp_mask=0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), order=0, oom_score_adj=0

I have tried:

Disabling (dashboard and dashboard 2.0) nodes to free memory, disabled all flows and even started NR in safe mode, all without success. Nodered is the only integration that is enabled on this GX.

Manually installing the previous V0.9.5, same error

Disabling all other things that could use resources (wifi GX display,..)

Any tips are welcome to get this working for testing. Or is the 500 MB of RAM in the GX module simply not enough for this implementation (I don’t think so, given the relatively limited dependencies)?

Thank you!!

Is this a built-in gx in a multiplus2 gx?

Hi, yes it is. Thanks

I suspect these smaller gx’s might not have the resources for the nodern OS and all its updated components. Thanks for the report, I have raised this with the team.

FYI

I was able to successfully load the S2 node by preparing it on another machine and copying it (along with the necessary dependencies) to the GX, rather than installing it on the GX itself. So it’s actually the installation via the Palette (or npm) that requires more memory than is available on the GX module.

My problem has been resolved for now, and I can continue with my test, but feel free to let me know if there’s any additional information I can provide regarding S2 on this (limited?) GX module in the MPII. I wonder if the node would install successfully if it were included directly in the VenusOS firmware image.

Thanks

It sounds like the compiler is eating memory. There are changes in 3.90 for another GX, might help here as well.