node-red-contrib-persist
node-red-contrib-persist copied to clipboard
Need to be able to set storage ID on something besides the name of the node so that this node can be used in a subflow that contains charts
Currently, you cannot use this node within a subflow and have the chart data stored in a unique ID for that node. The ID under which this is stored inside the data store needs to be settable using a environment variable rather than the hard coded name of the node.
In Dashboard 2.0, you can include charts and ui widgets inside of a subflow. In order to save the state of these nodes, you need to be able to set the ID for storage using an environment variable rather than the name of the node since that will overwrite the last valued saved with some other chart's data from another invocation of the subflow.