iobroker.reolink
Version:
108 lines (107 loc) • 3.24 kB
JSON
{
"i18n": true,
"type": "tabs",
"tabsStyle": {
"width": "calc(100% - 100px)"
},
"items": {
"_options": {
"type": "panel",
"label": "Camera type",
"items": {
"cameraIp": {
"type": "text",
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4,
"label": "IP Address"
},
"cameraProtocol": {
"newLine": true,
"type": "select",
"label": "Protocol",
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4,
"noTranslation": true,
"options": [
{ "label": "https", "value": "https" },
{ "label": "http", "value": "http" }
]
},
"sslvalid": {
"type": "checkbox",
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4,
"label": "Validate SSL certificate"
},
"cameraChannel": {
"newLine": true,
"type": "number",
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4,
"label": "Channel"
},
"cameraUser": {
"newLine": true,
"type": "text",
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4,
"label": "User"
},
"cameraPassword": {
"type": "password",
"repeat": false,
"visible": false,
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4,
"label": "Password"
},
"UriEncodedPassword": {
"hidden": "!data.cameraPassword",
"type": "checkbox",
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4,
"label": "URI Encode password"
}
}
},
"_advanced": {
"type": "panel",
"label": "Advanced settings",
"items": {
"apiRefreshInterval": {
"type": "number",
"min": 1,
"max": 10000,
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4,
"label": "Polling interval",
"help": "in seconds"
}
}
}
}
}