I wrote an NR application that manages a Photovoltaic installation.
I also installed it at a friend's house that has almost the same inverter.
For the flow updates, I do it in the following way:
- I stop Node Red
- I make a copy of his file; flows_Raspberry.json
- I completely erase this one
- I restart Node Red, which creates an empty file, so the flows are empty too.
- I export all my flows in a flow.json file and I import them on his Pi via the NR import function.
It works. I do it this way because I have found that the layout can be damaged if I selectively delete a flow and then import it.
But, I have nodes that have specific values for its configuration, such as: the mail node, or telegram node, etc...
So with my manipulation, after importing the flows I have to define again its own values such as its email, password, etc...
So my question is:
Is there a much better way to update your configuration in a more fluid way and without having to retype your information at each update?
Oops, I've been a bit long, but I hope it's clear enough