Node-Red-SignalK-App - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: Node Red (https://forum.openmarine.net/forumdisplay.php?fid=15) +--- Thread: Node-Red-SignalK-App (/showthread.php?tid=2281) |
Node-Red-SignalK-App - Moeritsen - 2020-01-29 Hello everybody, The last days I’ve worked a lot with the Node-Red-Version, that ist started as a App in SignalK-Server on Openplotter 2 I do know that most parts of Openplotter2 are still in beta, maybe solving my problem can help others . If you‘ll start Node-Red as SignalK-App there will be some special Nodes belonging so SignalK. These Nodes are very usefull to implement SignalK-Messages directly in Node-Red, especially the SignalK input handler. Now I will describe my problem: To store variables (flow, global etc) even after shutdown one can use „contextstorage“, described here: https://nodered.org/docs/user-guide/context In a normal Node-Red installation you will find the folder „context“, where the variables a stored in. The folder is part oft he Node-Red-Installation, found here: ~/.node-red/context To make use of the possibility of storage in /context I had to edit „settings.js“ as described in the link above. So far so good. When I try to use the same structure within the SignalK-App of Node-Red, no variables are stored. I can’t find the folder „context“ too. Even when I generate a new folder „context“ in the (nearly) same folder-structure no data will be stored. Is this a bug in the Node-Red-Signal-K-App or do I miss something? It would be nice to get an answer, that will help me. Thanks Michael, just back from „boot“-Düsseldorf, working with the open-boat-project guys RE: Node-Red-SignalK-App - tonylmiller - 2021-02-23 I would like to know this as well! I've tried editing the "Node Red Settings" under the plugin config within SignalK but when I add something there, it fails to start NodeRed. I tried putting the Setting Name as contextStorage and the Setting Value as: contextStorage: { default: "memoryOnly", memoryOnly: { module: 'memory' }, file: { module: 'localfilesystem' } } I've also tried stripping the contextStorage: from the beginning of that, leaving it with just the JSON and that also fails. RE: Node-Red-SignalK-App - PaddyB - 2021-02-24 That's not really an openplotter question, might be better to ask the signalk guys - http://slack-invite.signalk.org/ RE: Node-Red-SignalK-App - farrucho - 2021-11-12 (2021-02-23, 09:48 PM)tonylmiller Wrote: I would like to know this as well! I've tried editing the "Node Red Settings" under the plugin config within SignalK but when I add something there, it fails to start NodeRed. I tried putting the Setting Name as contextStorage and the Setting Value as: Hello, did you resolve this issue? I can't find a way to do it. Your help would be good for me. Thank you |