IgnitionModuleDevelopmentCommunity / IgnitionNode-RED

Adds support for Node-RED
Apache License 2.0
31 stars 7 forks source link

Event based triggers #13

Closed mdeluca1992 closed 3 years ago

mdeluca1992 commented 3 years ago

Would love to have the ability to trigger a flow based on an event or tag change in Ignition without having to read the tag continuously.

Current method - read tags from Ignition into Node Red then do something

New idea - trigger a flow based on a tag change then do something

iatraviscox commented 3 years ago

I love that idea. The integration we have right now was very simple to prove it out. There is so much more we can do. Let me see what I can do with that. I will keep you posted.

In the meantime, there is an OPC-UA client node that you can use:

https://flows.nodered.org/node/node-red-contrib-opcua

With that you can subscribe to tags created in Ignition. You just need to expose our tag providers. You can find more information about that here:

https://docs.inductiveautomation.com/display/DOC81/OPC+UA+Server+Settings

iatraviscox commented 3 years ago

We have released a new version, 1.5.8, that includes a tag read node over web sockets so Ignition will push value changes into the flow versus polling for the values.

See here.