--- title: "read iot values()" slug: "io-t-read-values" updated: 2026-08-13T11:36:47Z published: 2026-08-13T11:36:47Z canonical: "docs.lobstersoftware.com/io-t-read-values" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # read iot values() To evaluate sensor data or machine states, you need current values from an OPC UA server. The function `read iot values()` reads the values for the specified node IDs. It writes the results to a list. ## Parameters | Parameter | Type | Default value | Description | | --- | --- | --- | --- | | a | String (alias) | – | IoT server alias. See [IOT (Input agent)](/v1/docs/en/profiles--entry-tab-2-iot). | | b | String (list name) | – | Name of the list with the node IDs to read. Separate multiple IDs with a comma. | | c | String (list name) | – | Name of the list the function writes the read values to. | | d | Boolean | false | Optional. If *true*, the function clears list **c**, before it inserts new values. | **Example:** List b contains ns=3;i=1001,ns=5;s=Int16DataItem to read two nodes in one call. ## Related - [browse iot node()](/io-t-browse-node.md) - [call iot function()](/io-t-call-function.md) - [write iot values()](/io-t-write-values.md) - [IOT (Input agent)](/profiles--entry-tab-2-iot.md)