@vfk_research/node-red-contrib-msb
v1.0.3
Published
Nodes to connect to the Manufacturing Service Bus (MSB) developed by VFK Research (Fraunhofer IPA)
Downloads
14
Maintainers
Readme
MSB integration in node-RED flows
Compatibility Matrix
Version compatibility to MSB versions:
| | 1.5.x-RELEASE | 1.6.x-RELEASE | |---|:---:|:---:| | 1.0.x | x | x |
Welcome
If you want to contribute, please read the Contribution Guidelines.
If you want to know how to use this integration in your own node-RED flows, read below.
What is VFK MSB
TODO: Link to general documentation about VFK MSB
You can use this integration to connect a node-RED flow to VFK MSB.
Install package to node-RED
Install npm package to your node-RED instance:
npm install @vfk_research/node-red-contrib-msb
or add the node-red-contrib-msb
package via the node-RED package manager.
Available nodes
Available nodes:
- msb-object node: Main node to set up the self-description and connection to MSB
- msb-event node: Node to link messages to an MSB event (always wire its output to the msb-object node)
- msb-config node: Node to get the current value of a MSB configuration parameter
Restrictions
Currently, only one msb-object node should be used within the same Node-Red instance. A single Node-Red instance is able to represent only one samrt object
connected to the VFK MSB
.
Sample flow
You can use this sample flow to test the capabilities of the nodes:
To connect the flow to an MSB instance and test it, some steps need to be done:
- Update following field in the msb-object node:
UUID
: You can create UUIDs using this Online Generator.Token
: Choose your token to be used in MSB verification laterMSB-URL
: Set the URL to your MSB instance (websocket interface)
- Deploy the flow - this will establish the connection to MSB
- Verify your node app in MSB GUI
- Now you are ready to test messages from the node app to MSB (use the inject-nodes)
- Optional: if you also want to test incoming messages from MSB to the node app, you can add an integration flow in MSB GUI linking hte node app events to its functions (just for testing) e.g.