Skip to main content
POST
/
api
/
climate
/
getConfig
Get climate sensor config
curl --request POST \
  --url https://api2.rhombussystems.com/api/climate/getConfig \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
'
{
  "config": {
    "accelerometer_change_tamper_threshold": 123,
    "accelerometer_disabled": true,
    "alert_window_minutes": 123,
    "deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "lastModified": 123,
    "orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "pressure_switch_tamper_disabled": true,
    "smoke_ai_threshold": 123,
    "thc_ai_threshold": 123,
    "vape_ai_threshold": 123
  },
  "error": true,
  "errorMsg": "<string>",
  "warningMsg": "<string>"
}

Authorizations

x-auth-apikey
string
header
required

Your API key for Rhombus.

Headers

x-auth-scheme
string
default:api-token
required

Authentication scheme indicator ("api-token").

Required string length: 9

Body

application/json

Request to retrieve configuration for an environmental sensor.

uuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

Response

200 - application/json

OK

Response containing configuration for an environmental sensor.

config
object

Climate sensor configuration

error
boolean | null
errorMsg
string | null
warningMsg
string | null