UNPKG

iobroker.lorawan

Version:

converts the desired lora gateway data to a ioBroker structure

2,094 lines 56.5 kB
{ "i18n": true, "type": "tabs", "tabsStyle": { "width": "calc(100% - 100px)" }, "items":{ "mainTab":{ "type": "panel", "label": "mainSettings", "items": { "ServersettingsHeader": { "newLine": true, "type": "header", "text": "ServersettingsHeader", "size": 3, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "Serverinformation":{ "newLine":true, "type": "staticText", "label": "Serverinformation", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "ipUrl":{ "newLine": true, "type": "text", "label": "ipUrl", "tooltip": "ipUrlTooltip", "default": "", "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, "port":{ "type": "number", "label": "port", "tooltip": "portTooltip", "default": 8883, "xs": 12, "sm": 1, "md": 1, "lg": 1, "xl": 1 }, "ssl":{ "type": "checkbox", "label": "SSL", "tooltip": "sslTooltip", "default": true, "xs": 12, "sm": 1, "md": 1, "lg": 1, "xl": 1 }, "AuthenticationHeader": { "newLine": true, "type": "header", "text": "AuthenticationHeader", "size": 3, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "AuthenticationInformation":{ "newLine":true, "type": "staticText", "label": "AuthenticationInformation", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "username":{ "newLine":true, "type": "text", "label": "username", "tooltip": "usernameTooltip", "default": "", "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, "password":{ "type": "password", "label": "password", "tooltip": "passwordTooltip", "default": "", "xs": 12, "sm": 3, "md": 3, "lg": 3, "xl": 3 }, "OriginHeader": { "newLine": true, "type": "header", "text": "OriginHeader", "size": 3, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "OriginInformation":{ "newLine":true, "type": "staticText", "label": "OriginInformation", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "origin":{ "newLine": true, "type": "select", "label": "origin", "tooltip": "originTooltip", "options": [ {"label":"LorawanOff","value":"off"}, {"label":"TTN","value":"ttn"}, {"label":"Chirpstack","value":"chirpstack"} ], "default": "ttn", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, "notificationActivation":{ "type": "select", "label": "notificationActivation", "tooltip": "notificationActivationTooltip", "options": [ {"label":"notification","value":"notification"}, {"label":"no notification","value":"no notification"} ], "default": "notification", "xs": 12, "sm": 3, "md": 3, "lg": 3, "xl": 3 } } }, "downlinkConfigTab":{ "type": "panel", "label": "downlinkConfig", "items": { "downlinkConfigHeader": { "newLine": true, "type": "header", "text": "downlinkConfigHeader", "size": 3, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "downlinkConfig":{ "newLine": true, "type":"accordion", "titleAttr": "deviceType", "clone": true, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12, "items":[ { "newLine": true, "type": "header", "attr": "_header", "text": "downlinkConfigMainHeader", "size": 3, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, { "type": "text", "attr": "deviceType", "label": "deviceType", "tooltip": "deviceTypeTooltip", "validator": "if(data.deviceType === '' || data.deviceType === null){return false;}else{return true;}", "validatorNoSaveOnError": true, "default": "", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "newLine": true, "type": "select", "attr": "sendWithUplink", "label": "sendWithUplink", "tooltip": "sendWithUplinkTooltip", "options": [ {"label":"disabled","value":"disabled"}, {"label":"enabled","value":"enabled"}, {"label":"enabled & collect","value":"enabled & collect"} ], "default": "disabled", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "number", "attr": "port", "label": "portDownlink", "tooltip": "portDownlinkTooltip", "hidden": "data.sendWithUplink === 'disabled'", "default": 1, "xs": 12, "sm": 1, "md": 1, "lg": 1, "xl": 1 }, { "type": "text", "attr": "priority", "label": "priority", "tooltip": "priorityTooltip", "hidden": "data.sendWithUplink === 'disabled'", "default": "NORMAL", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "checkbox", "attr": "confirmed", "label": "confirmed", "tooltip": "confirmedTooltip", "hidden": "data.sendWithUplink === 'disabled'", "default": false, "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "newLine": true, "type": "header", "attr": "_header2", "text": "downlinkConfigSubHeader", "size": 3, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, { "type":"accordion", "attr":"downlinkParameter", "titleAttr": "name", "clone": true, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12, "items":[ { "type": "text", "attr": "name", "label": "name", "tooltip": "nameTooltip", "default": "", "validator": "if(data.name === '' || data.name === null){return false;}else{const myRegEx = /^([0-9a-z_ ])*$/i; return myRegEx.test(data.name);}", "validatorNoSaveOnError": true, "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "number", "attr": "port", "label": "portDownlink", "tooltip": "portDownlinkTooltip", "default": 1, "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "text", "attr": "priority", "label": "priority", "tooltip": "priorityTooltip", "default": "NORMAL", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "select", "attr": "type", "label": "type", "tooltip": "typeTooltip", "options": [ {"label":"button","value":"button"}, {"label":"boolean","value":"boolean"}, {"label":"number","value":"number"}, {"label":"ASCII","value":"ascii"}, {"label":"String","value":"string"} ], "default": "boolean", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "checkbox", "attr": "swap", "label": "swap", "tooltip": "swapTooltip", "hidden": "data.type !== 'number'", "default": false, "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "staticText", "attr": "_statciText", "label": "", "hidden": "data.type === 'number'", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "checkbox", "attr": "confirmed", "label": "confirmed", "tooltip": "confirmedTooltip", "default": false, "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "newLine": true, "type": "text", "attr": "front", "label": "front", "tooltip": "frontTooltip", "default": "03", "validator": "if(data.type !== 'string'){const myRegEx = /^([0-9a-f]{2})*$/i; return myRegEx.test(data.front)}else{return true}", "validatorNoSaveOnError": true, "hidden": "data.type === 'boolean' || data.type === 'button'", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "text", "attr": "end", "label": "end", "tooltip": "endTooltip", "default": "11", "validator": "if(data.type !== 'string'){const myRegEx = /^([0-9a-f]{2})*$/i; return myRegEx.test(data.front)}else{return true}", "validatorNoSaveOnError": true, "hidden": "data.type === 'boolean' || data.type === 'button'", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "number", "attr": "lengthInByte", "label": "lengthInByte", "tooltip": "lengthInByteTooltip", "default": 2, "min":1, "max": 20, "hidden": "data.type === 'boolean' || data.type === 'button' || data.type === 'string'", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "newLine": true, "type": "text", "attr": "on", "label": "on", "tooltip": "onTooltip", "default": "01", "validator": "const myRegEx = /^([0-9a-f]{2})*$/i; return myRegEx.test(data.on);", "validatorNoSaveOnError": true, "hidden": "data.type !== 'boolean'", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "text", "attr": "off", "label": "off", "tooltip": "offTooltip", "default": "11", "validator": "const myRegEx = /^([0-9a-f]{2})*$/i; return myRegEx.test(data.off);", "validatorNoSaveOnError": true, "hidden": "data.type !== 'boolean'", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "newLine": true, "type": "text", "attr": "onClick", "label": "onClick", "tooltip": "onClickTooltip", "default": "030111", "validator": "const myRegEx = /^([0-9a-f]{2})*$/i; return myRegEx.test(data.onClick);", "validatorNoSaveOnError": true, "hidden": "data.type !== 'button'", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "number", "attr": "multiplyfaktor", "label": "multiplyfaktor", "tooltip": "multiplyfaktorTooltip", "default": 1, "hidden": "data.type !== 'number'", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "number", "attr": "decimalPlaces", "label": "decimalPlaces", "tooltip": "decimalPlacesTooltip", "default": 0, "min": 0, "max": 5, "hidden": "data.type !== 'number'", "xs": 12, "sm": 1, "md": 1, "lg": 1, "xl": 1 }, { "type": "text", "attr": "unit", "label": "unit", "tooltip": "unitTooltip", "default": "", "hidden": "data.type === 'boolean' || data.type === 'button' || data.type === 'string'", "xs": 12, "sm": 1, "md": 1, "lg": 1, "xl": 1 }, { "type": "select", "attr": "crc", "label": "crc", "tooltip": "crcTooltip", "options": [ {"label":"no crc","value":"noCrc"}, {"label":"CRC-8","value":"CRC-8"}, {"label":"KERMIT","value":"KERMIT"}, {"label":"KERMIT (Little Endian)","value":"KERMIT.LittleEndian"} ], "default": "noCrc", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "newLine": true, "type": "checkbox", "attr": "limitMin", "label": "limitMin", "tooltip": "limitMinTooltip", "hidden": "data.type !== 'number'", "default": false, "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "number", "attr": "limitMinValue", "label": "limitMinValue", "tooltip": "limitMinValueTooltip", "default": 0, "hidden": "data.type !== 'number' || data.limitMin !== true", "xs": 12, "sm": 1, "md": 1, "lg": 1, "xl": 1 }, { "type": "checkbox", "attr": "limitMax", "label": "limitMax", "tooltip": "limitMaxTooltip", "hidden": "data.type !== 'number'", "default": false, "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "number", "attr": "limitMaxValue", "label": "limitMaxValue", "tooltip": "limitMaxValueTooltip", "default": 0, "hidden": "data.type !== 'number' || data.limitMax !== true", "xs": 12, "sm": 1, "md": 1, "lg": 1, "xl": 1 } ] } ] } } }, "customTab":{ "type": "panel", "label": "customConfig", "items": { "_customConfigHeader":{ "newLine": true, "type": "header", "text": "customConfigHeader", "size": 3, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "_customJsonInformation":{ "newLine":true, "type": "staticText", "label": "customJsonInformation", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "customDecodedJsonActive":{ "newLine": true, "type": "checkbox", "label": "customDecodedJsonActive", "tooltip": "customDecodedJsonActiveTooltip", "default": false, "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, "customJson":{ "type": "jsonEditor", "label": "customJson", "tooltip": "customJsonTooltip", "hidden": "data.customDecodedJsonActive === false", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, "customConfigurationJsonActive":{ "newLine": true, "type": "checkbox", "label": "customConfigurationJsonActive", "tooltip": "customConfigurationJsonActiveConfigurationTooltip", "hidden": "data.customDecodedJsonActive === false", "default": false, "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, "customControlJsonActive":{ "newLine": true, "type": "checkbox", "label": "customControlJsonActive", "tooltip": "customControlJsonActiveTooltip", "hidden": "data.customDecodedJsonActive === false", "default": false, "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, "customDesciption":{ "newLine":true, "type": "staticText", "label": "customDesciption", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "customDescriptionImage":{ "newLine": true, "type": "staticImage", "label": "", "tooltip": "customDescriptionImageTooltip", "src": "icons/config/customDescriptionImage.png", "xs": 12, "sm": 5, "md": 5, "lg": 5, "xl": 5 }, "customDeleteDesciption":{ "newLine":true, "type": "staticText", "label": "customDeleteDesciption", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "customDeleteDescriptionImage":{ "newLine": true, "type": "staticImage", "label": "", "tooltip": "customDeleteDescriptionImageTooltip", "src": "icons/config/customDeleteDescriptionImage.png", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 } } }, "_BridgePanel":{ "type": "panel", "label": "BridgePanel", "items": { "_BridgeConfigHeader":{ "newLine": true, "type": "header", "text": "BridgeHeader", "size": 3, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "_BridgeInformation":{ "newLine":true, "type": "staticText", "label": "BridgeInformation", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "BridgeType":{ "newLine": true, "type": "select", "label": "BridgeType", "tooltip": "BridgeTypeTooltip", "options": [ {"label":"BridgeTypeOff","value":"off"}, {"label":"BridgeTypeHA","value":"HA"}, {"label":"BridgeTypeSH","value":"SH"} ], "default": "off", "xs": 12, "sm": 3, "md": 3, "lg": 3, "xl": 3 }, "EnableRefresh":{ "type": "checkbox", "label": "EnableRefresh", "tooltip": "EnableRefreshTooltip", "hidden": "data.BridgeType === 'off'", "default": true, "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, "RefreshDiscoveryCronJob": { "type": "cron", "complex": true, "label": "RefreshDiscoveryCronJob", "hidden": "data.BridgeType === 'off' || data.EnableRefresh === false", "tooltip": "RefreshDiscoveryCronJobTooltip", "default": "0 * * * *", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, "BridgenotificationActivation":{ "newLine": true, "type": "select", "label": "BridgenotificationActivation", "hidden": "data.BridgeType === 'off'", "tooltip": "BridgenotificationActivationTooltip", "options": [ {"label":"all notifications","value":"allNotifications, bridgeConnection, newDiscover, deviceState"}, {"label":"bridge connection","value":"bridgeConnection"}, {"label":"new discover","value":"newDiscover"}, {"label":"device online offline","value":"deviceState"}, {"label":"no notifications","value":"noNotifications"} ], "default": "allNotifications, bridgeConnection, newDiscover, deviceState", "xs": 12, "sm": 3, "md": 3, "lg": 3, "xl": 3 }, "_BridgeServersettingsHeader": { "newLine": true, "type": "header", "text": "ServersettingsHeader", "hidden": "data.BridgeType === 'off'", "size": 3, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "_BridgeServerinformation":{ "newLine":true, "type": "staticText", "label": "Serverinformation", "hidden": "data.BridgeType === 'off'", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "BridgeipUrl":{ "newLine": true, "type": "text", "label": "ipUrl", "tooltip": "ipUrlTooltip", "hidden": "data.BridgeType === 'off'", "default": "", "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, "Bridgeport":{ "type": "number", "label": "port", "tooltip": "portTooltip", "hidden": "data.BridgeType === 'off'", "default": 1883, "xs": 12, "sm": 1, "md": 1, "lg": 1, "xl": 1 }, "Bridgessl":{ "type": "checkbox", "label": "SSL", "tooltip": "sslTooltip", "hidden": "data.BridgeType === 'off'", "default": false, "xs": 12, "sm": 1, "md": 1, "lg": 1, "xl": 1 }, "_BridgeAuthenticationHeader": { "newLine": true, "type": "header", "text": "AuthenticationHeader", "hidden": "data.BridgeType === 'off'", "size": 3, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "_BridgeAuthenticationInformation":{ "newLine":true, "type": "staticText", "label": "AuthenticationInformation", "hidden": "data.BridgeType === 'off'", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "Bridgeusername":{ "newLine":true, "type": "text", "label": "username", "hidden": "data.BridgeType === 'off'", "tooltip": "usernameTooltip", "default": "", "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, "Bridgepassword":{ "type": "password", "label": "password", "hidden": "data.BridgeType === 'off'", "tooltip": "passwordTooltip", "default": "", "xs": 12, "sm": 3, "md": 3, "lg": 3, "xl": 3 }, "_Sparepart":{ "type": "staticText", "label": "", "xs": 12, "sm": 1, "md": 1, "lg": 1, "xl": 1 }, "_BridgeConnectionTest":{ "type": "sendTo", "label": "BridgeConnectionTest", "hidden": "data.BridgeType === 'off'", "tooltip": "BridgeConnectionTestTooltip", "showProcess": false, "variant": "contained", "jsonData": "{\"BridgeipUrl\":\"${data.BridgeipUrl}\",\"Bridgeport\":${data.Bridgeport},\"Bridgessl\":${data.Bridgessl},\"Bridgeusername\":\"${data.Bridgeusername}\",\"Bridgepassword\":\"${data.Bridgepassword}\"}", "command": "getBridgeConnection", "xs": 12, "sm": 3, "md": 3, "lg": 3, "xl": 3 } } }, "_BridgeLoRaPanel":{ "type": "panel", "label": "BridgeLoRaPanel", "hidden": "data.BridgeType === 'off'", "items": { "_BridgeLoRaConfigHeader":{ "newLine": true, "type": "header", "text": "BridgeLoRaHeader", "size": 3, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "_DeviceIdentifierDiscription":{ "newLine":true, "type": "staticText", "label": "_DeviceIdentifierDiscription", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "DeviceIdentifiers":{ "newLine": true, "type":"accordion", "titleAttr": "DeviceIdentifier", "clone": true, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12, "items":[ { "type": "select", "attr": "DeviceIdentifier", "label": "DeviceIdentifier", "tooltip": "DeviceIdentifierTooltip", "options": [ {"label":"applicationId","value":"applicationId"}, {"label":"applicationName","value":"applicationName"}, {"label":"usedApplicationName","value":"usedApplicationName"}, {"label":"deviceEUI","value":"deviceEUI"}, {"label":"deviceId","value":"deviceId"}, {"label":"usedDeviceId","value":"usedDeviceId"} ], "default": "usedDeviceId", "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 } ] }, "separator":{ "newLine": true, "type": "select", "label": "separator", "tooltip": "separatorTooltip", "options": [ {"label":"no","value":"no"}, {"label":"space","value":"space"}, {"label":"underline","value":"underline"}, {"label":"minus","value":"minus"} ], "default": "space", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, "_spare1":{ "type": "staticText", "label": "", "xs": 12, "sm": 1, "md": 1, "lg": 1, "xl": 1 }, "_DeviceIdentifierConfiguredDiscription":{ "type": "staticText", "label": "_DeviceIdentifierConfiguredDiscription", "style": {"font-size":"16px", "font-weight":"bold"}, "xs": 12, "sm": 3, "md": 3, "lg": 3, "xl": 3 }, "_DeviceIdentifierConfigured":{ "type": "textSendTo", "style": {"font-size":"16px", "font-weight":"bold", "color":"blue"}, "jsonData": "{\"DeviceIdentifiers\":${JSON.stringify(data.DeviceIdentifiers)},\"separator\":\"${data.separator}\"}", "command": "getTopicConfigured", "alsoDependsOn":[ "DeviceIdentifiers", "separator" ], "xs": 12, "sm": 6, "md": 6, "lg": 6, "xl": 6 }, "_spare2":{ "newLine": true, "type": "staticText", "label": "", "xs": 12, "sm": 3, "md": 3, "lg": 3, "xl": 3 }, "_DeviceIdentifierExampleDiscription":{ "type": "staticText", "label": "_DeviceIdentifierExampleDiscription", "style": {"font-size":"16px", "font-weight":"bold"}, "xs": 12, "sm": 3, "md": 3, "lg": 3, "xl": 3 }, "_DeviceIdentifierExample":{ "type": "textSendTo", "style": {"font-size":"16px", "font-weight":"bold", "color":"blue"}, "jsonData": "{\"DeviceIdentifiers\":${JSON.stringify(data.DeviceIdentifiers)},\"separator\":\"${data.separator}\"}", "command": "getTopicExample", "alsoDependsOn":[ "DeviceIdentifiers", "separator" ], "xs": 12, "sm": 6, "md": 6, "lg": 6, "xl": 6 }, "_BridgeStateHeader":{ "newLine": true, "type": "header", "text": "BridgeStateHeader", "size": 3, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "_BridgeStateInformation":{ "newLine":true, "type": "staticText", "label": "BridgeStateInformation", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "BridgeStateConfig":{ "newLine": true, "type":"table", "allowAddByFilter": true, "clone": true, "export": true, "import": true, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12, "items":[ { "type": "selectSendTo", "attr": "Application", "label": "Application", "default": "*", "jsonData": "{}", "command": "getApplicationsForConfig", "width": "20%" }, { "type": "selectSendTo", "attr": "Device", "label": "Device", "default": "*", "jsonData": "{\"application\":\"${data.Application}\"}", "command": "getDevicesForConfig", "alsoDependsOn":[ "Application" ], "width": "20%" }, { "type": "selectSendTo", "attr": "Folder", "label": "Folder", "default": "*", "jsonData": "{}", "command": "getFoldersForConfig", "width": "10%" }, { "type": "selectSendTo", "attr": "State", "label": "State", "default": "No State selected", "jsonData": "{\"application\":\"${data.Application}\",\"device\":\"${data.Device}\",\"folder\":\"${data.Folder}\"}", "command": "getStatesForConfig", "noTranslation": true, "alsoDependsOn":[ "Application", "Device", "Folder" ], "width": "25%" }, { "type": "checkbox", "attr": "publish", "label": "publish", "hidden": "data.Folder !== 'downlink.control'", "default": true, "width": "5%" }, { "type": "checkbox", "attr": "subscribe", "label": "subscribe", "hidden": "data.Folder !== 'downlink.control'", "default": true, "width": "5%" }, { "type": "checkbox", "attr": "exclude", "label": "Exclude", "default": false, "width": "5%" } ] }, "_ClimateHeader":{ "newLine": true, "type": "header", "text": "ClimateHeader", "size": 3, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "_ClimateInformation":{ "newLine":true, "type": "staticText", "label": "ClimateInformation", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "ClimateConfig":{ "newLine": true, "type":"accordion", "titleAttr": "ClimateName", "clone": true, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12, "items":[ { "type": "text", "attr": "ClimateName", "label": "ClimateNameText", "validator": "if(data.ClimateName === ''){return false;}else{return true;}", "validatorNoSaveOnError": true, "default": "Climate Name", "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, { "newLine": true, "type": "staticText", "attr": "_statciTextTarget", "label": "ClimateTargetTemperatureText", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, { "newLine": true, "type": "selectSendTo", "attr": "TargetApplication", "label": "Application", "default": "No Application selected", "jsonData": "{}", "command": "getApplicationsForClimateConfig", "xs": 12, "sm": 3, "md": 3, "lg": 3, "xl": 3 }, { "type": "selectSendTo", "attr": "TargetDevice", "label": "Device", "default": "No Device selected", "jsonData": "{\"application\":\"${data.TargetApplication}\"}", "command": "getDevicesForClimateConfig", "alsoDependsOn":[ "TargetApplication" ], "xs": 12, "sm": 3, "md": 3, "lg": 3, "xl": 3 }, { "type": "select", "attr": "TargetFolder", "label": "Folder", "default": "downlink.control", "options": [ {"label":"downlink.control","value":"downlink.control"} ], "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "selectSendTo", "attr": "TargetState", "label": "State", "default": "No State selected", "jsonData": "{\"application\":\"${data.TargetApplication}\",\"device\":\"${data.TargetDevice}\",\"folder\":\"${data.TargetFolder}\"}", "command": "getStatesForClimateConfig", "noTranslation": true, "alsoDependsOn":[ "TargetApplication", "TargetDevice", "TargetFolder" ], "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, { "type": "staticText", "attr": "_statciTextAct", "label": "ClimateActTemperatureText", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, { "newLine": true, "type": "selectSendTo", "attr": "ActApplication", "label": "Application", "default": "No Application selected", "jsonData": "{}", "command": "getApplicationsForClimateConfig", "xs": 12, "sm": 3, "md": 3, "lg": 3, "xl": 3 }, { "type": "selectSendTo", "attr": "ActDevice", "label": "Device", "default": "No Device selected", "jsonData": "{\"application\":\"${data.ActApplication}\"}", "command": "getDevicesForClimateConfig", "alsoDependsOn":[ "ActApplication" ], "xs": 12, "sm": 3, "md": 3, "lg": 3, "xl": 3 }, { "type": "select", "attr": "ActFolder", "label": "Folder", "default": "uplink.decoded", "options": [ {"label":"uplink.decoded","value":"uplink.decoded"} ], "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "selectSendTo", "attr": "ActState", "label": "State", "default": "No State selected", "jsonData": "{\"application\":\"${data.ActApplication}\",\"device\":\"${data.ActDevice}\",\"folder\":\"${data.ActFolder}\"}", "command": "getStatesForClimateConfig", "noTranslation": true, "alsoDependsOn":[ "ActApplication", "ActDevice", "ActFolder" ], "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, { "type": "staticText", "attr": "_statciTextMode", "label": "ClimateModeTemperatureText", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, { "newLine": true, "type": "selectSendTo", "attr": "ModeApplication", "label": "Application", "default": "NotPresent", "jsonData": "{}", "command": "getApplicationsForClimateModeConfig", "xs": 12, "sm": 3, "md": 3, "lg": 3, "xl": 3 }, { "type": "selectSendTo", "attr": "ModeDevice", "label": "Device", "default": "*", "jsonData": "{\"application\":\"${data.ModeApplication}\"}", "hidden": "data.ModeApplication === 'NotPresent'", "command": "getDevicesForClimateConfig", "alsoDependsOn":[ "ModeApplication" ], "xs": 12, "sm": 3, "md": 3, "lg": 3, "xl": 3 }, { "type": "select", "attr": "ModeFolder", "label": "Folder", "default": "uplink.decoded", "hidden": "data.ModeApplication === 'NotPresent'", "options": [ {"label":"uplink.decoded","value":"uplink.decoded"} ], "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "selectSendTo", "attr": "ModeState", "label": "State", "default": "No State selected", "jsonData": "{\"application\":\"${data.ModeApplication}\",\"device\":\"${data.ModeDevice}\",\"folder\":\"${data.ModeFolder}\"}", "command": "getStatesForClimateConfig", "hidden": "data.ModeApplication === 'NotPresent'", "noTranslation": true, "alsoDependsOn":[ "ModeApplication", "ModeDevice", "ModeFolder" ], "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 } ] } } }, "_BridgeForeignPanel":{ "type": "panel", "label": "BridgeForeignPanel", "hidden": "data.BridgeType === 'off'", "items": { "_BridgeForeignConfigHeader":{ "newLine": true, "type": "header", "text": "BridgeForeignHeader", "size": 3, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "_BridgeEnumDiscription":{ "newLine":true, "type": "staticText", "label": "_BridgeEnumDiscription", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "BridgeEnum": { "newLine": true, "type": "selectSendTo", "label": "BridgeEnum", "tooltip": "BridgeEnumTooltip", "default": "*", "jsonData": "{}", "command": "getEnums", "xs": 12, "sm": 5, "md": 5, "lg": 5, "xl": 5 }, "_ClimateForeignHeader":{ "newLine": true, "type": "header", "text": "ClimateForeignHeader", "size": 3, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "_ClimateForeignInformation":{ "newLine":true, "type": "staticText", "label": "ClimateForeignInformation", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "ClimateForeignConfig":{ "newLine": true, "type":"accordion", "titleAttr": "ClimateName", "clone": true, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12, "items":[ { "type": "text", "attr": "ClimateName", "label": "ClimateNameText", "validator": "if(data.ClimateName === ''){return false;}else{return true;}", "validatorNoSaveOnError": true, "default": "Climate Name", "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, { "type": "checkbox", "attr": "VirtualMode", "label": "VirtualMode", "tooltip": "VirtualModeTooltip", "default": true, "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "staticText", "attr": "_statciTextTarget", "label": "", "xs": 12, "sm": 6, "md": 6, "lg": 6, "xl": 6 }, { "type": "objectId", "attr": "TargetId", "label": "ClimateTargetTemperatureText", "customFilter": {"common": { "type": [ "number", "mixed" ] } }, "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, { "type": "objectId", "attr": "ActId", "label": "ClimateActTemperatureText", "customFilter": {"common": { "type": [ "number", "mixed" ] } }, "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, { "type": "objectId", "attr": "ModeId", "label": "ClimateModeTemperatureText", "hidden": "data.VirtualMode === true", "customFilter": {"common": { "type": [ "string", "mixed" ] } }, "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 } ] }, "_HumidifierForeignHeader":{ "newLine": true, "type": "header", "text": "HumidifierHeader", "size": 3, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "_HumidifierForeignInformation":{ "newLine":true, "type": "staticText", "label": "HumidifierInformation", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "HumidifierForeignConfig":{ "newLine": true, "type":"accordion", "titleAttr": "HumidifierName", "clone": true, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12, "items":[ { "type": "text", "attr": "HumidifierName", "label": "HumidifierNameText", "validator": "if(data.HumidifierName === ''){return false;}else{return true;}", "validatorNoSaveOnError": true, "default": "Humidifier Name", "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, { "type": "checkbox", "attr": "Humidifier", "label": "Humidifier", "tooltip": "HumidifierTooltip", "default": true, "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "checkbox", "attr": "WithAct", "label": "WithAct", "tooltip": "WithActTooltip", "default": true, "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "staticText", "attr": "_staticTextTarget", "label": "", "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, { "type": "objectId", "attr": "OnOffId", "label": "HumidifierOnOffText", "customFilter": {"common": { "type": [ "boolean", "mixed" ] } }, "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, { "type": "objectId", "attr": "TargetId", "label": "HumidifierTargetText", "customFilter": {"common": { "type": [ "number", "mixed" ] } }, "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, { "type": "objectId", "attr": "ActId", "label": "HumidifierActText", "customFilter": {"common": { "type": [ "number", "mixed" ] } }, "hidden": "data.WithAct === false", "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 } ] }, "_LightForeignHeader":{ "newLine": true, "type": "header", "text": "LightHeader", "size": 3, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "_LightForeignInformation":{ "newLine":true, "type": "staticText", "label": "LightInformation", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "LightForeignConfig":{ "newLine": true, "type":"accordion", "titleAttr": "LightName", "clone": true, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12, "items":[ { "type": "text", "attr": "LightName", "label": "LightNameText", "validator": "if(data.LightName === ''){return false;}else{return true;}", "validatorNoSaveOnError": true, "default": "Light Name", "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, { "type": "checkbox", "attr": "LightBrightness", "label": "LightBrightness", "tooltip": "LightBrightnessTooltip", "default": true, "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "checkbox", "attr": "LightColor", "label": "LightColor", "tooltip": "LightColorTooltip", "default": true, "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "select", "attr": "LightColorType", "label": "LightColorType", "tooltip": "LightColorTypeTooltip", "options": [ {"label":"HexToRGB","value":"HexToRGB"}, {"label":"HexToHS","value":"HexToHS"}, {"label":"HexToXY","value":"HexToXY"} ], "default": "HexToRGB", "hidden": "true", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "checkbox", "attr": "LightEffects", "label": "LightEffects", "tooltip": "LightEffectsTooltip", "default": false, "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "objectId", "attr": "OnOffId", "label": "LightOnOffText", "customFilter": {"common": { "type": [ "boolean", "mixed" ] } }, "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, { "type": "objectId", "attr": "BrightnessId", "label": "LightBrightnessText", "customFilter": {"common": { "type": [ "number", "mixed" ] } }, "hidden": "data.LightBrightness === false", "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, { "type": "objectId", "attr": "ColorId", "label": "LightColorText", "customFilter": {"common": { "type": [ "string", "mixed" ] } }, "hidden": "data.LightColor === false", "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, { "type": "objectId", "attr": "EffectsId", "label": "LightEffectsText", "customFilter": {"common": { "type": [ "number", "mixed" ] } }, "hidden": "data.LightEffects === false", "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 } ] }, "_CoverForeignHeader":{ "newLine": true, "type": "header", "text": "CoverHeader", "size": 3, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "_CoverForeignInformation":{ "newLine":true, "type": "staticText", "label": "CoverInformation", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "CoverForeignConfig":{ "newLine": true, "type":"accordion", "titleAttr": "CoverName", "clone": true, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12, "items":[ { "type": "text", "attr": "CoverName", "label": "CoverNameText", "validator": "if(data.CoverName === ''){return false;}else{return true;}", "validatorNoSaveOnError": true, "default": "Cover Name", "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, { "type": "select", "attr": "CoverSeparate", "label": "CoverSeparate", "tooltip": "CoverSeparateTooltip", "options": [ {"label":"SeparateIds","value":"separate"}, {"label":"OneString","value":"string"}, {"label":"no command","value":"noCommand"} ], "default": "separate", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "select", "attr": "CoverDeviceClass", "label": "CoverDeviceClass", "tooltip": "CoverDeviceClassTooltip", "options": [ {"label": "Markise", "value": "awning"}, {"label": "Jalousie", "value": "blind"}, {"label": "Vorhang", "value": "curtain"}, {"label": "Lüftungsklappe","value": "damper"}, {"label": "Tür", "value": "door"}, {"label": "Garagentor", "value": "garage"}, {"label": "Hoftor", "value": "gate"}, {"label": "Rollo", "value": "shade"}, {"label": "Rollladen", "value": "shutter"}, {"label": "Fenster", "value": "window"} ], "default": "shutter", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "checkbox", "attr": "CoverStop", "label": "CoverStop", "tooltip": "CoverStopTooltip", "default": true, "hidden": "data.CoverSeparate !== 'separate'", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "objectId", "newLine": true, "attr": "CommandId", "label": "CommandText", "customFilter": {"common": { "type": [ "string", "mixed" ] } }, "hidden": "data.CoverSeparate !== 'string'", "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, { "type": "objectId", "newLine": true, "attr": "OpenId", "label": "CoverOpenText", "customFilter": {"common": { "type": [ "boolean", "mixed" ] } }, "hidden": "data.CoverSeparate !== 'separate'", "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, { "type": "objectId", "attr": "CloseId", "label": "CoverCloseText", "customFilter": {"common": { "type": [ "boolean", "mixed" ] } }, "hidden": "data.CoverSeparate !== 'separate'", "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, { "type": "objectId", "attr": "StopId", "label": "CoverStopText", "customFilter": {"common": { "type": [ "boolean", "mixed" ] } }, "hidden": "data.CoverSeparate !== 'separate' || data.CoverStop === false", "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, { "type": "checkbox", "attr": "CoverPosition", "label": "CoverPosition", "customFilter": {"common": { "type": [ "number", "mixed" ] } }, "tooltip": "CoverPositionTooltip", "newLine": true, "default": true, "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "staticText", "attr": "_staticTextPosition", "label": "", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "objectId", "attr": "PositionId", "label": "CoverPositionText", "customFilter": {"common": { "type": [ "number", "mixed" ] } }, "hidden": "data.CoverPosition === false", "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, { "type": "checkbox", "attr": "CoverTilt", "label": "CoverTilt", "tooltip": "CoverTiltTooltip", "newLine": true, "default": false, "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "staticText", "attr": "_staticTextTilt", "label": "", "xs": 12, "sm": 2, "md": 2, "lg": 2, "xl": 2 }, { "type": "objectId", "attr": "TiltId", "label": "CoverTiltText", "customFilter": {"common": { "type": [ "number", "mixed" ] } }, "hidden": "data.CoverTilt === false", "xs": 12, "sm": 4, "md": 4, "lg": 4, "xl": 4 }, { "type": "staticText", "attr": "_staticTextSignal", "label": "CoverSign