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

**URL:** <https://discourse.nodered.org/t/node-red-contrib-opcua-value-and-timestamp-do-not-update-after-write/100492>\
**Category:** General\
**Tags:** opcua\
**Created:** [3 March 2026 15:11 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-value-and-timestamp-do-not-update-after-write/100492 "2026-03-03T15:11:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Muntliger](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@Muntliger](https://discourse.nodered.org/u/Muntliger)\
**Post date:** [3 March 2026 15:11 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-value-and-timestamp-do-not-update-after-write/100492/1 "2026-03-03T15:11:33Z")

</div>

Hi,

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

> **[OPC-UA Server Variables Example (flow) - Node-RED](https://flows.nodered.org/flow/f96e07aa69fa0c26aabba6028737d7e0/in/gzu0bJiFfpEb)**

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!

---

<div class="post-metadata">

**Author:** ![AdrianM](https://avatars.discourse-cdn.com/v4/letter/a/8edcca/32.png) [@AdrianM](https://discourse.nodered.org/u/AdrianM)\
**Post date:** [26 March 2026 20:16 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-value-and-timestamp-do-not-update-after-write/100492/2 "2026-03-26T20:16:09Z")

</div>

I have exactly the same and when I try to write on a variable that is created automatically by the OPC-UA server (MyVariable2) it is working??

---

<div class="post-metadata">

**Author:** ![AdrianM](https://avatars.discourse-cdn.com/v4/letter/a/8edcca/32.png) [@AdrianM](https://discourse.nodered.org/u/AdrianM)\
**Post date:** [27 March 2026 00:23 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-value-and-timestamp-do-not-update-after-write/100492/3 "2026-03-27T00:23:08Z")

</div>

I downgraded from 0.2.350 to 0.2.340 and it is working perfectly I am suspecting a bug on 350 maybe in the command to change the variable value...

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [27 March 2026 08:24 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-value-and-timestamp-do-not-update-after-write/100492/4 "2026-03-27T08:24:35Z")

</div>

What have you downgraded?

---

<div class="post-metadata">

**Author:** ![AdrianM](https://avatars.discourse-cdn.com/v4/letter/a/8edcca/32.png) [@AdrianM](https://discourse.nodered.org/u/AdrianM)\
**Post date:** [27 March 2026 19:21 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-value-and-timestamp-do-not-update-after-write/100492/5 "2026-03-27T19:21:27Z")

</div>

Opc-ua package to 0.2.340 right now the latest is 0.2.350 and the guy who started the chat is in 0.2.348.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [25 June 2026 19:21 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-value-and-timestamp-do-not-update-after-write/100492/6 "2026-06-25T19:21:30Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
