U-Board

A smart farm — isometric

Agriculture & smart farming · Isometric site plan

A farm seen from above at an angle, like a model on a table — four glasshouses with their crop rows showing through the glass, the seedling house, the nutrient room and the packing house, each with a tag pinned to its roof: the temperature and humidity inside and what it is doing now (vents open, shading, irrigating). Beside it the weather the vents answer to, the day’s harvest, each house’s temperature against the heat alarm, and the water and power used. Example data.

A smart farm — isometric

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
{
  "board": {
    "accent": "#15803d"
  },
  "elements": {
    "masthead": {
      "template": "<header class=\"mast\"><span class=\"kicker\">스마트팜 단지 · {{asOf}} 기준</span><h1>햇살농원 온실 네 동과 부속동</h1><p>동마다 안의 온도와 지금 하는 일 — 환기창·차광·관수는 바깥 날씨를 따라 자동으로 움직입니다</p></header>",
      "style": ".mast{height:100%;box-sizing:border-box;display:grid;align-content:center;gap:4px;color:#1f2937;font-family:var(--u-widget-font-family)}\n.kicker{font-size:13px;font-weight:700;letter-spacing:.06em;color:#15803d}\nh1{margin:0;font-size:26px;line-height:1.15;letter-spacing:-.01em}\np{margin:0;font-size:13px;color:#4b5563}",
      "props": {
        "asOf": "string"
      }
    },
    "tag": {
      "template": "<div class=\"tag {{level}}\">\n  <header><b>{{name}}</b><span>{{what}}</span></header>\n  <p><strong>{{value | fixed:1}}<small>{{unit}}</small></strong><em>{{label2}} {{value2 | fixed:0}}{{unit2}}</em></p>\n  <footer><i></i>{{note}}</footer>\n</div>",
      "style": ".tag{--c:#16a34a;height:100%;box-sizing:border-box;display:grid;grid-template-rows:auto 1fr auto;gap:2px;padding:8px 12px 7px;border-radius:10px;background:#fff;border:1px solid #d1d5db;border-left:5px solid var(--c);box-shadow:0 4px 10px rgba(15,23,42,.10);color:#1f2937;font-family:var(--u-widget-font-family)}\n.warn{--c:#d97706}.alert{--c:#dc2626}\nheader{display:flex;align-items:baseline;gap:6px;white-space:nowrap;overflow:hidden}\nheader b{font-size:14px}\nheader span{font-size:12px;color:#6b7280;overflow:hidden;text-overflow:ellipsis}\np{margin:0;display:flex;align-items:baseline;justify-content:space-between;gap:8px;white-space:nowrap}\nstrong{font-size:24px;line-height:1.1;font-variant-numeric:tabular-nums}\nsmall{font-size:13px;font-weight:600;color:#4b5563;margin-left:1px}\nem{font-style:normal;font-size:12px;color:#4b5563;font-variant-numeric:tabular-nums}\nfooter{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:600;color:var(--c);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\nfooter i{flex:none;width:7px;height:7px;border-radius:50%;background:var(--c)}",
      "props": {
        "name": "string",
        "what": "string",
        "value": "number",
        "unit": "string",
        "label2": "string",
        "value2": "number",
        "unit2": "string",
        "level": "string",
        "note": "string"
      }
    },
    "weather": {
      "template": "<section class=\"wx\">\n  <header>바깥 날씨 <span>{{sky}}</span></header>\n  <dl>\n    <div><dt>기온</dt><dd>{{temp | fixed:1}}<small>°C</small></dd></div>\n    <div><dt>일사량</dt><dd>{{solar | grouped:0}}<small>W/㎡</small></dd></div>\n    <div><dt>풍속</dt><dd>{{wind | fixed:1}}<small>m/s</small></dd></div>\n  </dl>\n  <p>풍속 8m/s를 넘으면 환기창이 닫히고, 일사량 700W/㎡를 넘으면 차광막이 펼쳐집니다</p>\n</section>",
      "style": ".wx{height:100%;box-sizing:border-box;display:grid;grid-template-rows:auto 1fr auto;gap:6px;padding:12px 14px;border-radius:10px;background:#fff;border:1px solid #d1d5db;color:#1f2937;font-family:var(--u-widget-font-family)}\nheader{font-size:14px;font-weight:700}\nheader span{font-weight:400;color:#6b7280;margin-left:4px}\ndl{margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;align-items:center}\ndl div{display:grid;gap:1px}\ndt{font-size:11px;color:#6b7280}\ndd{margin:0;font-size:20px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}\ndd small{font-size:11px;font-weight:600;color:#6b7280;margin-left:1px}\np{margin:0;font-size:11px;line-height:1.4;color:#6b7280}",
      "props": {
        "temp": "number",
        "solar": "number",
        "wind": "number",
        "sky": "string"
      }
    }
  },
  "data": {
    "now": {
      "from": "farm",
      "path": "/farm/now",
      "time": "updatedAt",
      "fresh": 600,
      "fields": {
        "asOf": {},
        "harvest": {
          "label": "오늘 수확",
          "unit": "kg"
        },
        "harvestByHour": {},
        "water": {
          "label": "오늘 관수",
          "unit": "㎥"
        },
        "power": {
          "label": "오늘 전력",
          "unit": "kWh"
        }
      }
    },
    "houses": {
      "from": "farm",
      "path": "/farm/houses",
      "list": "/value",
      "key": "id",
      "time": "updatedAt",
      "fresh": 600,
      "fields": {
        "value": {},
        "value2": {},
        "level": {},
        "note": {}
      }
    },
    "weather": {
      "from": "farm",
      "path": "/farm/weather",
      "time": "updatedAt",
      "fresh": 600,
      "fields": {
        "temp": {},
        "solar": {},
        "wind": {},
        "sky": {}
      }
    },
    "temps": {
      "from": "farm",
      "path": "/farm/temps",
      "list": "/value",
      "fresh": 600,
      "answerTime": "/updatedAt"
    }
  },
  "parts": {
    "masthead": {
      "as": "element",
      "element": "masthead",
      "of": "now",
      "bind": {
        "asOf": "asOf"
      }
    },
    "tag-g1": {
      "as": "element",
      "element": "tag",
      "of": "houses[g1]",
      "props": {
        "name": "1동",
        "what": "방울토마토",
        "unit": "°C",
        "label2": "습도",
        "unit2": "%"
      },
      "bind": {
        "value": "value",
        "value2": "value2",
        "level": "level",
        "note": "note"
      }
    },
    "tag-g2": {
      "as": "element",
      "element": "tag",
      "of": "houses[g2]",
      "props": {
        "name": "2동",
        "what": "오이",
        "unit": "°C",
        "label2": "습도",
        "unit2": "%"
      },
      "bind": {
        "value": "value",
        "value2": "value2",
        "level": "level",
        "note": "note"
      }
    },
    "tag-g3": {
      "as": "element",
      "element": "tag",
      "of": "houses[g3]",
      "props": {
        "name": "3동",
        "what": "딸기",
        "unit": "°C",
        "label2": "습도",
        "unit2": "%"
      },
      "bind": {
        "value": "value",
        "value2": "value2",
        "level": "level",
        "note": "note"
      }
    },
    "tag-g4": {
      "as": "element",
      "element": "tag",
      "of": "houses[g4]",
      "props": {
        "name": "4동",
        "what": "파프리카",
        "unit": "°C",
        "label2": "습도",
        "unit2": "%"
      },
      "bind": {
        "value": "value",
        "value2": "value2",
        "level": "level",
        "note": "note"
      }
    },
    "tag-nursery": {
      "as": "element",
      "element": "tag",
      "of": "houses[nursery]",
      "props": {
        "name": "육묘장",
        "what": "모종",
        "unit": "°C",
        "label2": "습도",
        "unit2": "%"
      },
      "bind": {
        "value": "value",
        "value2": "value2",
        "level": "level",
        "note": "note"
      }
    },
    "tag-nutrient": {
      "as": "element",
      "element": "tag",
      "of": "houses[nutrient]",
      "props": {
        "name": "양액실",
        "what": "EC 농도",
        "unit": "dS/m",
        "label2": "탱크",
        "unit2": "%"
      },
      "bind": {
        "value": "value",
        "value2": "value2",
        "level": "level",
        "note": "note"
      }
    },
    "tag-packing": {
      "as": "element",
      "element": "tag",
      "of": "houses[packing]",
      "props": {
        "name": "선별장",
        "what": "저온 저장고",
        "unit": "°C",
        "label2": "보관",
        "unit2": "상자"
      },
      "bind": {
        "value": "value",
        "value2": "value2",
        "level": "level",
        "note": "note"
      }
    },
    "weather": {
      "as": "element",
      "element": "weather",
      "of": "weather",
      "bind": {
        "temp": "temp",
        "solar": "solar",
        "wind": "wind",
        "sky": "sky"
      }
    },
    "harvest": {
      "as": "stat",
      "of": "now",
      "show": "harvest",
      "trend": "harvestByHour"
    },
    "temps": {
      "as": "chart.line",
      "of": "temps",
      "title": "동별 온도 — 오늘 (°C)",
      "x": "hour",
      "y": [
        "g1",
        "g2",
        "g3",
        "g4"
      ],
      "smooth": true,
      "valueAxisZero": false,
      "referenceLines": [
        {
          "axis": "y",
          "value": 30,
          "label": "고온 경보",
          "style": "dashed"
        }
      ],
      "series": [
        {
          "label": "1동",
          "color": "#65a30d"
        },
        {
          "label": "2동",
          "color": "#0891b2"
        },
        {
          "label": "3동",
          "color": "#dc2626"
        },
        {
          "label": "4동",
          "color": "#ca8a04"
        }
      ]
    },
    "water": {
      "as": "stat",
      "of": "now",
      "show": "water"
    },
    "power": {
      "as": "stat",
      "of": "now",
      "show": "power"
    }
  },
  "layout": {
    "kind": "canvas",
    "size": [
      1280,
      680
    ],
    "background": "(background drawing, 19 KB — in the downloaded file)",
    "place": {
      "masthead": [
        40,
        18,
        580,
        74
      ],
      "tag-g1": [
        364,
        98,
        188,
        82
      ],
      "tag-g2": [
        56,
        150,
        188,
        82
      ],
      "tag-g3": [
        646,
        168,
        188,
        82
      ],
      "tag-g4": [
        760,
        292,
        188,
        82
      ],
      "tag-nursery": [
        32,
        420,
        188,
        82
      ],
      "tag-nutrient": [
        214,
        534,
        188,
        82
      ],
      "tag-packing": [
        600,
        560,
        188,
        82
      ],
      "weather": [
        950,
        24,
        290,
        140
      ],
      "harvest": [
        950,
        178,
        290,
        112
      ],
      "temps": [
        950,
        304,
        290,
        232
      ],
      "water": [
        950,
        550,
        140,
        104
      ],
      "power": [
        1100,
        550,
        140,
        104
      ]
    },
    "shapes": {
      "site-note": {
        "text": "단지 배치 · 태그는 각 동의 지붕에 핀으로 꽂혀 있습니다 · 예시 데이터",
        "at": [
          40,
          650
        ],
        "size": 12
      }
    }
  }
}
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": "farm",
      "name": "예시 스마트팜 환경제어 API",
      "example": true,
      "attribution": {
        "text": "예시 데이터 — 실제 농장이 아닙니다"
      }
    }
  ],
  "capturedAt": "2026-10-21T04:40:20.000Z",
  "responses": {
    "farm": {
      "/farm/now": {
        "asOf": "10월 21일 13:40",
        "harvest": 1284,
        "harvestByHour": [
          0,
          96,
          241,
          412,
          598,
          806,
          1012,
          1160,
          1284
        ],
        "water": 18.6,
        "power": 412,
        "updatedAt": "2026-10-21T04:40:00Z"
      },
      "/farm/weather": {
        "temp": 21.4,
        "solar": 742,
        "wind": 3.2,
        "sky": "맑음",
        "updatedAt": "2026-10-21T04:40:00Z"
      },
      "/farm/houses": {
        "value": [
          {
            "id": "g1",
            "value": 26.8,
            "value2": 68,
            "level": "ok",
            "note": "차광 · 환기창 40%",
            "updatedAt": "2026-10-21T04:40:00Z"
          },
          {
            "id": "g2",
            "value": 27.5,
            "value2": 74,
            "level": "ok",
            "note": "차광 · 관수 중",
            "updatedAt": "2026-10-21T04:40:00Z"
          },
          {
            "id": "g3",
            "value": 29.6,
            "value2": 61,
            "level": "warn",
            "note": "환기창 100% · 포그 분무",
            "updatedAt": "2026-10-21T04:40:00Z"
          },
          {
            "id": "g4",
            "value": 25.9,
            "value2": 70,
            "level": "ok",
            "note": "환기창 30%",
            "updatedAt": "2026-10-21T04:40:00Z"
          },
          {
            "id": "nursery",
            "value": 24.2,
            "value2": 82,
            "level": "ok",
            "note": "보광등 꺼짐",
            "updatedAt": "2026-10-21T04:40:00Z"
          },
          {
            "id": "nutrient",
            "value": 2.4,
            "value2": 28,
            "level": "warn",
            "note": "탱크 보충 · 15시 예정",
            "updatedAt": "2026-10-21T04:40:00Z"
          },
          {
            "id": "packing",
            "value": 2.1,
            "value2": 412,
            "level": "ok",
            "note": "출하 대기 412상자",
            "updatedAt": "2026-10-21T04:40:00Z"
          }
        ],
        "updatedAt": "2026-10-21T04:40:00Z"
      },
      "/farm/temps": {
        "value": [
          {
            "hour": "06",
            "g1": 15.2,
            "g2": 16,
            "g3": 14.6,
            "g4": 15.4
          },
          {
            "hour": "07",
            "g1": 16.8,
            "g2": 17.4,
            "g3": 16.5,
            "g4": 16.9
          },
          {
            "hour": "08",
            "g1": 19.1,
            "g2": 19.8,
            "g3": 19.4,
            "g4": 18.8
          },
          {
            "hour": "09",
            "g1": 21.6,
            "g2": 22.3,
            "g3": 22.5,
            "g4": 21
          },
          {
            "hour": "10",
            "g1": 23.4,
            "g2": 24.2,
            "g3": 25.1,
            "g4": 22.9
          },
          {
            "hour": "11",
            "g1": 24.9,
            "g2": 25.8,
            "g3": 27.2,
            "g4": 24.1
          },
          {
            "hour": "12",
            "g1": 26,
            "g2": 26.9,
            "g3": 28.7,
            "g4": 25.2
          },
          {
            "hour": "13",
            "g1": 26.8,
            "g2": 27.5,
            "g3": 29.6,
            "g4": 25.9
          }
        ],
        "updatedAt": "2026-10-21T04:40:00Z"
      }
    }
  }
}