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


Forum Jump:


Users browsing this thread: 1 Guest(s)