OPC UA Reader reads values for variables and forwards the payload to next module.
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
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" : {
"express" : "^4.17.3" ,
"express-winston" : "^4.2.0" ,
"node-fetch" : "^2.6.1" ,
"node-opcua" : "^2.71.0"
}