This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Node Red Context stores
#1
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
Reply
#2
(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
Reply
#3
Thanks
Reply
#4
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
Reply
#5
(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/
Reply
#6
Thank you so much.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)