Overview
In the first example, we saw how to configure the groov View project and Data Store and then read a Data Store tag just to see that everything was working correctly.
Read a Tag Connected to a Gadget
- Go back to the simple Node-RED flow from the previous section.
- If you need to recreate the flow, it is three nodes connected:
- A default Inject node, which is connected to a:
- groov View Read node, reading a variable named “integerTag1”, which is connected to:
- A default Debug node.
- Deploy the flow and test it out.
- If you need to recreate the flow, it is three nodes connected:
- In the groov View project, create a Text Input gadget for the “integerTag1” tag.
- Go to groov View, and change the value of the tag.
- Back in Node-RED, click the Inject node’s button (the square on the left-side of the node).
- In the Debug tab, you should see an entry with the tag’s new value.
Further Help
Node-RED nodes include help documentation within Node-RED itself. For detailed help on the groov Read node, select the node in the node palette or one in a flow, and the help will be displayed in the Info tab.
Next Step
Continue on to writing Data Store tags.