-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It is based on the current UI and is unfortunately not functional. Unfortunately I can't get any further.
- Loading branch information
Showing
1 changed file
with
223 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,223 @@ | ||
{ | ||
"i18n": true, | ||
"type": "tabs", | ||
"items": { | ||
"#tab-main": { | ||
"type": "panel", | ||
"label": "Main Settings", | ||
"items": { | ||
"sw_version": { | ||
"type": "text", | ||
"label": "deConz Version", | ||
"readOnly": true, | ||
"size": 2 | ||
}, | ||
"api_version": { | ||
"type": "text", | ||
"label": "deConz REST API Version", | ||
"readOnly": true, | ||
"size": 2 | ||
}, | ||
"settings": { | ||
"newLine": true, | ||
"type": "header", | ||
"text": "Settings", | ||
"size": 2 | ||
}, | ||
"bridge": { | ||
"newLine": true, | ||
"label": "deConz IP Adresse", | ||
"type": "text", | ||
"sm": 12, | ||
"md": 3, | ||
"lg": 3 | ||
}, | ||
"port": { | ||
"label": "Port", | ||
"type": "number", | ||
"default": 80, | ||
"min": 0, | ||
"max": 65535, | ||
"sm": 12, | ||
"md": 2, | ||
"lg": 2 | ||
}, | ||
"websocketport": { | ||
"label": "Websocket Port", | ||
"type": "number", | ||
"default": 443, | ||
"min": 0, | ||
"max": 65535, | ||
"sm": 12, | ||
"md": 2, | ||
"lg": 2 | ||
}, | ||
|
||
"user": { | ||
"newLine": true, | ||
"label": "API key", | ||
"type": "text", | ||
"sm": 12, | ||
"md": 3, | ||
"lg": 3 | ||
}, | ||
"create": { | ||
"type": "sendTo", | ||
"label": "Create API key", | ||
"variant": "outlined", | ||
"showProcess": true, | ||
"command": "sendTo1", | ||
"jsonData": "{ \"data1\": \"${data.sendTo1a}\", \"data2\": \"${data.sendTo1b}\" }", | ||
"useNative": true | ||
}, | ||
"deleteAPIkey": { | ||
"type": "sendTo", | ||
"label": "Delete API key", | ||
"variant": "outlined", | ||
"showProcess": true, | ||
"command": "sendTo1", | ||
"jsonData": "{ \"data1\": \"${data.sendTo1a}\", \"data2\": \"${data.sendTo1b}\" }", | ||
"useNative": true | ||
} | ||
} | ||
}, | ||
"#tab-manage-devices": { | ||
"type": "panel", | ||
"label": "Manage Devices", | ||
"items": { | ||
"opennetwork": { | ||
"type": "sendTo", | ||
"label": "Open Network", | ||
"variant": "outlined", | ||
"showProcess": true, | ||
"command": "sendTo1", | ||
"jsonData": "{ \"data1\": \"${data.sendTo1a}\", \"data2\": \"${data.sendTo1b}\" }", | ||
"useNative": true | ||
}, | ||
"devices": { | ||
"newLine": true, | ||
"type": "table", | ||
"label": "Devices", | ||
"noDelete": true, | ||
"sm": 12, | ||
"md": 12, | ||
"lg": 12, | ||
"items": [ | ||
{ | ||
"type": "text", | ||
"attr": "name", | ||
"width": "30%", | ||
"title": "Name", | ||
"filter": true, | ||
"sort": false, | ||
"default": "" | ||
}, | ||
{ | ||
"type": "text", | ||
"attr": "ID", | ||
"width": "15%", | ||
"title": "ID", | ||
"filter": true, | ||
"sort": true, | ||
"default": "" | ||
}, | ||
{ | ||
"type": "text", | ||
"attr": "Manufacturer", | ||
"width": "30%", | ||
"title": "Manufacturer", | ||
"filter": false, | ||
"sort": false, | ||
"default": "" | ||
}, | ||
{ | ||
"type": "number", | ||
"attr": "Model ID", | ||
"width": "10%", | ||
"title": "Model ID", | ||
"filter": false, | ||
"sort": false, | ||
"default": "" | ||
}, | ||
{ | ||
"type": "text", | ||
"attr": "Type", | ||
"title": "Type", | ||
"filter": false, | ||
"sort": false, | ||
"default": "" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"#tab-manage-groups": { | ||
"type": "panel", | ||
"label": "Manage Groups", | ||
"items": { | ||
"group_name": { | ||
"label": "Name of the new group", | ||
"type": "text", | ||
"sm": 12, | ||
"md": 3, | ||
"lg": 3 | ||
}, | ||
"create_group": { | ||
"type": "sendTo", | ||
"label": "Create Group", | ||
"variant": "outlined", | ||
"showProcess": true, | ||
"command": "sendTo1", | ||
"jsonData": "{ \"data1\": \"${data.sendTo1a}\", \"data2\": \"${data.sendTo1b}\" }", | ||
"useNative": true | ||
}, | ||
"groups": { | ||
"newLine": true, | ||
"type": "table", | ||
"label": "Groups", | ||
"noDelete": true, | ||
"sm": 12, | ||
"md": 12, | ||
"lg": 12, | ||
"items": [ | ||
{ | ||
"type": "text", | ||
"attr": "name", | ||
"width": "30%", | ||
"title": "Name", | ||
"filter": true, | ||
"sort": false, | ||
"default": "" | ||
}, | ||
{ | ||
"type": "number", | ||
"attr": "ID", | ||
"width": "15%", | ||
"title": "ID", | ||
"filter": true, | ||
"sort": true, | ||
"default": "" | ||
}, | ||
{ | ||
"type": "text", | ||
"attr": "Devices (ID of Device)", | ||
"width": "30%", | ||
"title": "Devices (ID of Device)", | ||
"filter": false, | ||
"sort": false, | ||
"default": "" | ||
}, | ||
{ | ||
"type": "text", | ||
"attr": "Lights (ID of Light)", | ||
"title": "Lights (ID of Light)", | ||
"filter": false, | ||
"sort": false, | ||
"default": "" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |