Hello,
I am using Node-RED 3.0.2 with node-red-contrib-opcua 0.2.292.
I want to subscribe to events but I get no data and also no error.
Subscribing/reading normal nodes (ExtensionObjects) works fine.
If I subscribe to Events with uaExpert, I get the desired data:
This is my flow:
{
"id": "ad464b54af5eb688",
"type": "OpcUa-Event",
"z": "3f73c5999eb84da2",
"root": "i=2253",
"activatecustomevent": false,
"eventtype": "i=2041",
"customeventtype": "ns=17;i=88",
"name": "",
"x": 380,
"y": 2400,
"wires": [
[
"f6954615cac75d82"
]
]
},
{
"id": "cfe183dcfdf23d4d",
"type": "inject",
"z": "3f73c5999eb84da2",
"name": "",
"props": [],
"repeat": "",
"crontab": "",
"once": true,
"onceDelay": 0.1,
"topic": "",
"x": 190,
"y": 2400,
"wires": [
[
"ad464b54af5eb688"
]
]
},
{
"id": "f6954615cac75d82",
"type": "OpcUa-Client",
"z": "3f73c5999eb84da2",
"endpoint": "074b43a250e83847",
"action": "events",
"deadbandtype": "a",
"deadbandvalue": 1,
"time": "100",
"timeUnit": "ms",
"certificate": "n",
"localfile": "",
"localkeyfile": "",
"securitymode": "None",
"securitypolicy": "None",
"folderName4PKI": "",
"name": "OPC UA Client machine 11 S4 Events",
"x": 630,
"y": 2400,
"wires": [
[
"f0a7bdfcba5aa42d"
]
]
},
{
"id": "074b43a250e83847",
"type": "OpcUa-Endpoint",
"endpoint": "opc.tcp://10.10.151.71:62590",
"secpol": "None",
"secmode": "None",
"none": false,
"login": true,
"usercert": false,
"usercertificate": "",
"userprivatekey": ""
}
]
In both I used the Server Node and with the BaseEvent I should get all Events, like I get with uaExpert and checking all Types, right?
Did I make a mistake or is something missing?
Thanks!