fb00128847
Signed-off-by: Peter Siegmund <developer@mars3142.org>
137 lines
4.1 KiB
JSON
137 lines
4.1 KiB
JSON
{
|
|
"screens": [
|
|
{
|
|
"id": "main_menu",
|
|
"title": "Hauptmenü",
|
|
"items": [
|
|
{
|
|
"id": "master_status",
|
|
"type": "label",
|
|
"label": ""
|
|
},
|
|
{
|
|
"id": "menu_lights",
|
|
"type": "submenu",
|
|
"label": "Lichtsteuerung",
|
|
"targetScreenId": "lights_menu"
|
|
},
|
|
{
|
|
"id": "menu_external",
|
|
"type": "submenu",
|
|
"label": "externe Geraete",
|
|
"targetScreenId": "external_devices_menu"
|
|
},
|
|
{
|
|
"id": "menu_settings",
|
|
"type": "submenu",
|
|
"label": "Einstellungen",
|
|
"targetScreenId": "settings_menu"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "lights_menu",
|
|
"title": "Lichtsteuerung",
|
|
"dynamic": true,
|
|
"items": [
|
|
{
|
|
"id": "light_active",
|
|
"type": "toggle",
|
|
"label": "Einschalten",
|
|
"persistent": true,
|
|
"valueType": "bool",
|
|
"actionTopic": "home/lights/activate"
|
|
},
|
|
{
|
|
"id": "light_mode",
|
|
"type": "selection",
|
|
"label": "Modus",
|
|
"persistent": true,
|
|
"valueType": "int",
|
|
"items": [
|
|
{
|
|
"value": "1",
|
|
"label": "Tag"
|
|
},
|
|
{
|
|
"value": "2",
|
|
"label": "Nacht"
|
|
},
|
|
{
|
|
"value": "0",
|
|
"label": "Simulation"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "light_variant",
|
|
"type": "selection",
|
|
"label": "Variante",
|
|
"persistent": true,
|
|
"valueType": "int",
|
|
"visibleWhen": {
|
|
"itemId": "light_mode",
|
|
"value": "0"
|
|
},
|
|
"items": [
|
|
{
|
|
"value": "1",
|
|
"label": "Standard"
|
|
},
|
|
{
|
|
"value": "2",
|
|
"label": "Warm"
|
|
},
|
|
{
|
|
"value": "3",
|
|
"label": "Natur"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "external_devices_menu",
|
|
"title": "externe Geraete",
|
|
"dynamic": true,
|
|
"items": [
|
|
{
|
|
"id": "ext_placeholder",
|
|
"type": "label",
|
|
"label": "Lade..."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "settings_menu",
|
|
"title": "Einstellungen",
|
|
"dynamic": true,
|
|
"items": [
|
|
{
|
|
"id": "ota_update",
|
|
"type": "action",
|
|
"label": "OTA Einspielen",
|
|
"actionTopic": "home/settings/ota_update"
|
|
},
|
|
{
|
|
"id": "mac_suffix",
|
|
"type": "label",
|
|
"label": "Device-ID"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "iris_new_devices_menu",
|
|
"title": "Geraet hinzufuegen",
|
|
"dynamic": true,
|
|
"items": [
|
|
{
|
|
"id": "scan_placeholder",
|
|
"type": "label",
|
|
"label": "Suche..."
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|