-
Hello, Use case I want to use FlowForge for:
Our goal is to create easy solution that will centralize all the data.We already have the main building blocks:
My question is - can NodeRED controlled by FlowForge access the file system of the device it is running on (for example Raspberry PI) and read files / update them?I am little confused because when I looked into this I found out that EXEC nodes and FILES nodes are disabled. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Hello, Until recently default Node-RED instances running in the FlowForge managed instance in the cloud have the File and Exec nodes disabled. This is because when running in the cloud the Node-RED instances run in docker container (in a Kubernetes cluster). This means that there is no persistent filesystem to interact with and no extra commands installed in the container that it would make sense to use with the exec node. The nodes were disabled to prevent users trying to use them in a way that would just lead to failures. We recently added support for using the File nodes. We have included modified versions of the code Node-RED file nodes in the latest Node-RED Stacks, these are backed by a network service that allows files to be safely stored outside the containers. If you can not see the file nodes in your cloud projects please look under the Projects Settings page to see if you can update the stack to the latest version. So that covers the instance of Node-RED running in the cloud platform. Now when snapshots of these projects are deployed using the FlowForge Device Agent (so they run on the remote hardware) the normal core File nodes are loaded so the flows can then interact with the local filesystem on the device. We do not yet have a solution that will work for the exec node, as mentioned earlier it doesn't make sense in the container environment where there are no commands that could be run, but if there is a strong customer requirement we can look again to see there is a workable solution. If you would like to setup a call to talk about this please let me know. |
Beta Was this translation helpful? Give feedback.
-
Q1: I am little bit confused ... when the snapshots on the EdgeDevices are 1:1 to the NodeRED instance in the cloud - how can I program it to use the default File nodes (I am specially interested in the Q2: Can I program the FlowForge Device Agent separately from the NodeRED instance in the cloud? Q3: And if there will be some differences between NodeRED in the FlowForge cloud and the NodeRED on the EdgeDevice how can I track or monitor the EdgeDevices via FlowForge? I am completely new to this platform and still looking around! Sorry if these question are of the basic kind 😄 |
Beta Was this translation helpful? Give feedback.
-
Okay cool! Thank you for your help. Excited for new features to come! :) |
Beta Was this translation helpful? Give feedback.
Hello,
Until recently default Node-RED instances running in the FlowForge managed instance in the cloud have the File and Exec nodes disabled. This is because when running in the cloud the Node-RED instances run in docker container (in a Kubernetes cluster). This means that there is no persistent filesystem to interact with and no extra commands installed in the container that it would make sense to use with the exec node. The nodes were disabled to prevent users trying to use them in a way that would just lead to failures.
We recently added support for using the File nodes. We have included modified versions of the code Node-RED file nodes in the latest Node-RED Stacks, these are backed …