Connectivity Schema

Nest Thermostat 

sdm.devices.traits.Connectivity

This trait belongs to any device that has connectivity information.

Fields

Field Description Data Type
status Device connectivity status. string
Values: "OFFLINE", "ONLINE"

Sample GET request and response

Request

GET /enterprises/project-id/devices/device-id

Response

{
  "name" : "enterprises/project-id/devices/device-id",
  "traits" : {
    "sdm.devices.traits.Connectivity" : {
      "status" : "ONLINE"
    }
  }
}

Commands

There are no commands available for this trait.

Errors

The following error code(s) may be returned in relation to this trait:

Error Message RPC Troubleshooting
Device not found. NOT_FOUND An invalid or missing device name was specified. Specify a valid device.

See the API Error Code Reference for the full list of API error codes.