OpenMarine
Node Red Context stores - 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: Node Red Context stores (/showthread.php?tid=2539)



Node Red Context stores - affinite - 2020-05-01

Hi, I want to change the default storage location for global context to store in the file system rather than in memory only.
(This is so I can store a counter value and not loose it on reboot.)
I understand from Node-Red.org that I need to make a change in settings.js but I can find several settings.js files
Which one should I edit ?
Thanks

Openplotter Ver 2, NR ver 1.0.6


RE: Node Red Context stores - JeroenAdam - 2020-06-09

(2020-05-01, 09:55 PM)affinite Wrote: Hi, I want to change the default storage location for global context to store in the file system rather than in memory only.
(This is so I can store a counter value and not loose it on reboot.)
I understand from Node-Red.org that I need to make a change in settings.js but I can find several settings.js files
Which one should I edit ?
Thanks

Openplotter Ver 2, NR ver 1.0.6

Should be fs https://discourse.nodered.org/t/using-fs-in-the-node-function/9460


RE: Node Red Context stores - affinite - 2020-06-10

Thanks


RE: Node Red Context stores - pacman - 2022-04-01

I am using the SignalK embedded Node Red and would like to use the files system store to keep variables values upon reboot.
There are several settings.js Node Red files under the SignalK folder.
Which one should be modified, please?

The suggested link on nodered.org is not addressing this need.
Thank you in advance


RE: Node Red Context stores - PaddyB - 2022-04-01

(2022-04-01, 12:13 PM)pacman Wrote: I am using the SignalK embedded Node Red and would like to use the files system store to keep variables values upon reboot.
There are several settings.js Node Red files under the SignalK folder.
Which one should be modified, please?

The suggested link on nodered.org is not addressing this need.
Thank you in advance

That's more of a question for signalk, the author of the plugin will be in here >>
http://slack-invite.signalk.org/


RE: Node Red Context stores - pacman - 2022-04-02

Thank you so much.