Sense · Schema

Sense Realtime Payload

Real-time power snapshot delivered via WebSocket or the /realtime_update REST endpoint. Contains whole-home wattage, solar output, grid exchange, voltage, frequency, and currently active devices.

EnergyHome Energy MonitoringIoTSmart HomeElectricitySolarDevice DetectionReal-Time DataClimate Tech

Properties

Name Type Description
w number Current whole-home power consumption in watts.
solar_w number Current solar panel production in watts. Zero for non-solar monitors.
grid_w number Net grid exchange in watts. Positive indicates import from grid; negative indicates export to grid.
hz number AC grid frequency in hertz.
voltage array AC voltage readings per electrical leg in volts. US residential panels report two legs.
devices array List of currently active detected devices and their power draw.
View JSON Schema on GitHub

JSON Schema

sense-realtime-payload.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sense/main/json-schema/sense-realtime-payload.json",
  "title": "Sense Realtime Payload",
  "description": "Real-time power snapshot delivered via WebSocket or the /realtime_update REST endpoint. Contains whole-home wattage, solar output, grid exchange, voltage, frequency, and currently active devices.",
  "type": "object",
  "properties": {
    "w": {
      "type": "number",
      "description": "Current whole-home power consumption in watts.",
      "minimum": 0,
      "example": 1234.5
    },
    "solar_w": {
      "type": "number",
      "description": "Current solar panel production in watts. Zero for non-solar monitors.",
      "minimum": 0,
      "example": 850.0
    },
    "grid_w": {
      "type": "number",
      "description": "Net grid exchange in watts. Positive indicates import from grid; negative indicates export to grid.",
      "example": 384.5
    },
    "hz": {
      "type": "number",
      "description": "AC grid frequency in hertz.",
      "minimum": 50,
      "maximum": 70,
      "example": 60.01
    },
    "voltage": {
      "type": "array",
      "description": "AC voltage readings per electrical leg in volts. US residential panels report two legs.",
      "items": {
        "type": "number",
        "minimum": 0,
        "maximum": 300
      },
      "minItems": 1,
      "maxItems": 4,
      "example": [121.2, 120.8]
    },
    "devices": {
      "type": "array",
      "description": "List of currently active detected devices and their power draw.",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Device ID"
          },
          "name": {
            "type": "string",
            "description": "Device name"
          },
          "icon": {
            "type": "string",
            "description": "Device icon identifier"
          },
          "w": {
            "type": "number",
            "description": "Current device power consumption in watts",
            "minimum": 0
          }
        },
        "required": ["id", "name", "w"]
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sense-realtime-payload"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.