iobroker.openmediavault
Version:
104 lines • 2.88 kB
JSON
{
"label": "General",
"items": {
"donation_link": {
"type": "staticLink",
"text": "You like the adapter? Then support me.",
"button": true,
"newLine": true,
"href": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=VWAXSTS634G88&source=url",
"style": {
"justifyContent": "flex-start !important"
},
"xs": 12,
"sm": 12,
"md": 12,
"lg": 12,
"xl": 12
},
"dividerCredentials": {
"newLine": true,
"type": "header",
"text": "login data",
"size": 2
},
"url": {
"type": "text",
"label": "url",
"validator": "!!data.url.startsWith('http://') || !!data.url.startsWith('https://')",
"validatorErrorText": "url must start with http:// or https://",
"validatorNoSaveOnError": true,
"xs": 12,
"sm": 12,
"md": 3,
"lg": 3,
"xl": 3
},
"user": {
"type": "text",
"label": "user",
"xs": 12,
"sm": 12,
"md": 3,
"lg": 3,
"xl": 3
},
"password": {
"type": "password",
"label": "password",
"xs": 12,
"sm": 12,
"md": 3,
"lg": 3,
"xl": 3
},
"ignoreSSLCertificate": {
"type": "checkbox",
"label": "ignore SSL Certificate",
"xs": 12,
"sm": 12,
"md": 3,
"lg": 3,
"xl": 3
},
"dividerUpdateMethode": {
"newLine": true,
"type": "header",
"text": "update methode",
"size": 2
},
"updateMethode": {
"newLine": true,
"type": "checkbox",
"label": "${data.updateMethode ? 'cron job' : 'interval'}",
"xs": 12,
"sm": 12,
"md": 3,
"lg": 3,
"xl": 3
},
"updateInterval": {
"type": "number",
"label": "update interval",
"hidden": "data.updateMethode",
"min": 10,
"max": 86400,
"xs": 12,
"sm": 12,
"md": 3,
"lg": 3,
"xl": 3
},
"updateCron": {
"type": "cron",
"label": "updateCron",
"complex": true,
"hidden": "!data.updateMethode",
"xs": 12,
"sm": 12,
"md": 3,
"lg": 3,
"xl": 3
}
}
}