OpenMarine

Full Version: Node Red Context stores
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
(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...ction/9460
Thanks
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
(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/
Thank you so much.