Persistence variables #1744
Unanswered
Waterbrain
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a stream that stores and retrieves global variables in the file system:
In SS prep data, te code is:
Which are saved via savefileout node.
When I need them via "Restore vi" node:
The problem is that as Node-Red works embedded in HomaAssistant and when you restart the file where the variables are saved, oh it has disappeared.
Is there any way to achieve a persistence of these files?
I imagine that since it is dockerized, when the image is booted, its virtual space disappears.
Outside of HomeAssitant this works perfectly and in the sawdust.js file I don't see how to do it.
Beta Was this translation helpful? Give feedback.
All reactions