patsec/ot-sim

Node-Red "ot-sim out" modules don't affect tag value

Opened this issue · 3 comments

I'm trying to use Node-Red to modify tag values. When testing, I've found that the 'ot-sim out' nodes don't actually affect the value of tags in the message bus. When using the tags in the same node-red flow, they appear to be changed, but the values do not change for other ot-sim modules.

Hi @SleepyHIpster I would need to see a way to reproduce this. We have many examples of the ot-sim out node successfully affecting tag values within other OT-sim modules via the message bus.

Specifically, I'm having issues with messages updating across node-RED instances. For example, I'm trying to use one instance to modify input data, and another as an HMI of sorts.

Instance 1:
ot-sim in [tag1] --> ot-sim out [tag2]

Instance 2:
ot-sim in[tag2] --> debug

When looking at the debug, there are messages coming through, but the value is 0.

@SleepyHIpster so are you running two OT-sim NodeRED modules on the same OT-sim device?

If you can, please provide the OT-sim config file(s) you're using so I can try to reproduce.