--- title: "write iot values()" slug: "io-t-write-values" updated: 2026-08-13T11:42:01Z published: 2026-08-13T11:42:01Z canonical: "docs.lobstersoftware.com/io-t-write-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. # write iot values() Some integrations must not only read data, but also send setpoints or control commands to a device. The function `write iot values()` writes values to the specified node IDs of an IoT server. > [!WARNING] > **IMPORTANT:** This function writes values directly to the OPC UA server. Before using this in production, check whether the target node controls a running process or a physical device. ## Parameters | Parameter | Type | Default value | Description | | --- | --- | --- | --- | | a | String (alias) | – | IoT server alias. | | b | String (list name) | – | Name of the list with the node IDs to write. Separate multiple IDs with a comma. **Example for a single value:** *ns=5;s=Int16DataItem*. | | c | String (list name) | – | Name of the list with the values to write, in the same order as list **b**. **Example for a single value:** *77*. | | d | Boolean | false | Optional. If *true*, the function rereads the values from list **c** after writing. This confirms the write operation. | ## Related - [browse iot node()](/io-t-browse-node.md) - [call iot function()](/io-t-call-function.md) - [read iot values()](/io-t-read-values.md) - [IOT (Input agent)](/profiles--entry-tab-2-iot.md) - [Industry 4.0 (channel settings)](/channel-iot.md)