Accessing Ignition tags from external micro service

I am looking for some guidance on how to access Ignition tags and extract the information using python from a external micro service running in a container. Any guidance would be appreciated.

Similar to the ignition node in node red

The easiest option is the Webdev module, which lets you define web API routes that will be run by Ignition: Web Dev - Ignition User Manual 8.1 - Ignition Documentation

Then it's a "simple" HTTP call from whatever external program you want.

Is there an alternative rather than using API?

Another option is to find an OPC UA client library for Python and connect it to Ignition's OPC UA server. Significantly more involved than making HTTP calls to a WebDev endpoint.

1 Like

How would I extract memory tags using OPC UA though?

Ignition's OPC UA server has an option you can enable that exposes all of Ignition's tags over the OPC UA interface.

https://docs.inductiveautomation.com/display/DOC81/Ignition's+OPC+UA+Server

'Expose Tag Providers'

Perfect! Thank you so much for your help!