Instance of: Device with sensors

Robot vacuum

Docked

Object & API

This synthetic object powers the controls above. Requests run in this browser.

Object schema · Explore in graph

GET /api/devices/demo-device-26

Current object state
{
  "schemaVersion": 1,
  "id": "demo-device-26",
  "name": "Robot vacuum",
  "status": "online",
  "health": {
    "status": "healthy",
    "detail": "Simulated device",
    "checkedAt": "2000-01-01T00:00:00.000Z"
  },
  "manufacturer": "Roborock",
  "model": "Robot vacuum",
  "capabilities": {
    "sensor": {
      "id": "demo-device-26",
      "state": {
        "availability": "online",
        "observedAt": "2000-01-01T00:00:00.000Z",
        "sensors": [
          {
            "id": "battery",
            "name": "Battery",
            "quantity": "battery",
            "value": 88,
            "unit": "%",
            "availability": "online",
            "observedAt": "2000-01-01T00:00:00.000Z"
          }
        ],
        "detail": "Docked"
      },
      "actions": {}
    }
  },
  "sensors": [
    {
      "id": "battery",
      "name": "Battery",
      "schemaId": "https://hometruth.ai/schemas/battery-sensor",
      "kind": "battery",
      "unit": "%",
      "state": {
        "availability": "online",
        "value": 92,
        "observedAt": "2000-01-01T00:00:00.000Z"
      }
    }
  ]
}

Sensor schemas

Capabilities & actions

sensor

Capability schema

Read-only capability; no controls are declared.