@vitormnm/node-red-simple-opcua 1.3.1

Custom Node-RED OPC UA server node powered by node-opcua

npm install @vitormnm/node-red-simple-opcua

@vitormnm/node-red-simple-opcua

OPC UA client and server with a simple graphical interface for Node-RED. fully parameterized via JSON.

It supports the following OPC UA items on only 3 nodes.

  • alarms
  • events
  • events read and write tags in server(See which tags are being written to or read from the client directly on the server in a simple workflow)
  • methods(write methods in node-red flow)
  • variables
  • objects
  • simple objectsType
  • custom namespace
  • custom nodeID
  • Subscription Variables and events in client

Server editor node-red-si

Client editor node-red-si

example json server config

{
    "objects": [],
    "folders": [
        {
            "name": "MyServer",
            "displayName": "",
            "description": "",
            "nodeId": "",
            "namespaceId": 2,
            "objectsType": "",
            "folders": [
                {
                    "name": "newFolder",
                    "displayName": "",
                    "description": "",
                    "nodeId": "",
                    "namespaceId": 2,
                    "objectsType": "",
                    "folders": [],
                    "objects": [],
                    "variables": [
                        {
                            "name": "newVariable",
                            "type": "Int32",
                            "value": "",
                            "access": "readwrite",
                            "description": "",
                            "displayName": "",
                            "nodeId": "",
                            "namespaceId": 2
                        }
                    ],
                    "alarms": [],
                    "methods": [],
                    "objectsTypes": []
                }
            ],
            "objects": [
                {
                    "name": "newObject",
                    "displayName": "",
                    "description": "",
                    "nodeId": "",
                    "namespaceId": 2,
                    "objectsType": "",
                    "folders": [],
                    "objects": [],
                    "variables": [
                        {
                            "name": "newVariable",
                            "type": "Int32",
                            "value": "",
                            "access": "readwrite",
                            "description": "",
                            "displayName": "",
                            "nodeId": "",
                            "namespaceId": 2
                        }
                    ],
                    "alarms": [],
                    "methods": [],
                    "objectsTypes": []
                }
            ],
            "variables": [
                {
                    "name": "newVariable",
                    "type": "Int32",
                    "value": "",
                    "access": "readwrite",
                    "description": "",
                    "displayName": "",
                    "nodeId": "",
                    "namespaceId": 2
                }
            ],
            "alarms": [],
            "methods": [
                {
                    "name": "newMethod",
                    "description": "",
                    "displayName": "",
                    "nodeId": "",
                    "namespaceId": 2,
                    "inputs": [],
                    "outputs": []
                }
            ],
            "objectsTypes": []
        }
    ],
    "objectsTypes": [],
    "nameSpaces": [
        {
            "id": 2,
            "name": "urn:node-red:opc-ua-server"
        }
    ]
}

Node Info

Version: 1.3.1
Updated 3 hours ago
License: MIT
Rating: 4.0 1

Categories

Actions

Rate:

Downloads

657 in the last week

Nodes

  • opc-ua-server
  • opcua-server-io
  • opcua-client-config
  • opcua-client

Keywords

  • node-red
  • opcua
  • node-opcua
  • opcua-server

Maintainers