U-Board

Building floor energy and air

Buildings & energy · Floor plan

Each zone of an office floor painted by its air where it lies — quiet within the 20–26 °C comfort range, coloured outside it — with its power and CO₂ (marked past 1,000 ppm); beside it the building’s demand against its contracted peak, today’s energy, the air outside and each floor’s use. Example data.

Building floor energy and air

A board drawn with U-Board. Its values are example data written for it, not readings from a real site.

Open in the playground →

Board definition (JSON)

Everything that draws this board — where each value is read from (data), what is shown (parts), and where it sits and over what background (layout), in the same format U-Board’s editor and AI assistant write. The background drawing is long, so it is shortened here; the downloaded file has it whole.

Download — board.json
{
  "elements": {
    "zone": {
      "template": "<div class=\"zone {{band}} {{air}}\" role=\"img\" aria-label=\"{{name}} {{temp}}°C, {{kw}} kW, CO₂ {{co2}} ppm\">\n  <b>{{name}}</b>\n  <span class=\"t\">{{temp | fixed:1}}<small>°C</small></span>\n  <span class=\"m\">{{kw | fixed:1}} kW · <span class=\"co2\">CO₂ {{co2}} ppm</span></span>\n</div>",
      "style": ".zone{box-sizing:border-box;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;\npadding:6px;border:2px solid var(--c);border-radius:6px;background:color-mix(in srgb, var(--c) 14%, transparent);\nfont-family:var(--u-widget-font-family);color:var(--u-widget-text);--c:var(--u-widget-border)}\nb{font-size:13px;font-weight:600;color:var(--u-widget-text-secondary)}\n.t{font-size:24px;font-weight:600;font-variant-numeric:tabular-nums}\n.t small{font-size:12px;font-weight:500;color:var(--u-widget-text-secondary)}\n.m{font-size:12px;color:var(--u-widget-text-secondary);font-variant-numeric:tabular-nums}\n.cold{--c:var(--u-widget-primary)}\n.warm{--c:var(--u-widget-warning)}\n.hot{--c:var(--u-widget-negative)}\n.cold .t,.warm .t,.hot .t{color:var(--c)}\n.stuffy .co2{color:var(--u-widget-negative);font-weight:600}",
      "props": {
        "name": "string",
        "temp": "number",
        "band": "string",
        "kw": "number",
        "co2": "number",
        "air": "string"
      }
    }
  },
  "data": {
    "zones": {
      "from": "bems",
      "path": "/floor/3/zones",
      "list": "/value",
      "key": "id",
      "time": "updatedAt",
      "fresh": 900,
      "fields": {
        "tempC": {},
        "tempC-2": {
          "names": [
            "cold",
            20,
            "ok",
            26,
            "warm",
            28,
            "hot"
          ],
          "at": "/tempC"
        },
        "kw": {},
        "co2Ppm": {},
        "co2Ppm-2": {
          "names": [
            "fresh",
            1000,
            "stuffy"
          ],
          "at": "/co2Ppm"
        }
      }
    },
    "summary": {
      "from": "bems",
      "path": "/building/summary",
      "time": "updatedAt",
      "fresh": 900,
      "fields": {
        "demandKw": {
          "unit": "kW"
        },
        "todayKwh": {
          "label": "오늘 사용량",
          "unit": "kWh"
        },
        "outdoorC": {
          "label": "외기 온도",
          "unit": "°C"
        }
      }
    },
    "floors": {
      "from": "bems",
      "path": "/building/floors",
      "list": "/value",
      "fresh": 900,
      "answerTime": "/updatedAt"
    }
  },
  "parts": {
    "zone-open-a": {
      "as": "element",
      "element": "zone",
      "of": "zones[open-a]",
      "props": {
        "name": "오픈 오피스 A"
      },
      "bind": {
        "temp": "tempC",
        "band": "tempC-2",
        "kw": "kw",
        "co2": "co2Ppm",
        "air": "co2Ppm-2"
      }
    },
    "zone-open-b": {
      "as": "element",
      "element": "zone",
      "of": "zones[open-b]",
      "props": {
        "name": "오픈 오피스 B"
      },
      "bind": {
        "temp": "tempC",
        "band": "tempC-2",
        "kw": "kw",
        "co2": "co2Ppm",
        "air": "co2Ppm-2"
      }
    },
    "zone-meet-1": {
      "as": "element",
      "element": "zone",
      "of": "zones[meet-1]",
      "props": {
        "name": "회의실 1"
      },
      "bind": {
        "temp": "tempC",
        "band": "tempC-2",
        "kw": "kw",
        "co2": "co2Ppm",
        "air": "co2Ppm-2"
      }
    },
    "zone-it": {
      "as": "element",
      "element": "zone",
      "of": "zones[it]",
      "props": {
        "name": "전산실"
      },
      "bind": {
        "temp": "tempC",
        "band": "tempC-2",
        "kw": "kw",
        "co2": "co2Ppm",
        "air": "co2Ppm-2"
      }
    },
    "zone-meet-2": {
      "as": "element",
      "element": "zone",
      "of": "zones[meet-2]",
      "props": {
        "name": "회의실 2"
      },
      "bind": {
        "temp": "tempC",
        "band": "tempC-2",
        "kw": "kw",
        "co2": "co2Ppm",
        "air": "co2Ppm-2"
      }
    },
    "zone-lounge": {
      "as": "element",
      "element": "zone",
      "of": "zones[lounge]",
      "props": {
        "name": "라운지"
      },
      "bind": {
        "temp": "tempC",
        "band": "tempC-2",
        "kw": "kw",
        "co2": "co2Ppm",
        "air": "co2Ppm-2"
      }
    },
    "zone-open-c": {
      "as": "element",
      "element": "zone",
      "of": "zones[open-c]",
      "props": {
        "name": "오픈 오피스 C"
      },
      "bind": {
        "temp": "tempC",
        "band": "tempC-2",
        "kw": "kw",
        "co2": "co2Ppm",
        "air": "co2Ppm-2"
      }
    },
    "demand": {
      "as": "gauge",
      "of": "summary",
      "show": "demandKw",
      "min": 0,
      "max": 600,
      "subtitle": "지금 수요 전력",
      "thresholds": [
        {
          "to": 480,
          "color": "green"
        },
        {
          "to": 560,
          "color": "yellow"
        },
        {
          "to": 600,
          "color": "red"
        }
      ]
    },
    "today": {
      "as": "stat",
      "of": "summary",
      "show": "todayKwh"
    },
    "outdoor": {
      "as": "stat",
      "of": "summary",
      "show": "outdoorC"
    },
    "floors": {
      "as": "chart.bar",
      "of": "floors",
      "title": "층별 오늘 사용량 (kWh)",
      "x": "floor",
      "y": "kWh",
      "horizontal": true,
      "series": [
        {
          "label": "사용량",
          "color": "#4a555b"
        }
      ]
    }
  },
  "layout": {
    "kind": "canvas",
    "size": [
      1280,
      800
    ],
    "background": "(background drawing, 5 KB — in the downloaded file)",
    "place": {
      "zone-open-a": [
        52,
        100,
        420,
        230
      ],
      "zone-open-b": [
        484,
        100,
        444,
        230
      ],
      "zone-meet-1": [
        52,
        342,
        200,
        176
      ],
      "zone-it": [
        576,
        342,
        160,
        176
      ],
      "zone-meet-2": [
        748,
        342,
        180,
        176
      ],
      "zone-lounge": [
        52,
        530,
        300,
        218
      ],
      "zone-open-c": [
        364,
        530,
        564,
        218
      ],
      "demand": [
        980,
        100,
        270,
        150
      ],
      "today": [
        980,
        270,
        130,
        76
      ],
      "outdoor": [
        1120,
        270,
        130,
        76
      ],
      "floors": [
        980,
        366,
        270,
        300
      ]
    },
    "shapes": {
      "title": {
        "text": "3층 구역 에너지·환경",
        "at": [
          24,
          22
        ],
        "size": 24,
        "tone": "next"
      },
      "note": {
        "text": "구역마다 실내 온도(쾌적 20~26 °C 밖이면 색)·전력·CO₂(1,000 ppm 넘으면 표시) · 예시 데이터",
        "at": [
          24,
          56
        ],
        "size": 13,
        "tone": "past"
      },
      "side-title": {
        "text": "건물 전체 · 계약 전력 600 kW",
        "at": [
          980,
          72
        ],
        "size": 15,
        "tone": "next"
      }
    }
  }
}
Data (source answers JSON)

The sources the board reads and what they answered — only the fields the board reads. This page draws the board from these answers, with no server.

Download — data.json
{
  "connectors": [
    {
      "key": "bems",
      "name": "예시 BEMS API",
      "example": true,
      "attribution": {
        "text": "예시 데이터 — 실제 건물이 아닙니다"
      }
    }
  ],
  "capturedAt": "2026-10-20T05:00:00.000Z",
  "responses": {
    "bems": {
      "/building/summary": {
        "demandKw": 412,
        "todayKwh": 1948,
        "outdoorC": 17.8,
        "updatedAt": "2026-10-20T04:55:00Z"
      },
      "/building/floors": {
        "value": [
          {
            "floor": "5F",
            "kWh": 264
          },
          {
            "floor": "4F",
            "kWh": 287
          },
          {
            "floor": "3F",
            "kWh": 331
          },
          {
            "floor": "2F",
            "kWh": 298
          },
          {
            "floor": "1F",
            "kWh": 356
          },
          {
            "floor": "B1",
            "kWh": 412
          }
        ],
        "updatedAt": "2026-10-20T04:55:00Z"
      },
      "/floor/3/zones": {
        "value": [
          {
            "id": "open-a",
            "tempC": 23.6,
            "kw": 14.2,
            "co2Ppm": 720,
            "updatedAt": "2026-10-20T04:55:00Z"
          },
          {
            "id": "open-b",
            "tempC": 24.1,
            "kw": 15.8,
            "co2Ppm": 810,
            "updatedAt": "2026-10-20T04:55:00Z"
          },
          {
            "id": "meet-1",
            "tempC": 24.8,
            "kw": 2.1,
            "co2Ppm": 940,
            "updatedAt": "2026-10-20T04:55:00Z"
          },
          {
            "id": "it",
            "tempC": 29.3,
            "kw": 6.4,
            "co2Ppm": 430,
            "updatedAt": "2026-10-20T04:55:00Z"
          },
          {
            "id": "meet-2",
            "tempC": 27.1,
            "kw": 2.6,
            "co2Ppm": 1060,
            "updatedAt": "2026-10-20T04:55:00Z"
          },
          {
            "id": "lounge",
            "tempC": 25.2,
            "kw": 4.3,
            "co2Ppm": 1180,
            "updatedAt": "2026-10-20T04:55:00Z"
          },
          {
            "id": "open-c",
            "tempC": 19.4,
            "kw": 12.9,
            "co2Ppm": 650,
            "updatedAt": "2026-10-20T04:55:00Z"
          }
        ],
        "updatedAt": "2026-10-20T04:55:00Z"
      }
    }
  }
}