I
I
Igor Markov2019-09-11 00:39:00
Node.js
Igor Markov, 2019-09-11 00:39:00

Question about Node-red. How to return settings?

Guys, tell me, who knows how to solve such a problem.
Schemes work, scripts in Node-red, switches are turned on, sliders are configured, schedules, etc.
But when the computer reboots, then all the settings go astray, and in order to return everything as it was, you need to press everything again.
How can this be fixed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Voronin, 2019-11-05
@av0000

For example, store data in the file contextStorage for NodeRed 0.19+ or in a self-written file for older ones. On startup read from file.
But it will be necessary to significantly complicate the programs so that they look not at their state, but at the context (global or flow - optional) and do not forget to switch it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question