@cumulus-consulting/mfgx-io-node-red-nodes

4.0.2 • Public • Published

MFGx Node-RED Nodes

A Collection of nodes for Node-RED used for interacting with MFGx.

Install

To install - either use the manage palette option in the editor, or change to your Node-RED user directory.

    cd ~/.node-red
    npm install @cumulus-consulting/mfgx-io-node-red-nodes

Nodes

mfgx-query


This node will make a query against the graphql service for the configured MFGx instance.

Input

  • Variables: The value of the incoming msg.payload will be used as the variables for GraphQL request.

Output

The results of the the GraphGL statement

mfgx-webhook


This node will make posts to the MFGx webhook service.

Input

  • Value: The incoming msg.payload will be used as the value to post to the configured webhook. If msg.payload is null then the configured default value will be used. If that is blank then an object of {} will be used

Output

The result of a successful post to a web hook will be a 204 http response and will blank. Otherwise an error will be logged

mfgx-iiot


This node will make it easy to send tag reads from a machine into MFGx

Input

  • Value: The value of the incoming msg.payload will be the value of the tag read.

Configuration

  • Channel: The Collection of tags to post values to.
  • Tag: The name of tag to post values to. If it does not exist it will be added to the channel
  • Quality: The quality of the tags being posted
  • Tag Value: The deafult value to post if msg.payload is blank

Output

This node uses the MFGx webhook service to update tags. the result of a successful update will be an 204 http response and will blank. Otherwise an error will be logged

mfgx-integrate


This node will send a integration request to the MFGx integration service.

Input

  • Payload: The incoming msg.payload will be used as the payload for the integration request

Configuration

  • Result: This will be the name of the top level field in the results object
  • Connection: The name of the integration connection in MFGx to use
  • Payload: The deafult payload used if msg.payload is blank

Output

The result of the integration request.

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
4.0.20latest

Version History

VersionDownloads (Last 7 Days)Published
4.0.20
4.0.10
4.0.00
3.2.00
3.1.00
3.0.00
1.5.10
1.5.00
1.4.00
1.3.20
1.3.10
1.1.21
1.1.10
1.1.00
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i @cumulus-consulting/mfgx-io-node-red-nodes

Weekly Downloads

1

Version

4.0.2

License

MIT

Unpacked Size

116 kB

Total Files

7

Last publish

Collaborators

  • lmenard