node-red-contrib-opcua
node-red-contrib-opcua copied to clipboard
OPC-UA Server Variable Example
I believe the example OPCUA-VARIABLE.json use to work. After comparison I believe either the "namespace" is being ignored or the namespace needs to be added to "variableName". Change from "TestVariable2" to "1:TestVariable2" below.
The example message format currently not working: {"messageType":"Variable","variableName":"TestVariable2","datatype":"Float","namespace":"1","variableValue":"23.4"}
After modification to reflect a client variable write: {"messageType":"Variable","variableName":"1:TestVariable2","datatype":"Float","namespace":"1","variableValue":"23.4"}
I expect it´s due node-opcua checks Qualified name. I haven´t notice this by myself. variableName equals browseName that is Qualified name.
I will study this more when I have time, but if you can fix variable names then I will not start to modify code...