node-red-contrib-opcua – Value and timestamp do not update after write

Hi,

I am using node-red-contrib-opcua and following the example flow from here:

The server starts correctly and I can connect with UaExpert without any problems. Browsing works and I can see the variables.

However, when I change a variable value — either:

  • by writing from UaExpert, or
  • by updating the value from Node-RED (via inject / server message)

the following happens:

  • The value does not change (it stays the same as before), and
  • The timestamp is not updated.

There are no visible errors in Node-RED.

I am using:

  • node-red-contrib-opcua version: 0.2.348
  • OPC UA Server running on opc.tcp://127.0.0.1:53880
  • Anonymous login, SecurityPolicy: None

Questions:

  • Is there anything special required to trigger a DataChange?
  • Does the server require a specific message format to properly update value and timestamp?
  • Is sourceTimestamp handled automatically or must it be set manually?

Any hints would be appreciated.

Thank you!