Skip to content

weeve-modules/opcua-reader

Repository files navigation

OPC UA Reader

Name OPC UA Reader
Version v1.0.0
DockerHub weevenetwork/opcua-reader
Authors Mesud Pasic

Description

OPC UA Reader reads values for variables and forwards the payload to next module.

Environment Variables

Environment Variables type Description
OPC_UA_SERVER string OPC UA Server endpoint
MAX_RETRY integer Max retry for connection
NODE_ID string Node ID to connect to
VARIABLE_LIST string Comma separated list of variables to read
OPC_UA_USERNAME string Username if authentication is required
OPC_UA_PASSWORD string Password if authentication is required

Module Specific

Set by the weeve Agent on the edge-node

Environment Variables type Description
MODULE_NAME string Name of the module
INGRESS_HOST string Host where app is running
INGRESS_PORT string Port where app is running
EGRESS_URLS string HTTP ReST endpoint for the next module

Output sent to next module looks like this

  {
    timestamp: <timestamp value>,
    value: <value of the variable>,
    name: <name of the variable>,
  }

Dependencies

"dependencies": {
    "express": "^4.17.3",
    "express-winston": "^4.2.0",
    "node-fetch": "^2.6.1",
    "node-opcua": "^2.71.0"
}

About

Module reads list of variables from specific node and forwards the JSON output to next module.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •