Skip to content

Cookie preferences

We use cookies for our own analytics and to see how our campaigns perform. We never sell your data. Necessary cookies keep the site working and cannot be switched off. See our Cookie Policy for details.

Security, load balancing and remembering your cookie choice.

Show us which pages people read and how they find the site, so we can improve it (Google Analytics).

Show us which of our ad campaigns bring visitors to the site (Google Ads).

© 2026 The ThingsBoard Authors
Try for free

ThingsBoard Cloud

Choose your data region

Your data stays in the region you choose, for residency and compliance. No credit card required.

Rather run it yourself? Install on your own servers

Built-in GET/SET RPC Methods

Built-in GET/SET RPC methods let you read and write telemetry and attribute values on connected devices without any additional connector configuration. The method name and parameter string are sent as the RPC payload from the ThingsBoard RPC debug terminal on the gateway dashboard.

The following connectors support built-in GET/SET RPC methods:

Every telemetry and attribute parameter has GET and SET methods automatically, based on the path defined in the connector configuration.

For example, given a timeseries entry:

{
"timeseries": [
{
"key": "temperature",
"path": "${ns=3;i=1001}"
}
]
}

Read the current value of a node by its OPC-UA node ID:

Terminal window
get ns=3;i=1001;

Response:

{"result": 25.34}

Write a numeric value to a node:

Terminal window
set ns=3;i=1001; value=23;

Write a string value to an attribute node (e.g. set model to T3000):

Terminal window
set ns=3;i=1008; value=T3000;

Response:

{"success": "true", "code": 200}