Skip to content
© 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

RPC

To send custom SNMP requests via RPC, add an RPC communication config with key-to-OID mappings.

Send a GET RPC command by specifying method: "GET" and the mapping key:

{
"method": "GET",
"params": {
"key": "systemInfo"
}
}

ThingsBoard sends a GET request to the OID mapped to systemInfo, parses the response using the configured data type, and routes the result to the next Rule Node:

{
"systemInfo": "SNMP device"
}

Send a SET RPC command by specifying method: "SET", the mapping key, and the value to write:

{
"method": "SET",
"params": {
"key": "lastUpdateTime",
"value": "12901200312"
}
}

ThingsBoard sends a SET request to the OID mapped to lastUpdateTime with the provided value as an OCTET STRING.