iobroker.fenecon
Version:
OpenEMS connection to fenecon pv
75 lines (74 loc) • 1.39 kB
JSON
{
"i18n": true,
"type": "panel",
"items": {
"ipAddress": {
"type": "text",
"label": "lblIpAddress",
"xs": 12,
"sm": 12,
"md": 8,
"lg": 4,
"xl": 4,
"validatorNoSaveOnError": true,
"validatorErrorText": "lblIpAddressValidationError",
"validator": "/^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)\\.?\\b){4}$/.test(data.ipAddress)"
},
"refreshIntervall": {
"type": "number",
"label": "lblRefreshIntervall",
"min": 5,
"default": 30,
"max": 3600,
"help": "s",
"xs": 12,
"sm": 12,
"md": 4,
"lg": 2,
"xl": 2
},
"useCustomEndpoints": {
"type": "checkbox",
"label": "lblUseCustomEndpoints",
"xs": 12,
"sm": 12,
"md": 12,
"lg": 12,
"xl": 12
},
"descriptionWhenUseCusotomEndpoints": {
"type": "staticText",
"label": "lblUseCustomEndpointsDescription",
"hidden": "!data.useCustomEndpoints",
"xs": 12,
"sm": 12,
"md": 12,
"lg": 12,
"xl": 12
},
"endpoints": {
"type": "table",
"label": "lblEnpointsTable",
"hidden": "!data.useCustomEndpoints",
"compact": true,
"uniqueColumns": ["componentId"],
"xs": 12,
"sm": 12,
"md": 12,
"lg": 12,
"xl": 12,
"items": [
{
"type": "text",
"attr": "componentId",
"label": "lblComponentId"
},
{
"type": "text",
"attr": "channelId",
"label": "lblChannelId"
}
]
}
}
}