I’m trying to retrieve a list of all devices of a specific type, along with their settings, from a Perspective project. However, system.device.listDevices() only returns Name, Enabled, State and Driver.
Context: I developed a custom communication driver that exposes a Device Connection Type, and I need to read a few of its settings in a device list in Perspective.
On the other hand, the new Gateway API in Ignition 8.3 exposes
http://<gateway>/data/api/v1/resources/list/com.inductiveautomation.opcua/device,
which returns all the settings and much more.
Since both serve a similar purpose, why do they return such different information? I’d expect the scripting function, which runs inside the gateway, to expose at least as much as the external API.
Is this intentional, and are there plans to expose device settings through system.device.*?
Note: I’ve already worked around it by implementing a system.<module>.listDevices() function in my module, I’m just curious about the reasoning.