mikakaraila / node-red-contrib-opcua

A Node-RED node to communicate OPC UA. Uses node-opcua library.
Other
214 stars 196 forks source link

addVariable seems not to work anymore #76

Closed Fietje10 closed 6 years ago

Fietje10 commented 6 years ago

Hi,

thank you for the great work, which I used in some former projects on a Raspberry Pi to access and provide OPC-UA server/client connections. Now on another Node-Red instance on a windows PC in the newest version there seems to be a problem injecting an "addVariable" command leading to the following error:

""AssertionError [ERR_ASSERTION]: this.identifierType""

Was there any recent change that might caused this ? Adding a folder is still possible without any issues. I also tried your example OPCUA-TEST.json, just in case I did something wrong, but it shows the same issue.

Thanks ! Fietje

mikakaraila commented 6 years ago

Ack, I will check this.

mikakaraila commented 6 years ago

Fixed, addVariable parameter dataType must be string not opcua type. I pushed new version with the wrong issue number...