4.0.2 • Published 3 years ago

@cumulus-consulting/mfgx-io-node-red-nodes v4.0.2

Weekly downloads
17
License
MIT
Repository
-
Last release
3 years ago

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

4.0.2

3 years ago

4.0.1

3 years ago

4.0.0

3 years ago

3.2.0

3 years ago

3.1.0

4 years ago

3.0.0

4 years ago

1.5.1

4 years ago

1.5.0

4 years ago

1.4.0

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

5 years ago