99 lines
4.1 KiB
JSON
99 lines
4.1 KiB
JSON
{
|
|
"templates": [
|
|
{
|
|
"id": "clock",
|
|
"name": "时钟状态屏",
|
|
"tag": "Clock",
|
|
"description": "大号时间、日期、状态和底部说明。",
|
|
"defaults": {
|
|
"title": "LOCAL CLOCK",
|
|
"orientation": "landscape",
|
|
"density": "comfortable",
|
|
"effects": { "ghost": true, "grid": true },
|
|
"fields": {
|
|
"status": "ONLINE",
|
|
"time": "12:00",
|
|
"date": "2026-06-20",
|
|
"footerLeft": "ESP32-S3-RLCD",
|
|
"footerRight": "COM3"
|
|
}
|
|
},
|
|
"fields": [
|
|
{ "key": "status", "label": "状态", "type": "text", "span": "half" },
|
|
{ "key": "time", "label": "时间", "type": "text", "span": "half" },
|
|
{ "key": "date", "label": "日期", "type": "text", "span": "full" },
|
|
{ "key": "footerLeft", "label": "底部左侧", "type": "text", "span": "half" },
|
|
{ "key": "footerRight", "label": "底部右侧", "type": "text", "span": "half" }
|
|
]
|
|
},
|
|
{
|
|
"id": "dual-metric",
|
|
"name": "双大数字屏",
|
|
"tag": "Dual",
|
|
"description": "两个核心数字并排展示,适合温湿度、计数、状态值。",
|
|
"defaults": {
|
|
"title": "ROOM STATUS",
|
|
"orientation": "landscape",
|
|
"density": "comfortable",
|
|
"effects": { "ghost": true, "grid": true },
|
|
"fields": {
|
|
"status": "SENSOR",
|
|
"primaryLabel": "TEMP",
|
|
"primaryValue": "26",
|
|
"primaryUnit": "C",
|
|
"secondaryLabel": "HUM",
|
|
"secondaryValue": "58",
|
|
"secondaryUnit": "%",
|
|
"footerLeft": "Last refresh 2m",
|
|
"footerRight": "Battery 86%"
|
|
}
|
|
},
|
|
"fields": [
|
|
{ "key": "status", "label": "状态", "type": "text", "span": "half" },
|
|
{ "key": "primaryLabel", "label": "数字一名称", "type": "text", "span": "half" },
|
|
{ "key": "primaryValue", "label": "数字一数值", "type": "number", "span": "half", "min": -99, "max": 999 },
|
|
{ "key": "primaryUnit", "label": "数字一单位", "type": "text", "span": "half" },
|
|
{ "key": "secondaryLabel", "label": "数字二名称", "type": "text", "span": "half" },
|
|
{ "key": "secondaryValue", "label": "数字二数值", "type": "number", "span": "half", "min": -99, "max": 999 },
|
|
{ "key": "secondaryUnit", "label": "数字二单位", "type": "text", "span": "half" },
|
|
{ "key": "footerLeft", "label": "底部左侧", "type": "text", "span": "half" },
|
|
{ "key": "footerRight", "label": "底部右侧", "type": "text", "span": "half" }
|
|
]
|
|
},
|
|
{
|
|
"id": "meter",
|
|
"name": "仪表状态屏",
|
|
"tag": "Meter",
|
|
"description": "两条进度仪表,适合电量、容量、任务进度。",
|
|
"defaults": {
|
|
"title": "SYSTEM LOAD",
|
|
"orientation": "landscape",
|
|
"density": "comfortable",
|
|
"effects": { "ghost": true, "grid": true },
|
|
"fields": {
|
|
"status": "LIVE",
|
|
"primaryLabel": "CPU",
|
|
"primaryValue": "64",
|
|
"primaryUnit": "%",
|
|
"secondaryLabel": "BATTERY",
|
|
"secondaryValue": "86",
|
|
"secondaryUnit": "%",
|
|
"footerLeft": "LAN READY",
|
|
"footerRight": "Refresh 5m"
|
|
}
|
|
},
|
|
"fields": [
|
|
{ "key": "status", "label": "状态", "type": "text", "span": "half" },
|
|
{ "key": "primaryLabel", "label": "仪表一名称", "type": "text", "span": "half" },
|
|
{ "key": "primaryValue", "label": "仪表一进度", "type": "range", "span": "full", "min": 0, "max": 100 },
|
|
{ "key": "primaryUnit", "label": "仪表一单位", "type": "text", "span": "half" },
|
|
{ "key": "secondaryLabel", "label": "仪表二名称", "type": "text", "span": "half" },
|
|
{ "key": "secondaryValue", "label": "仪表二进度", "type": "range", "span": "full", "min": 0, "max": 100 },
|
|
{ "key": "secondaryUnit", "label": "仪表二单位", "type": "text", "span": "half" },
|
|
{ "key": "footerLeft", "label": "底部左侧", "type": "text", "span": "half" },
|
|
{ "key": "footerRight", "label": "底部右侧", "type": "text", "span": "half" }
|
|
]
|
|
}
|
|
]
|
|
}
|