# Node Red OPCUA client updates the tag incorrectly when subscribed

**URL:** https://discourse.nodered.org/t/node-red-opcua-client-updates-the-tag-incorrectly-when-subscribed/62208
**Category:** Industrial
**Created:** [5 May 2022 02:37 UTC](https://discourse.nodered.org/t/node-red-opcua-client-updates-the-tag-incorrectly-when-subscribed/62208 "2022-05-05T02:37:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dinesh](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@dinesh](https://discourse.nodered.org/u/dinesh)
#### Post date: [5 May 2022 02:37 UTC](https://discourse.nodered.org/t/node-red-opcua-client-updates-the-tag-incorrectly-when-subscribed/62208/1 "2022-05-05T02:37:32Z")

</div>

Hi,

I'm using node red OPC UA client to read data. It actually works fine.

The problem is when I unsubscribe and resubscribe, it incorrectly set a boolean tag to true even though it is in false state.

I then have to manually ON the physical signal and OFF it, so that it detects it correctly in the false state.

As mentioned earlier, this only happens when I subscribe at startup and not all tags are affected.

Is there a way to avoid this false trigger at startup from happening? If there is any work around is also fine.

thank you

---

<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: [4 July 2022 02:37 UTC](https://discourse.nodered.org/t/node-red-opcua-client-updates-the-tag-incorrectly-when-subscribed/62208/2 "2022-07-04T02:37:43Z")

</div>

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